From dc6be5e124d6c3e4df0851b8c0645139f96b16e6 Mon Sep 17 00:00:00 2001 From: Shihao Date: Sat, 19 Sep 2026 19:09:17 -0400 Subject: [PATCH v1 1/2] doc: Explain what a large autovacuum_naptime does The docs gave the unit and the default, but said nothing about the effect of a large value. Say that it delays all autovacuum work in a database, wraparound vacuums included, and that raising it only helps clusters with a very large number of databases. Discussion: https://postgr.es/m/CAGjGUAJSuWzskc=6Kkh+3BPU6AfRm62MWdTAc=7-jPKxxanUpA@mail.gmail.com --- doc/src/sgml/config.sgml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 0165eb9ec02..4b86a1edfe6 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -9494,6 +9494,12 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv; This parameter can only be set in the postgresql.conf file or on the server command line. + + Larger values delay all autovacuum work in a database, including + vacuums that prevent transaction ID wraparound. Raising this + setting is rarely useful, except to reduce the overhead of starting + workers in clusters with a very large number of databases. + -- 2.37.1 (Apple Git-137.1)