Configuring autovav in postgres conf.

This commit is contained in:
Samuel Clay 2013-05-24 15:15:16 -07:00
parent 18d750091d
commit 8bed85fbe0
2 changed files with 5 additions and 4 deletions

View file

@ -61,7 +61,7 @@ listen_addresses = '*' # what IP address(es) to listen on;
# defaults to 'localhost', '*' = all
# (change requires restart)
port = 5432 # (change requires restart)
max_connections = 200 # (change requires restart)
max_connections = 1000 # (change requires restart)
# Note: Increasing max_connections costs ~400 bytes of shared memory per
# connection slot, plus lock space (see max_locks_per_transaction).
#superuser_reserved_connections = 3 # (change requires restart)
@ -115,8 +115,8 @@ shared_buffers = 512MB # min 128kB
# per transaction slot, plus lock space (see max_locks_per_transaction).
# It is not advisable to set max_prepared_transactions nonzero unless you
# actively intend to use prepared transactions.
work_mem = 64MB # min 64kB
maintenance_work_mem = 2GB # min 1MB
work_mem = 5MB # min 64kB
maintenance_work_mem = 512MB # min 1MB
#max_stack_depth = 2MB # min 100kB
# - Kernel Resource Usage -
@ -411,7 +411,7 @@ log_line_prefix = '%t %h' # special values:
# AUTOVACUUM PARAMETERS
#------------------------------------------------------------------------------
#autovacuum = on # Enable autovacuum subprocess? '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
# their durations, > 0 logs only

1
fabfile.py vendored
View file

@ -1064,6 +1064,7 @@ def setup_do(name, size=2):
env.host_string = host
time.sleep(10)
add_user_to_do()
do()
def do_name(name):
if re.search(r"[0-9]", name):