aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-09-25 15:10:24 +0900
committerMichael Paquier <michael@paquier.xyz>2021-09-25 15:10:24 +0900
commit1ba841072ebeb1a6605395950a51c869de42a104 (patch)
tree6886f33b62cd7fbc3744db3b6527b5014d27c786
parent1ab70b11e6425c955c24aa301188de32356bebb8 (diff)
downloadpostgresql-1ba841072ebeb1a6605395950a51c869de42a104.tar.gz
postgresql-1ba841072ebeb1a6605395950a51c869de42a104.zip
doc: Improve description of index vacuuming with GUCs
Index vacuums may happen multiple times depending on the number of dead tuples stored, as of maintenance_work_mem for a manual VACUUM. For autovacuum, this is controlled by autovacuum_work_mem instead, if set. The documentation mentioned the former, but not the latter in the context of autovacuum. Reported-by: Nikolai Berkoff Author: Laurenz Albe, Euler Taveira Discussion: https://postgr.es/m/161545365522.10134.12195402324485546870@wrigleys.postgresql.org Backpatch-through: 9.6
-rw-r--r--doc/src/sgml/monitoring.sgml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index 2281ba120f3..2cd8920645a 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -6147,8 +6147,9 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid,
<command>VACUUM</command> 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 <xref linkend="guc-maintenance-work-mem"/> is insufficient to
- store the number of dead tuples found.
+ if <xref linkend="guc-maintenance-work-mem"/> (or, in the case of autovacuum,
+ <xref linkend="guc-autovacuum-work-mem"/> if set) is insufficient to store
+ the number of dead tuples found.
</entry>
</row>
<row>