-
+
Server Configuration
Enables the collection of row-level statistics on database
- activity. This parameter is off by default.
+ activity. This parameter is on by default, because the autovacuum
+ daemon needs the collected information.
Only superusers can change this setting.
-
+
Routine Database Maintenance Tasks
linkend="guc-stats-start-collector"> and
linkend="guc-stats-row-level"> are set to true. Also,
it's important to allow a slot for the autovacuum process when choosing
- the value of .
+ the value of . In
+ the default configuration, autovacuuming is enabled and the related
+ configuration parameters are appropriately set.
* Written by Peter Eisentraut
.
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.367 2007/01/09 22:16:46 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.368 2007/01/16 18:26:02 alvherre Exp $
*
*--------------------------------------------------------------------
*/
NULL
},
&pgstat_collect_tuplelevel,
- false, NULL, NULL
+ true, NULL, NULL
},
{
{"stats_block_level", PGC_SUSET, STATS_COLLECTOR,
NULL
},
&autovacuum_start_daemon,
- false, NULL, NULL
+ true, NULL, NULL
},
{
#stats_start_collector = on # needed for block or row stats
# (change requires restart)
#stats_block_level = off
-#stats_row_level = off
+#stats_row_level = on
#stats_reset_on_server_start = off # (change requires restart)
# AUTOVACUUM PARAMETERS
#---------------------------------------------------------------------------
-#autovacuum = off # enable autovacuum subprocess?
+#autovacuum = on # enable autovacuum subprocess?
# 'on' requires stats_start_collector
# and stats_row_level to also be on
#autovacuum_naptime = 1min # time between autovacuum runs