postgresql/src/include/commands
Melanie Plageman 99f8f3fbbc Add relallfrozen to pg_class
Add relallfrozen, an estimate of the number of pages marked all-frozen
in the visibility map.

pg_class already has relallvisible, an estimate of the number of pages
in the relation marked all-visible in the visibility map. This is used
primarily for planning.

relallfrozen, together with relallvisible, is useful for estimating the
outstanding number of all-visible but not all-frozen pages in the
relation for the purposes of scheduling manual VACUUMs and tuning vacuum
freeze parameters.

A future commit will use relallfrozen to trigger more frequent vacuums
on insert-focused workloads with significant volume of frozen data.

Bump catalog version

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Robert Treat <rob@xzilla.net>
Reviewed-by: Corey Huinker <corey.huinker@gmail.com>
Reviewed-by: Greg Sabino Mullane <htamfids@gmail.com>
Discussion: https://postgr.es/m/flat/CAAKRu_aj-P7YyBz_cPNwztz6ohP%2BvWis%3Diz3YcomkB3NpYA--w%40mail.gmail.com
2025-03-03 11:18:05 -05:00
..
alter.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
async.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
cluster.h Adjust signature of cluster_rel() and its subroutines 2025-01-10 13:09:38 +01:00
collationcmds.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
comment.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
conversioncmds.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
copy.h Re-export NextCopyFromRawFields() to copy.h. 2025-02-28 15:11:41 -08:00
copyapi.h Refactor COPY FROM to use format callback functions. 2025-02-28 10:29:36 -08:00
copyfrom_internal.h Refactor COPY FROM to use format callback functions. 2025-02-28 10:29:36 -08:00
createas.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
dbcommands.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
dbcommands_xlog.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
defrem.h Change gist stratnum function to use CompareType 2025-01-15 11:34:04 +01:00
discard.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
event_trigger.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
explain.h Avoid including explain.h in explain_format.h and explain_dr.h 2025-02-28 13:17:29 -05:00
explain_dr.h Avoid including explain.h in explain_format.h and explain_dr.h 2025-02-28 13:17:29 -05:00
explain_format.h Avoid including explain.h in explain_format.h and explain_dr.h 2025-02-28 13:17:29 -05:00
extension.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
lockcmds.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
matview.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
policy.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
portalcmds.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
prepare.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
proclang.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
progress.h Add cost-based vacuum delay time to progress views. 2025-02-11 16:38:14 -06:00
publicationcmds.h Change publication's publish_generated_columns option type to enum. 2025-01-23 15:28:37 +05:30
schemacmds.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
seclabel.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
sequence.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
subscriptioncmds.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
tablecmds.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
tablespace.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
trigger.h Don't lock partitions pruned by initial pruning 2025-02-20 17:09:48 +09:00
typecmds.h Update copyright for 2025 2025-01-01 11:21:55 -05:00
user.h Add new GUC createrole_self_grant. 2023-01-10 12:44:49 -05:00
vacuum.h Add relallfrozen to pg_class 2025-03-03 11:18:05 -05:00
view.h Update copyright for 2025 2025-01-01 11:21:55 -05:00