Tuning PostgreSQL
Table of contents
During install the CFEngine Enterprise Hub Package pre-configures PostgreSQL with a configuration for low (<3GB), medium (>3GB <64GB) or high (>64GB) memory which adjusts the values of effective_cache_size, shared_buffers, and maintenance_work_mem.
Depending on various factors your postgresql.conf may benefit from further tuning.
Parameters commonly tuned:
max_connectionseffective_cache_sizemaintenance_work_memcheckpoint_completion_targetwal_buffersdefault_statistics_targetrandom_page_costeffective_io_concurrencywork_memmin_wal_size
Tuning tools like pgtune and pgconfigurator can be helpful in adjusting your settings.
See also: