Merge "Issue #1951: Update autovacuum settings." into omaha_13.4.1

Former-commit-id: 5a478c6519 [formerly 335c2c6c34 [formerly ae01d247d2e439ed1059678c9ffc76bf8aec81bb]]
Former-commit-id: 335c2c6c34
Former-commit-id: a8565950bc
This commit is contained in:
Richard Peter 2013-04-25 15:05:26 -05:00 committed by Gerrit Code Review
commit bb40516cf8
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