From 05023a237c059c840380817abf079a9282a227b7 Mon Sep 17 00:00:00 2001 From: Peter Geoghegan Date: Sat, 2 Apr 2022 13:34:57 -0700 Subject: [PATCH] Doc: Add relfrozenxid Tip to XID wraparound section. VACUUM VERBOSE and autovacuum log reports were taught to report the details of how VACUUM advanced relfrozenxid (and relminmxid) by commit 872770fd. Highlight this by adding a "Tip" to the documentation, next to related discussion of age(relfrozenxid) monitoring. Author: Peter Geoghegan Discussion: https://postgr.es/m/CAH2-Wzk0C1O-MKkOrj4YAfsGRru2=cA2VQpqM-9R1HNuG3nFaQ@mail.gmail.com --- doc/src/sgml/maintenance.sgml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/src/sgml/maintenance.sgml b/doc/src/sgml/maintenance.sgml index 5f3b6720e41..84fba9dcb10 100644 --- a/doc/src/sgml/maintenance.sgml +++ b/doc/src/sgml/maintenance.sgml @@ -611,6 +611,19 @@ SELECT datname, age(datfrozenxid) FROM pg_database; cutoff XID to the current transaction's XID. + + + When the VACUUM command's VERBOSE + parameter is specified, VACUUM prints various + statistics about the table. This includes information about how + relfrozenxid and + relminmxid advanced. The same details appear + in the server log when autovacuum logging (controlled by ) reports on a + VACUUM operation executed by autovacuum. + + + VACUUM normally only scans pages that have been modified since the last vacuum, but relfrozenxid can only be