Doc: mention that VACUUM can't utilize over 1GB of RAM
authorDavid Rowley <drowley@postgresql.org>
Sun, 4 Jul 2021 10:28:38 +0000 (22:28 +1200)
committerDavid Rowley <drowley@postgresql.org>
Sun, 4 Jul 2021 10:28:38 +0000 (22:28 +1200)
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

doc/src/sgml/config.sgml

index 6098f6b0202ea8d863105bd6889a62e0e4b1f27b..381d8636ab4983b98cac1e6349df95972355d2e1 100644 (file)
@@ -1893,6 +1893,12 @@ include_dir 'conf.d'
         too high.  It may be useful to control for this by separately
         setting <xref linkend="guc-autovacuum-work-mem"/>.
        </para>
+       <para>
+        Additionally, <command>VACUUM</command> is only able to utilize up to
+        a maximum of <literal>1GB</literal> of memory, so
+        <varname>maintenance_work_mem</varname> values higher than this have
+        no effect on <command>VACUUM</command>.
+       </para>
       </listitem>
      </varlistentry>