diff --git a/pgtune.conf b/pgtune.conf index b80b4fce2a16326060407f1f63230539d5687ddd..3c6085d0157b37f791bc5ad78d3e0096cfe57071 100644 --- a/pgtune.conf +++ b/pgtune.conf @@ -4,13 +4,13 @@ maintenance_work_mem = 4GB work_mem = 1024MB checkpoint_completion_target = 0.9 -checkpoint_timeout = 5min +#checkpoint_timeout = 5min wal_buffers = 128MB random_page_cost = 1.01 effective_io_concurrency = 200 -min_wal_size = 1GB -max_wal_size = 8GB +#min_wal_size = 1GB +#max_wal_size = 8GB wal_level = minimal max_wal_senders = 0 @@ -25,3 +25,10 @@ idle_in_transaction_session_timeout = 60s max_parallel_maintenance_workers = 4 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 +min_wal_size = 2GB +max_wal_size = 16GB \ No newline at end of file