SuSE help


PGSQL_WORK_MEM

The PGSQL_WORK_MEM variable specifies the amount of memory to be used by internal sort operations and hash tables before switching to temporary disk files. .

Values

Integer (in MB)

Default

64MB

Comments

The right value for this variable depends in part on the available RAM on the server where your site is running. For optimal performance, consider these settings:

8GB RAM 16GB RAM 32GB RAM 64GB RAM 128GB RAM
64MB 128MB 256MB 512MB 512MB
Related questions
What are the right PostgreSQL settings for my site?
More information
Full list of performance-related PosgreSQL parameters
PosgreSQL performance tips from the experts