Created
October 12, 2012 23:08
-
-
Save seamusabshere/3882154 to your computer and use it in GitHub Desktop.
postgresql90 config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /opt/local/var/db/postgresql90/postgresql.conf | |
shared_buffers = 768MB # min 128kB | |
temp_buffers = 256MB # min 800kB | |
work_mem = 1GB # min 64kB | |
maintenance_work_mem = 256MB # min 1MB | |
max_stack_depth = 6MB # min 100kB | |
synchronous_commit = off # immediate fsync at commit | |
wal_buffers = 16MB # min 32kB | |
checkpoint_segments = 64 # in logfile segments, min 1, 16MB each | |
checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0 | |
effective_cache_size = 2GB | |
wal_writer_delay = 9999ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/sysctl.conf | |
kern.sysv.shmmax=1073741824 | |
kern.sysv.shmall=1073741824 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment