Instrument freezing in autovacuum log reports.
commitd977ffd923d207164eef78ed107d5293aee6c660
authorPeter Geoghegan <pg@bowt.ie>
Thu, 8 Sep 2022 17:29:39 +0000 (8 10:29 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Thu, 8 Sep 2022 17:29:39 +0000 (8 10:29 -0700)
treebd7ab6ac1700e4e4ce5862b1aff56d0f301d479c
parentb76fb6c2a99eb7d49f96e56599fef1ffc1c134c9
Instrument freezing in autovacuum log reports.

Add a new line to log reports from autovacuum (as well as VACUUM VERBOSE
output) that shows information about freezing.  Emphasis is placed on
the total number of heap pages that had one or more tuples frozen by
VACUUM.  The total number of tuples frozen is also shown.

Author: Peter Geoghegan <pg@bowt.ie>
Reviewed-By: Jeff Janes <jeff.janes@gmail.com>
Discussion: https://postgr.es/m/CAH2-WznTY6D0zyE8VLrC6Gd4kh_HGAXxnTPtcOQOOsxzLx9zog@mail.gmail.com
src/backend/access/heap/vacuumlazy.c