Skip to content

Commit da08ac5

Browse files
committed
Doc: mention that VACUUM can't utilize over 1GB of RAM
Document that setting maintenance_work_mem to values over 1GB has no effect on VACUUM. Reported-by: Martín Marqués Author: Laurenz Albe Discussion: https://postgr.es/m/CABeG9LsZ2ozUMcqtqWu_-GiFKB17ih3p8wBHXcpfnHqhCnsc7A%40mail.gmail.com Backpatch-through: 9.6, oldest supported release
1 parent 27f6970 commit da08ac5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/src/sgml/config.sgml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,6 +1617,12 @@ include_dir 'conf.d'
16171617
too high. It may be useful to control for this by separately
16181618
setting <xref linkend="guc-autovacuum-work-mem"/>.
16191619
</para>
1620+
<para>
1621+
Additionally, <command>VACUUM</command> is only able to utilize up to
1622+
a maximum of <literal>1GB</literal> of memory, so
1623+
<varname>maintenance_work_mem</varname> values higher than this have
1624+
no effect on <command>VACUUM</command>.
1625+
</para>
16201626
</listitem>
16211627
</varlistentry>
16221628

0 commit comments

Comments
 (0)