{"kind": "metric", "major": "18", "item": {"slug": "pg_stat_progress_vacuum-heap_blks_scanned", "name": "pg_stat_progress_vacuum.heap_blks_scanned", "name_zh": "", "category": "pg_stat_progress_vacuum", "summary": "Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap.", "aliases": ["heap_blks_scanned", "pg_stat_progress_vacuum"], "content_hash": "4dc2558b3a11ea1b003519ced3474de638ab7e9192c08c81b02dff662d373f30", "versions": {"10": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=10", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/10/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "10.23", "major": "10", "channel": "stable", "revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "sources": [{"url": "/docs/10/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 10 English manual", "sha256": "95d8310c37ef5970ea488b0d13a0f54fe7a64d4b273048a124420d003b0adeff"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress reporting is not currently supported for VACUUM FULL and backends running VACUUM FULL will not be listed in this view."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/10/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}, "11": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=11", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/11/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "11.22", "major": "11", "channel": "stable", "revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "sources": [{"url": "/docs/11/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 11 English manual", "sha256": "a2ef700ad68e081d159a19c0955a48e3fd7f8f5ab79717b74ae1bde73818374a"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress reporting is not currently supported for VACUUM FULL and backends running VACUUM FULL will not be listed in this view."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/11/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}, "12": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=12", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/12/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "12.22", "major": "12", "channel": "stable", "revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "sources": [{"url": "/docs/12/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 12 English manual", "sha256": "b5ba3cd7953df1c2ede6a2640eae45ffa0edc7f8e35d5f682bb65b46bd22c8fa"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 27.4.3."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/12/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}, "13": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=13", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/13/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "13.23", "major": "13", "channel": "stable", "revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "sources": [{"url": "/docs/13/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 13 English manual", "sha256": "1b5b17cbaf6a5e83cf5460db9d56a8fb88fabbfca57f7b5aa810e6bf9bba83a7"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 27.4.4."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/13/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}, "14": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=14", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/14/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "14.24", "major": "14", "channel": "stable", "revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "sources": [{"url": "/docs/14/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 14 English manual", "sha256": "00410a8905d1f88736ab079620059c9f9e334c1b159b4d9a739042d994f851ce"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 28.4.4."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/14/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}, "15": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=15", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/15/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "15.19", "major": "15", "channel": "stable", "revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "sources": [{"url": "/docs/15/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 15 English manual", "sha256": "97422d3113978e145d4a71fa1daf467b8dbd573372a88dfb1a767be0b96105fa"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 28.4.4."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/15/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}, "16": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=16", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/16/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "16.15", "major": "16", "channel": "stable", "revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "sources": [{"url": "/docs/16/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 16 English manual", "sha256": "2b460ce06a91510e6d57a1e5d51b3ffdb65426fb38d30b0ff2774af6da50cf68"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 28.4.2."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/16/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}, "17": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=17", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/17/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "17.11", "major": "17", "channel": "stable", "revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "sources": [{"url": "/docs/17/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 17 English manual", "sha256": "94edb2f133e511fb3bac06d21e8b55f1519df3d59536746d67de3768c94df607"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 27.4.2."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/17/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}, "18": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=18", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/18/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 18 English manual", "sha256": "a1f46d2b670502bfe75f1cf5192050ef2ef68202a8f928c4915abea0f4f71ae6"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 27.4.2."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/18/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}, "19": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=19", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/19/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "19beta4", "major": "19", "channel": "preview", "revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}, "sources": [{"url": "/docs/19/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 19 English manual", "sha256": "911eea089109c945679f9ac5c21a3b1b7c9186237acec4639f23861e931e24cc"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_repack, and is also visible via the backwards-compatibility pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 27.4.5 and Section 27.4.2."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/19/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}, "20": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=20", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/devel/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}, "sources": [{"url": "/docs/devel/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 20 English manual", "sha256": "a692c859d24d77ff71231c72596243a279325b5436ece3dad58945b55688646e"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_repack, and is also visible via the backwards-compatibility pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 27.4.5 and Section 27.4.2."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/devel/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}}}, "snapshot": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "heap_blks_scanned"}, {"label": "SQL type", "value": "bigint"}, {"label": "Units named in the field definition", "value": "blocks"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "heap_blks_scanned", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=18", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/18/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 18 English manual", "sha256": "a1f46d2b670502bfe75f1cf5192050ef2ef68202a8f928c4915abea0f4f71ae6"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 27.4.2."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "bigint", "signature": "SELECT heap_blks_scanned FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["Number of heap blocks scanned. Because the visibility map is used to optimize scans, some blocks will be skipped without inspection; skipped blocks are included in this total, so that this number will eventually become equal to heap_blks_total when the vacuum is complete. This counter only advances when the phase is scanning heap."], "manual_html": "", "manual_path": "/docs/18/progress-reporting.html", "source_only": false, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_scanned", "sql_type": "bigint", "units_mentioned": ["blocks"]}, "comparison_hash": "55ebf3eb71701700d4a2fcb1d1cc7ca0efebd7fe0ab3470f44f04a037a4eb1a4", "units_mentioned": ["blocks"]}, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}