aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorMelanie Plageman <melanieplageman@gmail.com>2024-12-17 14:13:27 -0500
committerMelanie Plageman <melanieplageman@gmail.com>2024-12-17 14:19:13 -0500
commitdc6acfd910b868351f115382fd92f95e5345992c (patch)
treeee13fc4a0559e9084131aea20eac4479ab6602de /src/backend/utils/adt/ruleutils.c
parent4b565a198b524469df9f3286a6f12778acd9d564 (diff)
downloadpostgresql-dc6acfd910b868351f115382fd92f95e5345992c.tar.gz
postgresql-dc6acfd910b868351f115382fd92f95e5345992c.zip
Count pages set all-visible and all-frozen in VM during vacuum
Heap vacuum already counts and logs pages with newly frozen tuples. Now count and log the number of pages newly set all-visible and all-frozen in the visibility map. Pages that are all-visible but not all-frozen are debt for future aggressive vacuums. The counts of newly all-visible and all-frozen pages give us insight into the rate at which this debt is being accrued and paid down. Author: Melanie Plageman Reviewed-by: Masahiko Sawada, Alastair Turner, Nitin Jadhav, Andres Freund, Bilal Yavuz, Tomas Vondra Discussion: https://postgr.es/m/flat/CAAKRu_ZQe26xdvAqo4weHLR%3DivQ8J4xrSfDDD8uXnh-O-6P6Lg%40mail.gmail.com#6d8d2b4219394f774889509bf3bdc13d, https://postgr.es/m/ctdjzroezaxmiyah3gwbwm67defsrwj2b5fpfs4ku6msfpxeia%40mwjyqlhwr2wu
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions