Re: Clarification on some settings

From: Neil Conway <neilc(at)samurai(dot)com>
To: Shridhar Daithankar <shridhar(at)frodo(dot)hserus(dot)net>
Cc: Doug Y <dylists(at)ptd(dot)net>, psql-performance(at)postgresql(dot)org
Subject: Re: Clarification on some settings
Date: 2004-05-13 06:44:07
Message-ID: 1084430647.21452.40.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Mark Kirkwood 2004-05-13 07:31:29 Re: Clarification on some settings
Previous Message Bjoern Metzdorf 2004-05-12 22:40:58 Quad processor options - summary