{"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": "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.", "aliases": ["delay_time", "pg_stat_progress_vacuum"], "content_hash": "1b7fc91ff723d61432ae902d2a20d82e46e86e93e5b363fb7cfd30f39e3bfe90", "versions": {"18": {"view": "pg_stat_progress_vacuum", "facts": [{"label": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "delay_time"}, {"label": "SQL type", "value": "double precision"}, {"label": "Units named in the field definition", "value": "milliseconds"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "delay_time", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=18", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/18/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 18 English manual", "sha256": "a1f46d2b670502bfe75f1cf5192050ef2ef68202a8f928c4915abea0f4f71ae6"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 27.4.2."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "double precision", "signature": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["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."], "manual_html": "", "manual_path": "/docs/18/progress-reporting.html", "source_only": false, "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": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "delay_time"}, {"label": "SQL type", "value": "double precision"}, {"label": "Units named in the field definition", "value": "milliseconds"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "delay_time", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=19", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/19/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "19beta4", "major": "19", "channel": "preview", "revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}, "sources": [{"url": "/docs/19/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 19 English manual", "sha256": "911eea089109c945679f9ac5c21a3b1b7c9186237acec4639f23861e931e24cc"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_repack, and is also visible via the backwards-compatibility pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 27.4.5 and Section 27.4.2."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "double precision", "signature": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["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."], "manual_html": "", "manual_path": "/docs/19/progress-reporting.html", "source_only": false, "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": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "delay_time"}, {"label": "SQL type", "value": "double precision"}, {"label": "Units named in the field definition", "value": "milliseconds"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "delay_time", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=20", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/devel/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}, "sources": [{"url": "/docs/devel/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 20 English manual", "sha256": "a692c859d24d77ff71231c72596243a279325b5436ece3dad58945b55688646e"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_repack, and is also visible via the backwards-compatibility pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 27.4.5 and Section 27.4.2."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "double precision", "signature": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["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."], "manual_html": "", "manual_path": "/docs/devel/progress-reporting.html", "source_only": false, "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": "View", "value": "pg_stat_progress_vacuum"}, {"label": "Field", "value": "delay_time"}, {"label": "SQL type", "value": "double precision"}, {"label": "Units named in the field definition", "value": "milliseconds"}, {"label": "Reset observation", "value": "No stats_reset field is documented for this view"}], "field": "delay_time", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_progress_vacuum/?v=18", "label": "pg_stat_progress_vacuum columns"}, {"url": "/docs/18/monitoring-stats.html", "label": "Statistics collection and reset functions"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/progress-reporting.html#PG-STAT-PROGRESS-VACUUM-VIEW", "path": "progress-reporting.html", "label": "PostgreSQL 18 English manual", "sha256": "a1f46d2b670502bfe75f1cf5192050ef2ef68202a8f928c4915abea0f4f71ae6"}], "sections": [{"title": "View semantics", "paragraphs": ["Whenever VACUUM is running, the pg_stat_progress_vacuum view will contain one row for each backend (including autovacuum worker processes) that is currently vacuuming. The tables below describe the information that will be reported and provide information about how to interpret it. Progress for VACUUM FULL commands is reported via pg_stat_progress_cluster because both VACUUM FULL and CLUSTER rewrite the table, while regular VACUUM only modifies it in place. See Section 27.4.2."]}, {"title": "Collection and reset context", "paragraphs": ["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."]}, {"code": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "title": "Inspect this field", "paragraphs": ["Example query; no execution result or measured value is asserted."]}], "sql_type": "double precision", "signature": "SELECT delay_time FROM pg_catalog.pg_stat_progress_vacuum;", "documented": true, "description": ["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."], "manual_html": "", "manual_path": "/docs/18/progress-reporting.html", "source_only": false, "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-Not recorded in this version\n+{\n+  \"field\": \"delay_time\",\n+  \"sql_type\": \"double precision\",\n+  \"units_mentioned\": [\n+    \"milliseconds\"\n+  ],\n+  \"view\": \"pg_stat_progress_vacuum\"\n+}"}}