diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2013-12-12 11:42:39 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2013-12-12 11:42:39 +0000 |
commit | 8693559cacf1765697c32fc38574af3c19ce61c1 (patch) | |
tree | 98f76e989b7539a0080d974f448f453ed3ec1b4d /doc/src | |
parent | 36da3cfb457b77a55582f68208d815f11ac1399e (diff) | |
download | postgresql-8693559cacf1765697c32fc38574af3c19ce61c1.tar.gz postgresql-8693559cacf1765697c32fc38574af3c19ce61c1.zip |
New autovacuum_work_mem parameter
If autovacuum_work_mem is set, autovacuum workers now use
this parameter in preference to maintenance_work_mem.
Peter Geoghegan
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index f33a16b7aad..8896988e5aa 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1198,8 +1198,26 @@ include 'filename' </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. + <xref linkend="guc-autovacuum-max-workers"> times this memory + may be allocated, so be careful not to set the default value + too high. It may be useful to control for this by separately + setting <xref linkend="guc-autovacuum-work-mem">. + </para> + </listitem> + </varlistentry> + + <varlistentry id="guc-autovacuum-work-mem" xreflabel="autovacuum_work_mem"> + <term><varname>autovacuum_work_mem</varname> (<type>integer</type>)</term> + <indexterm> + <primary><varname>autovacuum_work_mem</> configuration parameter</primary> + </indexterm> + <listitem> + <para> + Specifies the maximum amount of memory to be used by each + autovacuum worker process. It defaults to -1, indicating that + the value of <xref linkend="guc-maintenance-work-mem"> should + be used instead. The setting has no effect on the behavior of + <command>VACUUM</command> when run in other contexts. </para> </listitem> </varlistentry> |