{"kind": "metric", "major": "18", "item": {"slug": "pg_stat_progress_vacuum-delay_time", "name": "pg_stat_progress_vacuum.delay_time", "name_zh": "", "category": "pg_stat_progress_vacuum", "summary": "\u56e0\u57fa\u4e8e\u4ee3\u4ef7\u7684\u5ef6\u8fdf\u800c\u4f11\u7720\u7684\u603b\u65f6\u95f4\uff08\u89c1\u7b2c 19.10.2 \u8282\uff09\uff0c\u5355\u4f4d\u4e3a\u6beb\u79d2\uff08\u542f\u7528 track_cost_delay_timing \u65f6\u7edf\u8ba1\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002\u6b64\u503c\u5305\u542b\u76f8\u5173\u5e76\u884c\u5de5\u4f5c\u8fdb\u7a0b\u7684\u4f11\u7720\u65f6\u95f4\u3002\u4f46\u5e76\u884c\u5de5\u4f5c\u8fdb\u7a0b\u6bcf\u79d2\u6700\u591a\u62a5\u544a\u4e00\u6b21\u4f11\u7720\u65f6\u95f4\uff0c\u56e0\u6b64\u62a5\u544a\u503c\u53ef\u80fd\u7565\u6709\u6ede\u540e\u3002", "aliases": ["delay_time", "pg_stat_progress_vacuum"], "content_hash": "68831b4847efb521f4daafe5a76952b686f00c20386175af49070f4948a2a06f", "versions": {"18": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "delay_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "delay_time", "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 delay_time 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": "double precision", "signature": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u56e0\u57fa\u4e8e\u4ee3\u4ef7\u7684\u5ef6\u8fdf\u800c\u4f11\u7720\u7684\u603b\u65f6\u95f4\uff08\u89c1\u7b2c 19.10.2 \u8282\uff09\uff0c\u5355\u4f4d\u4e3a\u6beb\u79d2\uff08\u542f\u7528 track_cost_delay_timing \u65f6\u7edf\u8ba1\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002\u6b64\u503c\u5305\u542b\u76f8\u5173\u5e76\u884c\u5de5\u4f5c\u8fdb\u7a0b\u7684\u4f11\u7720\u65f6\u95f4\u3002\u4f46\u5e76\u884c\u5de5\u4f5c\u8fdb\u7a0b\u6bcf\u79d2\u6700\u591a\u62a5\u544a\u4e00\u6b21\u4f11\u7720\u65f6\u95f4\uff0c\u56e0\u6b64\u62a5\u544a\u503c\u53ef\u80fd\u7565\u6709\u6ede\u540e\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": "Total time spent sleeping due to cost-based delay (see Section 19.10.2), in milliseconds (if track_cost_delay_timing is enabled, otherwise zero). This includes the time that any associated parallel workers have slept. However, parallel workers report their sleep time no more frequently than once per second, so the reported value may be slightly stale.", "/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": "37b211e3f1e5e82d93ffac2c1c871f1159b6a5e7cb56db4a3d01724ec32a1353"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "delay_time", "sql_type": "double precision", "units_mentioned": ["milliseconds"]}, "comparison_hash": "a867771974d827fb2050b817da26aeacb56a4900a8559fd6cc7bb7d7a442bb65", "units_mentioned": ["milliseconds"]}, "19": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "delay_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "delay_time", "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 delay_time 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": "double precision", "signature": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u56e0\u57fa\u4e8e\u4ee3\u4ef7\u7684\u5ef6\u8fdf\u800c\u4f11\u7720\u7684\u603b\u65f6\u95f4\uff08\u89c1\u7b2c 19.10.2 \u8282\uff09\uff0c\u5355\u4f4d\u4e3a\u6beb\u79d2\uff08\u542f\u7528 track_cost_delay_timing \u65f6\u7edf\u8ba1\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002\u6b64\u503c\u5305\u542b\u76f8\u5173\u5e76\u884c\u5de5\u4f5c\u8fdb\u7a0b\u7684\u4f11\u7720\u65f6\u95f4\u3002\u4f46\u5e76\u884c\u5de5\u4f5c\u8fdb\u7a0b\u6bcf\u79d2\u6700\u591a\u62a5\u544a\u4e00\u6b21\u4f11\u7720\u65f6\u95f4\uff0c\u56e0\u6b64\u62a5\u544a\u503c\u53ef\u80fd\u7565\u6709\u6ede\u540e\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": "Total time spent sleeping due to cost-based delay (see Section 19.10.2), in milliseconds (if track_cost_delay_timing is enabled, otherwise zero). This includes the time that any associated parallel workers have slept. However, parallel workers report their sleep time no more frequently than once per second, so the reported value may be slightly stale.", "/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": "61e35268984ba4152c45c8a354dcad0151b1ce1918915f81ec80ce80dca598ce"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "delay_time", "sql_type": "double precision", "units_mentioned": ["milliseconds"]}, "comparison_hash": "a867771974d827fb2050b817da26aeacb56a4900a8559fd6cc7bb7d7a442bb65", "units_mentioned": ["milliseconds"]}, "20": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "delay_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "delay_time", "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 delay_time 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": "double precision", "signature": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u56e0\u57fa\u4e8e\u4ee3\u4ef7\u7684\u5ef6\u8fdf\u800c\u4f11\u7720\u7684\u603b\u65f6\u95f4\uff08\u89c1\u7b2c 19.10.2 \u8282\uff09\uff0c\u5355\u4f4d\u4e3a\u6beb\u79d2\uff08\u542f\u7528 track_cost_delay_timing \u65f6\u7edf\u8ba1\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002\u6b64\u503c\u5305\u542b\u76f8\u5173\u5e76\u884c\u5de5\u4f5c\u8fdb\u7a0b\u7684\u4f11\u7720\u65f6\u95f4\u3002\u4f46\u5e76\u884c\u5de5\u4f5c\u8fdb\u7a0b\u6bcf\u79d2\u6700\u591a\u62a5\u544a\u4e00\u6b21\u4f11\u7720\u65f6\u95f4\uff0c\u56e0\u6b64\u62a5\u544a\u503c\u53ef\u80fd\u7565\u6709\u6ede\u540e\u3002"], "manual_html": "", "manual_path": "/docs/devel/progress-reporting.html", "source_only": false, "localization": {"status": "complete", "sources": [], "language": "zh", "original_text": {"/summary": "Total time spent sleeping due to cost-based delay (see Section 19.10.2), in milliseconds (if track_cost_delay_timing is enabled, otherwise zero). This includes the time that any associated parallel workers have slept. However, parallel workers report their sleep time no more frequently than once per second, so the reported value may be slightly stale.", "/versions/20/description/0": "Total time spent sleeping due to cost-based delay (see Section 19.10.2), in milliseconds (if track_cost_delay_timing is enabled, otherwise zero). This includes the time that any associated parallel workers have slept. However, parallel workers report their sleep time no more frequently than once per second, so the reported value may be slightly stale.", "/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": "d852b1a9ce04e604709f263aea87b2898e65afd0c25c2a2cf5ece677817883b9"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "delay_time", "sql_type": "double precision", "units_mentioned": ["milliseconds"]}, "comparison_hash": "a867771974d827fb2050b817da26aeacb56a4900a8559fd6cc7bb7d7a442bb65", "units_mentioned": ["milliseconds"]}}}, "snapshot": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "\u89c6\u56fe", "value": "pg_stat_progress_vacuum"}, {"label": "\u5b57\u6bb5", "value": "delay_time"}, {"label": "SQL \u7c7b\u578b", "value": "double precision"}, {"label": "\u5b57\u6bb5\u5b9a\u4e49\u8bb0\u8f7d\u7684\u5355\u4f4d", "value": "milliseconds"}, {"label": "\u91cd\u7f6e\u6761\u4ef6", "value": "\u624b\u518c\u672a\u4e3a\u6b64\u89c6\u56fe\u8bb0\u8f7d stats_reset \u5b57\u6bb5"}], "field": "delay_time", "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 delay_time 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": "double precision", "signature": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["\u56e0\u57fa\u4e8e\u4ee3\u4ef7\u7684\u5ef6\u8fdf\u800c\u4f11\u7720\u7684\u603b\u65f6\u95f4\uff08\u89c1\u7b2c 19.10.2 \u8282\uff09\uff0c\u5355\u4f4d\u4e3a\u6beb\u79d2\uff08\u542f\u7528 track_cost_delay_timing \u65f6\u7edf\u8ba1\uff0c\u5426\u5219\u4e3a\u96f6\uff09\u3002\u6b64\u503c\u5305\u542b\u76f8\u5173\u5e76\u884c\u5de5\u4f5c\u8fdb\u7a0b\u7684\u4f11\u7720\u65f6\u95f4\u3002\u4f46\u5e76\u884c\u5de5\u4f5c\u8fdb\u7a0b\u6bcf\u79d2\u6700\u591a\u62a5\u544a\u4e00\u6b21\u4f11\u7720\u65f6\u95f4\uff0c\u56e0\u6b64\u62a5\u544a\u503c\u53ef\u80fd\u7565\u6709\u6ede\u540e\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": "Total time spent sleeping due to cost-based delay (see Section 19.10.2), in milliseconds (if track_cost_delay_timing is enabled, otherwise zero). This includes the time that any associated parallel workers have slept. However, parallel workers report their sleep time no more frequently than once per second, so the reported value may be slightly stale.", "/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": "37b211e3f1e5e82d93ffac2c1c871f1159b6a5e7cb56db4a3d01724ec32a1353"}, "comparison_data": {"view": "pg_stat_progress_vacuum", "field": "delay_time", "sql_type": "double precision", "units_mentioned": ["milliseconds"]}, "comparison_hash": "a867771974d827fb2050b817da26aeacb56a4900a8559fd6cc7bb7d7a442bb65", "units_mentioned": ["milliseconds"]}, "comparison": {"left": "17", "right": "18", "status": "added", "diff": "--- PostgreSQL 17\n+++ PostgreSQL 18\n@@ -1 +1,8 @@\n-\u8be5\u7248\u672a\u6536\u5f55\n+{\n+  \"field\": \"delay_time\",\n+  \"sql_type\": \"double precision\",\n+  \"units_mentioned\": [\n+    \"milliseconds\"\n+  ],\n+  \"view\": \"pg_stat_progress_vacuum\"\n+}"}}