postgresql/src
Nathan Bossart bb8dff9995 Add cost-based vacuum delay time to progress views.
This commit adds the amount of time spent sleeping due to
cost-based delay to the pg_stat_progress_vacuum and
pg_stat_progress_analyze system views.  A new configuration
parameter named track_cost_delay_timing, which is off by default,
controls whether this information is gathered.  For vacuum, the
reported value includes the sleep time of any associated parallel
workers.  However, parallel workers only report their sleep time
once per second to avoid overloading the leader process.

Bumps catversion.

Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Co-authored-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Sami Imseih <samimseih@gmail.com>
Reviewed-by: Robert Haas <robertmhaas@gmail.com>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Reviewed-by: Masahiro Ikeda <ikedamsh@oss.nttdata.com>
Reviewed-by: Dilip Kumar <dilipbalaut@gmail.com>
Reviewed-by: Sergei Kornilov <sk@zsrv.org>
Discussion: https://postgr.es/m/ZmaXmWDL829fzAVX%40ip-10-97-1-34.eu-west-3.compute.internal
2025-02-11 16:38:14 -06:00
..
backend Add cost-based vacuum delay time to progress views. 2025-02-11 16:38:14 -06:00
bin Limit pgbench COPY FREEZE to ordinary relations 2025-02-11 16:52:08 -05:00
common Add pg_encoding_set_invalid() 2025-02-10 10:03:37 -05:00
fe_utils Adapt appendPsqlMetaConnect() to the new fmtId() encoding expectations. 2025-02-10 16:30:03 -05:00
include Add cost-based vacuum delay time to progress views. 2025-02-11 16:38:14 -06:00
interfaces Fix handling of invalidly encoded data in escaping functions 2025-02-10 10:03:37 -05:00
makefiles Update copyright for 2025 2025-01-01 11:21:55 -05:00
pl Allow extension functions to participate in in-place updates. 2025-02-11 12:49:34 -05:00
port Avoid breaking SJIS encoding while de-backslashing Windows paths. 2025-01-29 14:24:36 -05:00
template thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00
test Add cost-based vacuum delay time to progress views. 2025-02-11 16:38:14 -06:00
timezone Update time zone data files to tzdata release 2025a. 2025-01-20 16:49:15 -05:00
tools Allow extension functions to participate in in-place updates. 2025-02-11 12:49:34 -05:00
tutorial Doc: simplify the tutorial's window-function examples. 2025-01-21 14:43:21 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Convert sepgsql tests to TAP 2025-01-24 12:39:47 +01:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00