Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

In many situations, the best way to speed up a stock Postgres install is to increase shared memory buffers.
Shared buffers are counted in 8k blocks. elow Below is a configuration where Postgres can use (28672*8) = 229376k.
postgresql.conf:

...

In Linux, kernel shared memory will need to be expanded to handle more than (usually) 32M.

This page has more details and methods: http://web.archive.org/web/20071215213300/http://www.budget-ha.com/postgres/shared-memory.jspImage Removed has more details and methods.

Much more information about PostgreSQL performance tuning available off the PostgreSQL wiki: