Re: Clarification on some settings - Mailing list pgsql-performance

From Neil Conway
Subject Re: Clarification on some settings
Date
Msg-id 1084430647.21452.40.camel@tokyo
Whole thread Raw
In response to Re: Clarification on some settings  (Shridhar Daithankar <shridhar@frodo.hserus.net>)
List pgsql-performance
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



pgsql-performance by date:

Previous
From: "Fabio Panizzutti"
Date:
Subject: Query plan on identical tables differs . Why ?
Next
From: Shridhar Daithankar
Date:
Subject: Re: Query plan on identical tables differs . Why ?