{"kind": "metric", "major": "18", "item": {"slug": "pg_stat_progress_vacuum-heap_blks_vacuumed", "name": "pg_stat_progress_vacuum.heap_blks_vacuumed", "name_zh": "", "category": "pg_stat_progress_vacuum", "summary": "\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002", "aliases": ["heap_blks_vacuumed", "pg_stat_progress_vacuum"], "content_hash": "7fd0cf769596161543b306245f1ca94c1e94f185c286507e194a6abc2d6fb852", "versions": {"10": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=10", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/10/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "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": "https://pg.center/docs/10/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 10 English manual", "sha256": "95d8310c37ef5970ea488b0d13a0f54fe7a64d4b273048a124420d003b0adeff", "language": "en", "original_url": "/docs/10/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u53ea\u8981 VACUUM \u6b63\u5728\u8fd0\u884c\uff0c pg_stat_progress_vacuum \u89c6\u56fe\u5c31\u4f1a\u4e3a\u6bcf\u4e2a\u5f53\u524d\u6b63\u5728\u6e05\u7406\u7684\u540e\u7aef\uff08\u5305\u62ec\u81ea\u52a8\u6e05\u7406\u5de5\u4f5c\u8fdb\u7a0b\uff09\u5305\u542b\u4e00\u884c\u3002\u4e0b\u8868\u63cf\u8ff0\u4e86\u5c06\u62a5\u544a\u7684\u4fe1\u606f\uff0c\u5e76\u8bf4\u660e\u5982\u4f55\u89e3\u91ca\u8fd9\u4e9b\u4fe1\u606f\u3002\u76ee\u524d\u4e0d\u652f\u6301\u62a5\u544a VACUUM FULL \u7684\u8fdb\u5ea6\uff0c\u8fd0\u884c VACUUM FULL \u7684\u540e\u7aef\u4e0d\u4f1a\u5217\u5728\u6b64\u89c6\u56fe\u4e2d\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/10/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [{"url": "/docs/10/progress-reporting.html", "method": "same-major semantic node", "sha256": "6528ab3b706bf8c34b4626f2c9911301ea09e4b4c103eea21d0aef46aba47b4a", "language": "zh", "matched_nodes": ["#PROGRESS-REPORTING/div[3]/p[1]"]}], "language": "zh", "original_text": {"/versions/10/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/10/facts/0/label": "View", "/versions/10/facts/1/label": "Field", "/versions/10/facts/2/label": "SQL type", "/versions/10/facts/3/label": "Units named in the field definition", "/versions/10/facts/4/label": "Reset observation", "/versions/10/facts/4/value": "No stats_reset field is documented for this view", "/versions/10/related/0/label": "pg_stat_progress_vacuum columns", "/versions/10/related/1/label": "Statistics collection and reset functions", "/versions/10/sections/0/title": "View semantics", "/versions/10/sections/1/title": "Collection and reset context", "/versions/10/sections/2/title": "Inspect this field", "/versions/10/sections/0/paragraphs/0": "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.", "/versions/10/sections/1/paragraphs/0": "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.", "/versions/10/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "c9e3947de81aa377106f63287913367cf09c1db24e019da68e616e7357c9dc5a"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "11": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=11", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/11/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "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": "https://pg.center/docs/11/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 11 English manual", "sha256": "a2ef700ad68e081d159a19c0955a48e3fd7f8f5ab79717b74ae1bde73818374a", "language": "en", "original_url": "/docs/11/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u53ea\u8981 VACUUM \u6b63\u5728\u8fd0\u884c\uff0c pg_stat_progress_vacuum \u89c6\u56fe\u5c31\u4f1a\u4e3a\u6bcf\u4e2a\u5f53\u524d\u6b63\u5728\u6e05\u7406\u7684\u540e\u7aef\uff08\u5305\u62ec\u81ea\u52a8\u6e05\u7406\u5de5\u4f5c\u8fdb\u7a0b\uff09\u5305\u542b\u4e00\u884c\u3002\u4e0b\u8868\u63cf\u8ff0\u4e86\u5c06\u62a5\u544a\u7684\u4fe1\u606f\uff0c\u5e76\u8bf4\u660e\u5982\u4f55\u89e3\u91ca\u8fd9\u4e9b\u4fe1\u606f\u3002\u76ee\u524d\u4e0d\u652f\u6301\u62a5\u544a VACUUM FULL \u7684\u8fdb\u5ea6\uff0c\u8fd0\u884c VACUUM FULL \u7684\u540e\u7aef\u4e0d\u4f1a\u5217\u5728\u6b64\u89c6\u56fe\u4e2d\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/11/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [{"url": "/docs/11/progress-reporting.html", "method": "same-major semantic node", "sha256": "c64ae9ee06e83eeaccdbcf6592bddafc032343aeca98c944dc550e9d1c147817", "language": "zh", "matched_nodes": ["#PROGRESS-REPORTING/div[3]/p[1]"]}], "language": "zh", "original_text": {"/versions/11/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/11/facts/0/label": "View", "/versions/11/facts/1/label": "Field", "/versions/11/facts/2/label": "SQL type", "/versions/11/facts/3/label": "Units named in the field definition", "/versions/11/facts/4/label": "Reset observation", "/versions/11/facts/4/value": "No stats_reset field is documented for this view", "/versions/11/related/0/label": "pg_stat_progress_vacuum columns", "/versions/11/related/1/label": "Statistics collection and reset functions", "/versions/11/sections/0/title": "View semantics", "/versions/11/sections/1/title": "Collection and reset context", "/versions/11/sections/2/title": "Inspect this field", "/versions/11/sections/0/paragraphs/0": "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.", "/versions/11/sections/1/paragraphs/0": "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.", "/versions/11/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "73a2c05f611d59e4c352d99e0897e70892be37ca4beeeea38bc4e7535b3c064c"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "12": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=12", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/12/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "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": "https://pg.center/docs/12/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 12 English manual", "sha256": "b5ba3cd7953df1c2ede6a2640eae45ffa0edc7f8e35d5f682bb65b46bd22c8fa", "language": "en", "original_url": "/docs/12/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u8fd0\u884c VACUUM \u65f6\uff0cpg_stat_progress_vacuum \u89c6\u56fe\u4f1a\u4e3a\u5f53\u524d\u6267\u884c\u6e05\u7406\u7684\u6bcf\u4e2a\u540e\u7aef\uff08\u5305\u62ec autovacuum \u5de5\u4f5c\u8fdb\u7a0b\uff09\u63d0\u4f9b\u4e00\u884c\u3002\u4e0b\u5217\u8868\u683c\u8bf4\u660e\u6240\u62a5\u544a\u7684\u4fe1\u606f\u53ca\u5176\u89e3\u8bfb\u65b9\u5f0f\u3002VACUUM FULL \u7684\u8fdb\u5ea6\u901a\u8fc7 pg_stat_progress_cluster \u62a5\u544a\uff0c\u56e0\u4e3a VACUUM FULL \u548c CLUSTER \u90fd\u4f1a\u91cd\u5199\u8868\uff0c\u800c\u666e\u901a VACUUM \u53ea\u8fdb\u884c\u539f\u5730\u4fee\u6539\u3002\u89c1\u7b2c 27.4.3 \u8282\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/12/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/versions/12/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/12/facts/0/label": "View", "/versions/12/facts/1/label": "Field", "/versions/12/facts/2/label": "SQL type", "/versions/12/facts/3/label": "Units named in the field definition", "/versions/12/facts/4/label": "Reset observation", "/versions/12/facts/4/value": "No stats_reset field is documented for this view", "/versions/12/related/0/label": "pg_stat_progress_vacuum columns", "/versions/12/related/1/label": "Statistics collection and reset functions", "/versions/12/sections/0/title": "View semantics", "/versions/12/sections/1/title": "Collection and reset context", "/versions/12/sections/2/title": "Inspect this field", "/versions/12/sections/0/paragraphs/0": "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.", "/versions/12/sections/1/paragraphs/0": "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.", "/versions/12/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "6c820350cb4fb6bd1f4c99f79a2b180be8b8ab4dac95bc0833fd856d905410aa"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "13": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=13", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/13/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "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": "https://pg.center/docs/13/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 13 English manual", "sha256": "1b5b17cbaf6a5e83cf5460db9d56a8fb88fabbfca57f7b5aa810e6bf9bba83a7", "language": "en", "original_url": "/docs/13/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u8fd0\u884c VACUUM \u65f6\uff0cpg_stat_progress_vacuum \u89c6\u56fe\u4f1a\u4e3a\u5f53\u524d\u6267\u884c\u6e05\u7406\u7684\u6bcf\u4e2a\u540e\u7aef\uff08\u5305\u62ec autovacuum \u5de5\u4f5c\u8fdb\u7a0b\uff09\u63d0\u4f9b\u4e00\u884c\u3002\u4e0b\u5217\u8868\u683c\u8bf4\u660e\u6240\u62a5\u544a\u7684\u4fe1\u606f\u53ca\u5176\u89e3\u8bfb\u65b9\u5f0f\u3002VACUUM FULL \u7684\u8fdb\u5ea6\u901a\u8fc7 pg_stat_progress_cluster \u62a5\u544a\uff0c\u56e0\u4e3a VACUUM FULL \u548c CLUSTER \u90fd\u4f1a\u91cd\u5199\u8868\uff0c\u800c\u666e\u901a VACUUM \u53ea\u8fdb\u884c\u539f\u5730\u4fee\u6539\u3002\u89c1\u7b2c 27.4.4 \u8282\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/13/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/versions/13/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/13/facts/0/label": "View", "/versions/13/facts/1/label": "Field", "/versions/13/facts/2/label": "SQL type", "/versions/13/facts/3/label": "Units named in the field definition", "/versions/13/facts/4/label": "Reset observation", "/versions/13/facts/4/value": "No stats_reset field is documented for this view", "/versions/13/related/0/label": "pg_stat_progress_vacuum columns", "/versions/13/related/1/label": "Statistics collection and reset functions", "/versions/13/sections/0/title": "View semantics", "/versions/13/sections/1/title": "Collection and reset context", "/versions/13/sections/2/title": "Inspect this field", "/versions/13/sections/0/paragraphs/0": "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.", "/versions/13/sections/1/paragraphs/0": "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.", "/versions/13/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "ea7834982132e04e7c317b1d7bde53c791338870f042d85dc0105005ed721c35"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "14": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=14", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/14/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "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": "https://pg.center/docs/14/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 14 English manual", "sha256": "00410a8905d1f88736ab079620059c9f9e334c1b159b4d9a739042d994f851ce", "language": "en", "original_url": "/docs/14/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u8fd0\u884c VACUUM \u65f6\uff0cpg_stat_progress_vacuum \u89c6\u56fe\u4f1a\u4e3a\u5f53\u524d\u6267\u884c\u6e05\u7406\u7684\u6bcf\u4e2a\u540e\u7aef\uff08\u5305\u62ec autovacuum \u5de5\u4f5c\u8fdb\u7a0b\uff09\u63d0\u4f9b\u4e00\u884c\u3002\u4e0b\u5217\u8868\u683c\u8bf4\u660e\u6240\u62a5\u544a\u7684\u4fe1\u606f\u53ca\u5176\u89e3\u8bfb\u65b9\u5f0f\u3002VACUUM FULL \u7684\u8fdb\u5ea6\u901a\u8fc7 pg_stat_progress_cluster \u62a5\u544a\uff0c\u56e0\u4e3a VACUUM FULL \u548c CLUSTER \u90fd\u4f1a\u91cd\u5199\u8868\uff0c\u800c\u666e\u901a VACUUM \u53ea\u8fdb\u884c\u539f\u5730\u4fee\u6539\u3002\u89c1\u7b2c 28.4.4 \u8282\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/14/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/versions/14/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/14/facts/0/label": "View", "/versions/14/facts/1/label": "Field", "/versions/14/facts/2/label": "SQL type", "/versions/14/facts/3/label": "Units named in the field definition", "/versions/14/facts/4/label": "Reset observation", "/versions/14/facts/4/value": "No stats_reset field is documented for this view", "/versions/14/related/0/label": "pg_stat_progress_vacuum columns", "/versions/14/related/1/label": "Statistics collection and reset functions", "/versions/14/sections/0/title": "View semantics", "/versions/14/sections/1/title": "Collection and reset context", "/versions/14/sections/2/title": "Inspect this field", "/versions/14/sections/0/paragraphs/0": "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.", "/versions/14/sections/1/paragraphs/0": "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.", "/versions/14/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "fd0a1ec1b04e2b404aa1c344a8dee9db9d88f6cdad641179a5e84857191d3f60"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "15": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=15", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/15/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "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": "https://pg.center/docs/15/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 15 English manual", "sha256": "97422d3113978e145d4a71fa1daf467b8dbd573372a88dfb1a767be0b96105fa", "language": "en", "original_url": "/docs/15/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u8fd0\u884c VACUUM \u65f6\uff0cpg_stat_progress_vacuum \u89c6\u56fe\u4f1a\u4e3a\u5f53\u524d\u6267\u884c\u6e05\u7406\u7684\u6bcf\u4e2a\u540e\u7aef\uff08\u5305\u62ec autovacuum \u5de5\u4f5c\u8fdb\u7a0b\uff09\u63d0\u4f9b\u4e00\u884c\u3002\u4e0b\u5217\u8868\u683c\u8bf4\u660e\u6240\u62a5\u544a\u7684\u4fe1\u606f\u53ca\u5176\u89e3\u8bfb\u65b9\u5f0f\u3002VACUUM FULL \u7684\u8fdb\u5ea6\u901a\u8fc7 pg_stat_progress_cluster \u62a5\u544a\uff0c\u56e0\u4e3a VACUUM FULL \u548c CLUSTER \u90fd\u4f1a\u91cd\u5199\u8868\uff0c\u800c\u666e\u901a VACUUM \u53ea\u8fdb\u884c\u539f\u5730\u4fee\u6539\u3002\u89c1\u7b2c 28.4.4 \u8282\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/15/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/versions/15/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/15/facts/0/label": "View", "/versions/15/facts/1/label": "Field", "/versions/15/facts/2/label": "SQL type", "/versions/15/facts/3/label": "Units named in the field definition", "/versions/15/facts/4/label": "Reset observation", "/versions/15/facts/4/value": "No stats_reset field is documented for this view", "/versions/15/related/0/label": "pg_stat_progress_vacuum columns", "/versions/15/related/1/label": "Statistics collection and reset functions", "/versions/15/sections/0/title": "View semantics", "/versions/15/sections/1/title": "Collection and reset context", "/versions/15/sections/2/title": "Inspect this field", "/versions/15/sections/0/paragraphs/0": "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.", "/versions/15/sections/1/paragraphs/0": "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.", "/versions/15/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "1eed3a589cea8729cc23fb7298ba871e54e76dd288b00a086b546c4b8ef909c7"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "16": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=16", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/16/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "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": "https://pg.center/docs/16/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 16 English manual", "sha256": "2b460ce06a91510e6d57a1e5d51b3ffdb65426fb38d30b0ff2774af6da50cf68", "language": "en", "original_url": "/docs/16/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u8fd0\u884c VACUUM \u65f6\uff0cpg_stat_progress_vacuum \u89c6\u56fe\u4f1a\u4e3a\u5f53\u524d\u6267\u884c\u6e05\u7406\u7684\u6bcf\u4e2a\u540e\u7aef\uff08\u5305\u62ec autovacuum \u5de5\u4f5c\u8fdb\u7a0b\uff09\u63d0\u4f9b\u4e00\u884c\u3002\u4e0b\u5217\u8868\u683c\u8bf4\u660e\u6240\u62a5\u544a\u7684\u4fe1\u606f\u53ca\u5176\u89e3\u8bfb\u65b9\u5f0f\u3002VACUUM FULL \u7684\u8fdb\u5ea6\u901a\u8fc7 pg_stat_progress_cluster \u62a5\u544a\uff0c\u56e0\u4e3a VACUUM FULL \u548c CLUSTER \u90fd\u4f1a\u91cd\u5199\u8868\uff0c\u800c\u666e\u901a VACUUM \u53ea\u8fdb\u884c\u539f\u5730\u4fee\u6539\u3002\u89c1\u7b2c 28.4.2 \u8282\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/16/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/versions/16/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/16/facts/0/label": "View", "/versions/16/facts/1/label": "Field", "/versions/16/facts/2/label": "SQL type", "/versions/16/facts/3/label": "Units named in the field definition", "/versions/16/facts/4/label": "Reset observation", "/versions/16/facts/4/value": "No stats_reset field is documented for this view", "/versions/16/related/0/label": "pg_stat_progress_vacuum columns", "/versions/16/related/1/label": "Statistics collection and reset functions", "/versions/16/sections/0/title": "View semantics", "/versions/16/sections/1/title": "Collection and reset context", "/versions/16/sections/2/title": "Inspect this field", "/versions/16/sections/0/paragraphs/0": "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.", "/versions/16/sections/1/paragraphs/0": "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.", "/versions/16/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "d5083d987b54b35278e33363b616e94b5db63aba5dc5bc3988840d504c988903"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "17": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=17", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/17/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "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": "https://pg.center/docs/17/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 17 English manual", "sha256": "94edb2f133e511fb3bac06d21e8b55f1519df3d59536746d67de3768c94df607", "language": "en", "original_url": "/docs/17/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u8fd0\u884c VACUUM \u65f6\uff0cpg_stat_progress_vacuum \u89c6\u56fe\u4f1a\u4e3a\u5f53\u524d\u6267\u884c\u6e05\u7406\u7684\u6bcf\u4e2a\u540e\u7aef\uff08\u5305\u62ec autovacuum \u5de5\u4f5c\u8fdb\u7a0b\uff09\u63d0\u4f9b\u4e00\u884c\u3002\u4e0b\u5217\u8868\u683c\u8bf4\u660e\u6240\u62a5\u544a\u7684\u4fe1\u606f\u53ca\u5176\u89e3\u8bfb\u65b9\u5f0f\u3002VACUUM FULL \u7684\u8fdb\u5ea6\u901a\u8fc7 pg_stat_progress_cluster \u62a5\u544a\uff0c\u56e0\u4e3a VACUUM FULL \u548c CLUSTER \u90fd\u4f1a\u91cd\u5199\u8868\uff0c\u800c\u666e\u901a VACUUM \u53ea\u8fdb\u884c\u539f\u5730\u4fee\u6539\u3002\u89c1\u7b2c 27.4.2 \u8282\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/17/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/versions/17/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/17/facts/0/label": "View", "/versions/17/facts/1/label": "Field", "/versions/17/facts/2/label": "SQL type", "/versions/17/facts/3/label": "Units named in the field definition", "/versions/17/facts/4/label": "Reset observation", "/versions/17/facts/4/value": "No stats_reset field is documented for this view", "/versions/17/related/0/label": "pg_stat_progress_vacuum columns", "/versions/17/related/1/label": "Statistics collection and reset functions", "/versions/17/sections/0/title": "View semantics", "/versions/17/sections/1/title": "Collection and reset context", "/versions/17/sections/2/title": "Inspect this field", "/versions/17/sections/0/paragraphs/0": "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.", "/versions/17/sections/1/paragraphs/0": "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.", "/versions/17/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "bd8b65f04a087fe284b27343aea60c19d0d5b19689539b9c5ab8cc704bf5a084"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "18": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=18", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/18/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "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": "https://pg.center/docs/18/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 18 English manual", "sha256": "a1f46d2b670502bfe75f1cf5192050ef2ef68202a8f928c4915abea0f4f71ae6", "language": "en", "original_url": "/docs/18/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u8fd0\u884c VACUUM \u65f6\uff0cpg_stat_progress_vacuum \u89c6\u56fe\u4f1a\u4e3a\u5f53\u524d\u6267\u884c\u6e05\u7406\u7684\u6bcf\u4e2a\u540e\u7aef\uff08\u5305\u62ec autovacuum \u5de5\u4f5c\u8fdb\u7a0b\uff09\u63d0\u4f9b\u4e00\u884c\u3002\u4e0b\u5217\u8868\u683c\u8bf4\u660e\u6240\u62a5\u544a\u7684\u4fe1\u606f\u53ca\u5176\u89e3\u8bfb\u65b9\u5f0f\u3002VACUUM FULL \u7684\u8fdb\u5ea6\u901a\u8fc7 pg_stat_progress_cluster \u62a5\u544a\uff0c\u56e0\u4e3a VACUUM FULL \u548c CLUSTER \u90fd\u4f1a\u91cd\u5199\u8868\uff0c\u800c\u666e\u901a VACUUM \u53ea\u8fdb\u884c\u539f\u5730\u4fee\u6539\u3002\u89c1\u7b2c 27.4.2 \u8282\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/18/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/versions/18/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/18/facts/0/label": "View", "/versions/18/facts/1/label": "Field", "/versions/18/facts/2/label": "SQL type", "/versions/18/facts/3/label": "Units named in the field definition", "/versions/18/facts/4/label": "Reset observation", "/versions/18/facts/4/value": "No stats_reset field is documented for this view", "/versions/18/related/0/label": "pg_stat_progress_vacuum columns", "/versions/18/related/1/label": "Statistics collection and reset functions", "/versions/18/sections/0/title": "View semantics", "/versions/18/sections/1/title": "Collection and reset context", "/versions/18/sections/2/title": "Inspect this field", "/versions/18/sections/0/paragraphs/0": "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.", "/versions/18/sections/1/paragraphs/0": "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.", "/versions/18/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "c04c50135991b3441d6713fda865ea0e47071926ce8970a281130cdd302a42e3"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "19": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=19", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/19/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "19beta4", "major": "19", "channel": "preview", "revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}, "sources": [{"url": "https://pg.center/docs/19/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 19 English manual", "sha256": "911eea089109c945679f9ac5c21a3b1b7c9186237acec4639f23861e931e24cc", "language": "en", "original_url": "/docs/19/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u8fd0\u884c VACUUM \u65f6\uff0cpg_stat_progress_vacuum \u89c6\u56fe\u4f1a\u4e3a\u5f53\u524d\u6267\u884c\u6e05\u7406\u7684\u6bcf\u4e2a\u540e\u7aef\uff08\u5305\u62ec autovacuum \u5de5\u4f5c\u8fdb\u7a0b\uff09\u63d0\u4f9b\u4e00\u884c\u3002\u4e0b\u5217\u8868\u683c\u8bf4\u660e\u6240\u62a5\u544a\u7684\u4fe1\u606f\u53ca\u5176\u89e3\u8bfb\u65b9\u5f0f\u3002VACUUM FULL \u7684\u8fdb\u5ea6\u901a\u8fc7 pg_stat_progress_repack \u62a5\u544a\uff0c\u4e5f\u53ef\u901a\u8fc7\u4e3a\u5411\u540e\u517c\u5bb9\u4fdd\u7559\u7684 pg_stat_progress_cluster \u67e5\u770b\uff1b\u8fd9\u662f\u56e0\u4e3a VACUUM FULL \u548c CLUSTER \u90fd\u4f1a\u91cd\u5199\u8868\uff0c\u800c\u666e\u901a VACUUM \u53ea\u8fdb\u884c\u539f\u5730\u4fee\u6539\u3002\u89c1\u7b2c 27.4.5 \u8282\u548c\u7b2c 27.4.2 \u8282\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/19/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/versions/19/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/19/facts/0/label": "View", "/versions/19/facts/1/label": "Field", "/versions/19/facts/2/label": "SQL type", "/versions/19/facts/3/label": "Units named in the field definition", "/versions/19/facts/4/label": "Reset observation", "/versions/19/facts/4/value": "No stats_reset field is documented for this view", "/versions/19/related/0/label": "pg_stat_progress_vacuum columns", "/versions/19/related/1/label": "Statistics collection and reset functions", "/versions/19/sections/0/title": "View semantics", "/versions/19/sections/1/title": "Collection and reset context", "/versions/19/sections/2/title": "Inspect this field", "/versions/19/sections/0/paragraphs/0": "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.", "/versions/19/sections/1/paragraphs/0": "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.", "/versions/19/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "678883c42a92afad1fa966866c4d8b9719369c06f72433e45ca5c6fb98757fe6"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "20": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=20", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/devel/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}, "sources": [{"url": "https://pg.center/docs/devel/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 20 English manual", "sha256": "a692c859d24d77ff71231c72596243a279325b5436ece3dad58945b55688646e", "language": "en", "original_url": "/docs/devel/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u8fd0\u884c VACUUM \u65f6\uff0cpg_stat_progress_vacuum \u89c6\u56fe\u4f1a\u4e3a\u5f53\u524d\u6267\u884c\u6e05\u7406\u7684\u6bcf\u4e2a\u540e\u7aef\uff08\u5305\u62ec autovacuum \u5de5\u4f5c\u8fdb\u7a0b\uff09\u63d0\u4f9b\u4e00\u884c\u3002\u4e0b\u5217\u8868\u683c\u8bf4\u660e\u6240\u62a5\u544a\u7684\u4fe1\u606f\u53ca\u5176\u89e3\u8bfb\u65b9\u5f0f\u3002VACUUM FULL \u7684\u8fdb\u5ea6\u901a\u8fc7 pg_stat_progress_repack \u62a5\u544a\uff0c\u4e5f\u53ef\u901a\u8fc7\u4e3a\u5411\u540e\u517c\u5bb9\u4fdd\u7559\u7684 pg_stat_progress_cluster \u67e5\u770b\uff1b\u8fd9\u662f\u56e0\u4e3a VACUUM FULL \u548c CLUSTER \u90fd\u4f1a\u91cd\u5199\u8868\uff0c\u800c\u666e\u901a VACUUM \u53ea\u8fdb\u884c\u539f\u5730\u4fee\u6539\u3002\u89c1\u7b2c 27.4.5 \u8282\u548c\u7b2c 27.4.2 \u8282\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/devel/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/summary": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/20/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/20/facts/0/label": "View", "/versions/20/facts/1/label": "Field", "/versions/20/facts/2/label": "SQL type", "/versions/20/facts/3/label": "Units named in the field definition", "/versions/20/facts/4/label": "Reset observation", "/versions/20/facts/4/value": "No stats_reset field is documented for this view", "/versions/20/related/0/label": "pg_stat_progress_vacuum columns", "/versions/20/related/1/label": "Statistics collection and reset functions", "/versions/20/sections/0/title": "View semantics", "/versions/20/sections/1/title": "Collection and reset context", "/versions/20/sections/2/title": "Inspect this field", "/versions/20/sections/0/paragraphs/0": "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.", "/versions/20/sections/1/paragraphs/0": "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.", "/versions/20/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "e05823db50eb42772ee2202e846f9eb067edd03bfb32d1804a80260661c73eb9"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}}}, "snapshot": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "heap_blks_vacuumed"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "blocks, Blocks, tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "heap_blks_vacuumed", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=18", "label": "pg_stat_progress_vacuum \u5b57\u6bb5"}, {"url": "/docs/18/monitoring-stats.html", "label": "\u7edf\u8ba1\u6536\u96c6\u4e0e\u91cd\u7f6e\u51fd\u6570"}], "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": "https://pg.center/docs/18/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 18 English manual", "sha256": "a1f46d2b670502bfe75f1cf5192050ef2ef68202a8f928c4915abea0f4f71ae6", "language": "en", "original_url": "/docs/18/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW"}], "sections": [{"title": "\u89c6\u56fe\u8bed\u4e49", "paragraphs": ["\u8fd0\u884c VACUUM \u65f6\uff0cpg_stat_progress_vacuum \u89c6\u56fe\u4f1a\u4e3a\u5f53\u524d\u6267\u884c\u6e05\u7406\u7684\u6bcf\u4e2a\u540e\u7aef\uff08\u5305\u62ec autovacuum \u5de5\u4f5c\u8fdb\u7a0b\uff09\u63d0\u4f9b\u4e00\u884c\u3002\u4e0b\u5217\u8868\u683c\u8bf4\u660e\u6240\u62a5\u544a\u7684\u4fe1\u606f\u53ca\u5176\u89e3\u8bfb\u65b9\u5f0f\u3002VACUUM FULL \u7684\u8fdb\u5ea6\u901a\u8fc7 pg_stat_progress_cluster \u62a5\u544a\uff0c\u56e0\u4e3a VACUUM FULL \u548c CLUSTER \u90fd\u4f1a\u91cd\u5199\u8868\uff0c\u800c\u666e\u901a VACUUM \u53ea\u8fdb\u884c\u539f\u5730\u4fee\u6539\u3002\u89c1\u7b2c 27.4.2 \u8282\u3002"]}, {"title": "\u91c7\u96c6\u4e0e\u91cd\u7f6e\u8bed\u4e49", "paragraphs": ["\u91cd\u7f6e\u8303\u56f4\u548c\u53ef\u89c1\u6027\u8bf7\u53c2\u9605\u4e0b\u65b9\u540c\u7248\u672c\u7684\u7edf\u8ba1\u4fe1\u606f\u6536\u96c6\u4e0e\u89c6\u56fe\u6587\u6863\u3002\u4e0d\u6839\u636e\u5b57\u6bb5\u540d\u79f0\u63a8\u65ad\u5404\u5b57\u6bb5\u7684\u91cd\u7f6e\u89c4\u5219\u3002"]}, {"code": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "title": "\u67e5\u770b\u6b64\u5b57\u6bb5", "paragraphs": ["\u793a\u4f8b\u67e5\u8be2\uff1b\u4e0d\u8868\u793a\u5df2\u6267\u884c\uff0c\u4e5f\u4e0d\u63d0\u4f9b\u5b9e\u6d4b\u503c\u3002"]}], "sql_type": "bigint", "signature": "SELECT heap_blks_vacuumed FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u5df2\u6e05\u7406\u7684\u5806\u5757\u6570\u91cf\u3002\u9664\u975e\u8868\u6ca1\u6709\u7d22\u5f15\uff0c\u5426\u5219\u6b64\u8ba1\u6570\u5668\u4ec5\u5728 vacuuming heap \u9636\u6bb5\u589e\u957f\u3002\u4e0d\u542b\u6b7b\u5143\u7ec4\u7684\u5757\u4f1a\u88ab\u8df3\u8fc7\uff0c\u56e0\u6b64\u6b64\u8ba1\u6570\u5668\u6709\u65f6\u4f1a\u4e00\u6b21\u589e\u52a0\u5f88\u5927\u7684\u6570\u503c\u3002"], "manual_html": "", "manual_path": "/docs/18/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/versions/18/description/0": "Number of heap blocks vacuumed. Unless the table has no indexes, this counter only advances when the phase is vacuuming heap. Blocks that contain no dead tuples are skipped, so the counter may sometimes skip forward in large increments.", "/versions/18/facts/0/label": "View", "/versions/18/facts/1/label": "Field", "/versions/18/facts/2/label": "SQL type", "/versions/18/facts/3/label": "Units named in the field definition", "/versions/18/facts/4/label": "Reset observation", "/versions/18/facts/4/value": "No stats_reset field is documented for this view", "/versions/18/related/0/label": "pg_stat_progress_vacuum columns", "/versions/18/related/1/label": "Statistics collection and reset functions", "/versions/18/sections/0/title": "View semantics", "/versions/18/sections/1/title": "Collection and reset context", "/versions/18/sections/2/title": "Inspect this field", "/versions/18/sections/0/paragraphs/0": "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.", "/versions/18/sections/1/paragraphs/0": "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.", "/versions/18/sections/2/paragraphs/0": "Example query; no execution result or measured value is asserted."}, "fallback_fields": [], "source_language": "en", "original_snapshot_sha256": "c04c50135991b3441d6713fda865ea0e47071926ce8970a281130cdd302a42e3"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "heap_blks_vacuumed", "sql_type": "bigint", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison_hash": "6c11652ff925da082c7856d561b60f66c58e0ff29b7d4a0007786662ec995670", "units_mentioned": ["blocks", "Blocks", "tuples"]}, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}