On Thu, Mar 1, 2012 at 8:08 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> These are extremely low settings on virtually any modern computer. I usually
> look to set shared buffers in numbers of Gb and work_mem at least in tens if
> not hundreds of Mb for any significantly sized database.
For a read-only database, as was discussed, a lower shared_buffers
settings makes sense. And 128M is low enough, I'd guess.
Setting work_mem to hundreds of MB in a 4G system is suicide. Tens
even is dangerous.