From ef23a77441b94d1e2fde3f359d2e49703c70c9ca Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Wed, 18 Apr 2007 16:44:18 +0000 Subject: Enable configurable log of autovacuum actions. Initial patch from Simon Riggs, additional code and docs by me. Per discussion. --- doc/src/sgml/config.sgml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'doc/src') 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 @@ - + Server Configuration @@ -3190,6 +3190,25 @@ SELECT * FROM parent WHERE key = 2400; + + log_autovacuum (integer) + + log_autovacuum configuration parameter + + + + 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 + 250ms 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 postgresql.conf file or on the server command line. + + + + autovacuum_naptime (integer) -- cgit v1.2.3