Created
March 14, 2017 22:12
-
-
Save NikolayS/520829b846827098c6d185827a5955e8 to your computer and use it in GitHub Desktop.
Postgres config recommendations for VM (1 vCPU, ~4GB RAM)
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
shared_buffers = 900MB | |
work_mem = 32MB | |
maintenance_work_mem = 128MB | |
checkpoint_timeout = 10min | |
checkpoint_completion_target = 0.7 | |
effective_cache_size = 2.8GB | |
log_min_duration_statement = 100ms | |
log_checkpoints = on | |
log_statement = ddl | |
log_temp_files = 0 | |
log_lock_waits = on | |
autovacuum_vacuum_scale_factor = 0.01 | |
autovacuum_analyze_scale_factor = 0.05 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment