Skip to content

Instantly share code, notes, and snippets.

@molind
Created November 17, 2018 16:45
Show Gist options
  • Save molind/7f0f496f2282aa7986d162aa495cb5b9 to your computer and use it in GitHub Desktop.
Save molind/7f0f496f2282aa7986d162aa495cb5b9 to your computer and use it in GitHub Desktop.
Postgresql config
include 'postgresql_orig.conf'
# Generated by PGConfig 2.0 beta
## http://pgconfig.org
# Memory Configuration
shared_buffers = 6GB
effective_cache_size = 18GB
work_mem = 819MB
maintenance_work_mem = 2GB
# Checkpoint Related Configuration
min_wal_size = 1GB
max_wal_size = 3GB
checkpoint_completion_target = 0.9
wal_buffers = 16MB
# Network Related Configuration
listen_addresses = '*'
max_connections = 30
# effective_io_concurrency = 10
max_locks_per_transaction = 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment