Configuring PostgreSQL

The values of several PostreSQL configuration parameters may be changed for enhanced performance. The following table lists the default values and some suggested updates for several useful parameters:

Table 12.1. Suggested configuration values

ParameterDefaultSuggested
default_statistics_target10100
work_mem4Mb128Mb
shared_buffers8Mb512Mb
effective_cache_size128Mb4Gb