diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index efa3855a5b7..578b7d46cdd 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -6142,8 +6142,9 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid, VACUUM is currently vacuuming the indexes. If a table has any indexes, this will happen at least once per vacuum, after the heap has been completely scanned. It may happen multiple times per vacuum - if is insufficient to - store the number of dead tuples found. + if (or, in the case of autovacuum, + if set) is insufficient to store + the number of dead tuples found.