{"kind": "metric", "major": "18", "item": {"slug": "pg_stat_progress_vacuum-max_dead_tuples", "name": "pg_stat_progress_vacuum.max_dead_tuples", "name_zh": "", "category": "pg_stat_progress_vacuum", "summary": "\u6240\u9009\u7248\u672c\u672a\u6536\u5f55\u6b64\u6761\u76ee\u3002", "aliases": ["max_dead_tuples", "pg_stat_progress_vacuum"], "content_hash": "fa02bc767b8e1b03f1eaee473943a19dd7fe74a39a609ccc7f79049b6d17f94f", "versions": {"10": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "max_dead_tuples"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "max_dead_tuples", "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 max_dead_tuples 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 max_dead_tuples FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u6267\u884c\u4e00\u8f6e\u7d22\u5f15\u6e05\u7406\u4e4b\u524d\u53ef\u5b58\u50a8\u7684\u6b7b\u5143\u7ec4\u6570\u91cf\uff0c\u53d6\u51b3\u4e8e maintenance_work_mem\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 dead tuples that we can store before needing to perform an index vacuum cycle, based on maintenance_work_mem.", "/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": "d39d49ac5c55529c6ea06981a4fd7800cf7e9f5c29f57d79c168fabb90385071"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "max_dead_tuples", "sql_type": "bigint", "units_mentioned": ["tuples"]}, "comparison_hash": "e497e3573f229d875efb6dc274fb5c04e1e82ec98998c505e0425c5ed61606c8", "units_mentioned": ["tuples"]}, "11": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "max_dead_tuples"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "max_dead_tuples", "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 max_dead_tuples 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 max_dead_tuples FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u6267\u884c\u4e00\u8f6e\u7d22\u5f15\u6e05\u7406\u4e4b\u524d\u53ef\u5b58\u50a8\u7684\u6b7b\u5143\u7ec4\u6570\u91cf\uff0c\u53d6\u51b3\u4e8e maintenance_work_mem\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 dead tuples that we can store before needing to perform an index vacuum cycle, based on maintenance_work_mem.", "/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": "d7ec0a43c62aac5cb25e2697411fe0bdc1293e13af138698b60f9c85d4daddfb"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "max_dead_tuples", "sql_type": "bigint", "units_mentioned": ["tuples"]}, "comparison_hash": "e497e3573f229d875efb6dc274fb5c04e1e82ec98998c505e0425c5ed61606c8", "units_mentioned": ["tuples"]}, "12": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "max_dead_tuples"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "max_dead_tuples", "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 max_dead_tuples 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 max_dead_tuples FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u6267\u884c\u4e00\u8f6e\u7d22\u5f15\u6e05\u7406\u4e4b\u524d\u53ef\u5b58\u50a8\u7684\u6b7b\u5143\u7ec4\u6570\u91cf\uff0c\u53d6\u51b3\u4e8e maintenance_work_mem\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 dead tuples that we can store before needing to perform an index vacuum cycle, based on maintenance_work_mem.", "/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": "8d9085fec9edd115e1e4db53b97d91df481ea0738c24dab447766f9c7734443c"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "max_dead_tuples", "sql_type": "bigint", "units_mentioned": ["tuples"]}, "comparison_hash": "e497e3573f229d875efb6dc274fb5c04e1e82ec98998c505e0425c5ed61606c8", "units_mentioned": ["tuples"]}, "13": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "max_dead_tuples"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "max_dead_tuples", "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 max_dead_tuples 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 max_dead_tuples FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u6267\u884c\u4e00\u8f6e\u7d22\u5f15\u6e05\u7406\u4e4b\u524d\u53ef\u5b58\u50a8\u7684\u6b7b\u5143\u7ec4\u6570\u91cf\uff0c\u53d6\u51b3\u4e8e maintenance_work_mem\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 dead tuples that we can store before needing to perform an index vacuum cycle, based on maintenance_work_mem.", "/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": "507abf8bdf59c7a8abd685a146d5954a2564f71d4a9aedd8ddf1ee23503f21bd"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "max_dead_tuples", "sql_type": "bigint", "units_mentioned": ["tuples"]}, "comparison_hash": "e497e3573f229d875efb6dc274fb5c04e1e82ec98998c505e0425c5ed61606c8", "units_mentioned": ["tuples"]}, "14": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "max_dead_tuples"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "max_dead_tuples", "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 max_dead_tuples 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 max_dead_tuples FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u6267\u884c\u4e00\u8f6e\u7d22\u5f15\u6e05\u7406\u4e4b\u524d\u53ef\u5b58\u50a8\u7684\u6b7b\u5143\u7ec4\u6570\u91cf\uff0c\u53d6\u51b3\u4e8e maintenance_work_mem\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 dead tuples that we can store before needing to perform an index vacuum cycle, based on maintenance_work_mem.", "/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": "98202509c65a31f585385af84365dbf6dcd62f8ec8373e8189a64bad8aac3265"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "max_dead_tuples", "sql_type": "bigint", "units_mentioned": ["tuples"]}, "comparison_hash": "e497e3573f229d875efb6dc274fb5c04e1e82ec98998c505e0425c5ed61606c8", "units_mentioned": ["tuples"]}, "15": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "max_dead_tuples"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "max_dead_tuples", "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 max_dead_tuples 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 max_dead_tuples FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u6267\u884c\u4e00\u8f6e\u7d22\u5f15\u6e05\u7406\u4e4b\u524d\u53ef\u5b58\u50a8\u7684\u6b7b\u5143\u7ec4\u6570\u91cf\uff0c\u53d6\u51b3\u4e8e maintenance_work_mem\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 dead tuples that we can store before needing to perform an index vacuum cycle, based on maintenance_work_mem.", "/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": "6ebe84f24c2eb60f4bf13af63d358499197bb55c95827ba1c9767a76d93a805d"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "max_dead_tuples", "sql_type": "bigint", "units_mentioned": ["tuples"]}, "comparison_hash": "e497e3573f229d875efb6dc274fb5c04e1e82ec98998c505e0425c5ed61606c8", "units_mentioned": ["tuples"]}, "16": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "max_dead_tuples"}, {"label": "SQL \u7c7b\u578b", "value": "bigint"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "tuples"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "max_dead_tuples", "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 max_dead_tuples 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 max_dead_tuples FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u6267\u884c\u4e00\u8f6e\u7d22\u5f15\u6e05\u7406\u4e4b\u524d\u53ef\u5b58\u50a8\u7684\u6b7b\u5143\u7ec4\u6570\u91cf\uff0c\u53d6\u51b3\u4e8e maintenance_work_mem\u3002"], "manual_html": "", "manual_path": "/docs/16/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/summary": "Number of dead tuples that we can store before needing to perform an index vacuum cycle, based on maintenance_work_mem.", "/versions/16/description/0": "Number of dead tuples that we can store before needing to perform an index vacuum cycle, based on maintenance_work_mem.", "/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": "b222d10776ec6d976268851d549e5633fe071104d0970ca393b2087440dde69c"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "max_dead_tuples", "sql_type": "bigint", "units_mentioned": ["tuples"]}, "comparison_hash": "e497e3573f229d875efb6dc274fb5c04e1e82ec98998c505e0425c5ed61606c8", "units_mentioned": ["tuples"]}}}, "snapshot": null, "comparison": {"left": "16", "right": "17", "status": "removed", "diff": "--- PostgreSQL 16\n+++ PostgreSQL 17\n@@ -1,8 +1 @@\n-{\n-  \"field\": \"max_dead_tuples\",\n-  \"sql_type\": \"bigint\",\n-  \"units_mentioned\": [\n-    \"tuples\"\n-  ],\n-  \"view\": \"pg_stat_progress_vacuum\"\n-}\n+\u8be5\u7248\u672a\u6536\u5f55"}}