Commit bd33aca3 authored by Magnus Hagander's avatar Magnus Hagander

Add note that autovacuum can use up several times maintenance_work_mem,

with warning against setting it too high.
parent 173a6760
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.198 2008/11/21 20:21:59 tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.199 2008/12/08 15:11:39 mha Exp $ -->
<chapter Id="runtime-config">
<title>Server Configuration</title>
......@@ -881,6 +881,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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment