Skip to content

Instantly share code, notes, and snippets.

@hauntedhost
Created October 14, 2014 18:06
Show Gist options
  • Select an option

  • Save hauntedhost/4ac65afc68f09c90259b to your computer and use it in GitHub Desktop.

Select an option

Save hauntedhost/4ac65afc68f09c90259b to your computer and use it in GitHub Desktop.
/Library/Application Support/Postgres/var-9.3/postgresql.conf
shared_buffers = 3GB # 30% of total system RAM
work_mem = 5MB
maintenance_work_mem = 64MB
fsync = off
synchronous_commit = off
full_page_writes = off
checkpoint_segments = 100
checkpoint_timeout = 45min
effective_cache_size = 6GB # twice shared_buffers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment