Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fcabc3a

Browse files
committed
Doc: correct aggressive vacuum threshold for multixact members storage
The threshold is two billion members, which was interpreted as 2GB in the documentation. Fix to reflect that each member takes up five bytes, which translates to about 10GB. This is not exact, because of page boundaries. While at it, mention the maximum size 20GB. This has been wrong since commit c552e17, so backpatch to version 14. Author: Alex Friedman <alexf01@gmail.com> Reviewed-by: Sami Imseih <samimseih@gmail.com> Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Discussion: https://postgr.es/m/CACbFw60UOk6fCC02KsyT3OfU9Dnuq5roYxdw2aFisiN_p1L0bg@mail.gmail.com Backpatch-through: 14
1 parent 5f8eb25 commit fcabc3a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/maintenance.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,10 +811,11 @@ HINT: Execute a database-wide VACUUM in that database.
811811
As a safety device, an aggressive vacuum scan will
812812
occur for any table whose multixact-age is greater than <xref
813813
linkend="guc-autovacuum-multixact-freeze-max-age"/>. Also, if the
814-
storage occupied by multixacts members exceeds 2GB, aggressive vacuum
814+
storage occupied by multixacts members exceeds about 10GB, aggressive vacuum
815815
scans will occur more often for all tables, starting with those that
816816
have the oldest multixact-age. Both of these kinds of aggressive
817-
scans will occur even if autovacuum is nominally disabled.
817+
scans will occur even if autovacuum is nominally disabled. The members storage
818+
area can grow up to about 20GB before reaching wraparound.
818819
</para>
819820

820821
<para>

0 commit comments

Comments
 (0)