Created
February 20, 2019 17:38
-
-
Save pnorman/3120cef654b93ae1765306b658d5a1ae to your computer and use it in GitHub Desktop.
tuning
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
ALSTER SYSTEM SET work_mem = '128MB'; | |
ALSTER SYSTEM SET maintenance_work_mem = '4GB'; | |
ALSTER SYSTEM SET default_statistics_target = '10000'; | |
ALSTER SYSTEM SET autovacuum_vacuum_scale_factor = '0.05'; | |
ALSTER SYSTEM SET autovacuum_analyze_scale_factor = '0.02'; | |
ALSTER SYSTEM SET shared_buffers = '8GB'; | |
ALSTER SYSTEM SET max_wal_size = '4GB'; | |
ALSTER SYSTEM SET min_wal_size = '1GB'; | |
ALSTER SYSTEM SET checkpoint_completion_target = '0.9'; | |
ALSTER SYSTEM SET max_worker_processes = '10'; | |
ALSTER SYSTEM SET max_parallel_workers_per_gather = '8'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment