Issue #1951: Update autovacuum settings.

Change-Id: I273ddc5dd4ff6473311416000fe713c4dbac12ce

Former-commit-id: db11c994c6 [formerly 5ffd134ac53094590d1d48e5549db750269268ba]
Former-commit-id: 1708ecfcca
This commit is contained in:
Richard Peter 2013-04-24 16:42:30 -05:00
parent 3f682899e0
commit 85164a80a2
2 changed files with 15 additions and 16 deletions

View file

@ -446,27 +446,26 @@ track_counts = on
autovacuum = on # Enable autovacuum subprocess? 'on'
# requires track_counts to also be on.
#log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and
log_autovacuum_min_duration = 120s # -1 disables, 0 logs all actions and
# their durations, > 0 logs only
# actions running at least this number
# of milliseconds.
#autovacuum_max_workers = 3 # max number of autovacuum subprocesses
autovacuum_max_workers = 6 # max number of autovacuum subprocesses
# (change requires restart)
#autovacuum_naptime = 1min # time between autovacuum runs
autovacuum_vacuum_threshold = 1000 # min number of row updates before
autovacuum_naptime = 30s # time between autovacuum runs
autovacuum_vacuum_threshold = 500 # min number of row updates before
# vacuum
autovacuum_analyze_threshold = 500 # min number of row updates before
autovacuum_analyze_threshold = 250 # min number of row updates before
# analyze
autovacuum_vacuum_scale_factor = 0.15 # fraction of table size before vacuum
autovacuum_analyze_scale_factor = 0.075 # fraction of table size before analyze
#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
# (change requires restart)
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
autovacuum_vacuum_cost_delay = 10ms # default vacuum cost delay for
# autovacuum, in milliseconds;
# -1 means use vacuum_cost_delay
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
# autovacuum, -1 means use
# vacuum_cost_limit
autovacuum_vacuum_cost_limit = 1000 # default vacuum cost limit for
# autovacuum, -1 means use vacuum_cost_limit
#------------------------------------------------------------------------------

View file

@ -446,25 +446,25 @@ track_counts = on
autovacuum = on # Enable autovacuum subprocess? 'on'
# requires track_counts to also be on.
#log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and
log_autovacuum_min_duration = 120s # -1 disables, 0 logs all actions and
# their durations, > 0 logs only
# actions running at least this number
# of milliseconds.
#autovacuum_max_workers = 3 # max number of autovacuum subprocesses
autovacuum_max_workers = 6 # max number of autovacuum subprocesses
# (change requires restart)
#autovacuum_naptime = 1min # time between autovacuum runs
autovacuum_vacuum_threshold = 1000 # min number of row updates before
autovacuum_naptime = 30s # time between autovacuum runs
autovacuum_vacuum_threshold = 500 # min number of row updates before
# vacuum
autovacuum_analyze_threshold = 500 # min number of row updates before
autovacuum_analyze_threshold = 250 # min number of row updates before
# analyze
autovacuum_vacuum_scale_factor = 0.15 # fraction of table size before vacuum
autovacuum_analyze_scale_factor = 0.075 # fraction of table size before analyze
#autovacuum_freeze_max_age = 200000000 # maximum XID age before forced vacuum
# (change requires restart)
#autovacuum_vacuum_cost_delay = 20ms # default vacuum cost delay for
autovacuum_vacuum_cost_delay = 10ms # default vacuum cost delay for
# autovacuum, in milliseconds;
# -1 means use vacuum_cost_delay
#autovacuum_vacuum_cost_limit = -1 # default vacuum cost limit for
autovacuum_vacuum_cost_limit = 1000 # default vacuum cost limit for
# autovacuum, -1 means use
# vacuum_cost_limit