mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Enable autovacuum in the default configuration, per discussion.
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
*
|
||||
* 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 $
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
*/
|
||||
@ -711,7 +711,7 @@ static struct config_bool ConfigureNamesBool[] =
|
||||
NULL
|
||||
},
|
||||
&pgstat_collect_tuplelevel,
|
||||
false, NULL, NULL
|
||||
true, NULL, NULL
|
||||
},
|
||||
{
|
||||
{"stats_block_level", PGC_SUSET, STATS_COLLECTOR,
|
||||
@ -748,7 +748,7 @@ static struct config_bool ConfigureNamesBool[] =
|
||||
NULL
|
||||
},
|
||||
&autovacuum_start_daemon,
|
||||
false, NULL, NULL
|
||||
true, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
|
@ -349,7 +349,7 @@
|
||||
#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)
|
||||
|
||||
|
||||
@ -365,7 +365,7 @@
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user