pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Neil Conway <neilc@samurai.com>
To: Shridhar Daithankar <shridhar@frodo.hserus.net>
Cc: Doug Y <dylists@ptd.net>
Cc: psql-performance@postgresql.org
Subject: Re: Clarification on some settings
Date: Thu, 13 May 2004 02:44:07 -0400
Message-ID: <1084430647.21452.40.camel@tokyo> (raw)
In-Reply-To: <40A1E83E.2000402@frodo.hserus.net>
References: <6.0.1.1.2.20040511163104.01e9cbb0@mail.traderonline.com>
	<40A1E83E.2000402@frodo.hserus.net>

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





view thread (6+ messages)  latest in thread

Message-ID: <1084430647.21452.40.camel@tokyo>
Permalink:  ../1084430647.21452.40.camel@tokyo/
Also on:    postgresql.org/message-id/1084430647.21452.40.camel@tokyo

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: neilc@samurai.com, shridhar@frodo.hserus.net, dylists@ptd.net, psql-performance@postgresql.org
  Subject: Re: Clarification on some settings
  In-Reply-To: <1084430647.21452.40.camel@tokyo>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox