diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2007-04-18 16:44:18 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2007-04-18 16:44:18 +0000 |
commit | ef23a77441b94d1e2fde3f359d2e49703c70c9ca (patch) | |
tree | e603a32544b9c491293a2e3eab25b02fef4fc895 /doc/src | |
parent | 432ea3cffdfc49eeaf11f9ef31970c69ec38cd63 (diff) |
Enable configurable log of autovacuum actions. Initial patch from Simon
Riggs, additional code and docs by me. Per discussion.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/config.sgml | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index e10d2d753a3..c5670dd906b 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.120 2007/04/16 18:29:50 alvherre Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.121 2007/04/18 16:44:17 alvherre Exp $ --> <chapter Id="runtime-config"> <title>Server Configuration</title> @@ -3190,6 +3190,25 @@ SELECT * FROM parent WHERE key = 2400; </listitem> </varlistentry> + <varlistentry id="guc-log-autovacuum" xreflabel="log_autovacuum"> + <term><varname>log_autovacuum</varname> (<type>integer</type>)</term> + <indexterm> + <primary><varname>log_autovacuum</> configuration parameter</primary> + </indexterm> + <listitem> + <para> + Causes actions executed by autovacuum to be logged if it ran for at + least the specified number of milliseconds. Setting this to zero prints + all action durations. Minus-one (the default) disables logging + autovacuum action durations. For example, if you set it to + <literal>250ms</literal> then all vacuums and analyzes that run + 250ms or longer will be logged. Enabling this parameter can be helpful + in tracking autovacuum activity. This setting can only be set in + the <filename>postgresql.conf</> file or on the server command line. + </para> + </listitem> + </varlistentry> + <varlistentry id="guc-autovacuum-naptime" xreflabel="autovacuum_naptime"> <term><varname>autovacuum_naptime</varname> (<type>integer</type>)</term> <indexterm> |