On Wed, 2004-05-12 at 05:02, Shridhar Daithankar wrote:
> I agree. For shared buffers start with 5000 and increase in batches on 1000. Or
> set it to a high value and check with ipcs for maximum shared memory usage. If
> share memory usage peaks at 100MB, you don't need more than say 120MB of buffers.
If your DB touches more than 100MB worth of buffers over time, shared
memory consumption won't peak at 100MB. PG shared buffers are only
"recycled" when there are no unused buffers available, so this isn't a
really valid way to determine the right shared_buffers setting.
-Neil