diff --git a/pgtune.conf b/pgtune.conf index 3c6085d0157b37f791bc5ad78d3e0096cfe57071..7053ffb823500d54edd11c32f919131ee9b267a7 100644 --- a/pgtune.conf +++ b/pgtune.conf @@ -1,7 +1,7 @@ shared_buffers = 16GB effective_cache_size = 48GB maintenance_work_mem = 4GB -work_mem = 1024MB +work_mem = 64MB checkpoint_completion_target = 0.9 #checkpoint_timeout = 5min @@ -27,8 +27,7 @@ default_statistics_target = 500 #Changes based on pg_gather analysis, appears to improve sync performance by 10%, #but post-analysis suggests more improvement via parameter tweaking is possible -bgwriter_lru_maxpages = 700 #directly suggested by pg_gather -#Remaining values I just doubled original values as no specific value was suggested -checkpoint_timeout = 600 +bgwriter_lru_maxpages = 7000 +checkpoint_timeout = 60min min_wal_size = 2GB -max_wal_size = 16GB \ No newline at end of file +max_wal_size = 24GB \ No newline at end of file