]> granicus.if.org Git - postgresql/commitdiff
Add note that autovacuum can use up several times maintenance_work_mem,
authorMagnus Hagander <magnus@hagander.net>
Mon, 8 Dec 2008 15:11:42 +0000 (15:11 +0000)
committerMagnus Hagander <magnus@hagander.net>
Mon, 8 Dec 2008 15:11:42 +0000 (15:11 +0000)
with warning against setting it too high.

doc/src/sgml/config.sgml

index 253cf8ee03e7ad4c1ca04f46dd834eaa83146398..50cb5edb0814e75d85e6edcaa887cd357fd1b793 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.164.2.5 2008/07/18 17:33:40 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.164.2.6 2008/12/08 15:11:42 mha Exp $ -->
 
 <chapter Id="runtime-config">
   <title>Server Configuration</title>
@@ -860,6 +860,11 @@ SET ENABLE_SEQSCAN TO OFF;
         than <varname>work_mem</varname>.  Larger settings might improve
         performance for vacuuming and for restoring database dumps.
        </para>
+       <para>
+        Note that when autovacuum runs, up to
+        <xref linkend="guc-autovacuum-max-workers"> times this memory may be
+        allocated, so be careful not to set the default value too high.
+       </para>
       </listitem>
      </varlistentry>