Re: shared_buffers documentation - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: shared_buffers documentation
Date
Msg-id 201004192206.o3JM6jh10642@momjian.us
Whole thread Raw
In response to Re: shared_buffers documentation  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: shared_buffers documentation  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas wrote:
> On Mon, Apr 19, 2010 at 5:36 PM, Bruce Momjian <bruce@momjian.us> wrote:
> >> I don't actually know what's best. ?I'm just concerned that we have a
> >> default in postgresql.conf and a tuning guide that says "don't do
> >> that". ?Maybe the tuning guide needs to be more nuanced, or maybe
> >> postgresql.conf needs to be changed, but it makes no sense to have
> >> them saying contradictory things.
> >
> > The good news about checkpoint_segments is that you get a log file
> > warning message if the value should be increased, i.e. you are
> > checkpointing often than 30 seconds.
> 
> Yeah.  I get that warning frequently when I'm creating test tables of
> dummy data for PG devel purposes.  That's actually the main thing that
> makes me think the default may be too low.

Well, the point is that you are getting it for _unusual_ circumstances. 
Seems it is only when you are getting it for typical workloads that it
should be increased.  However, this is the first time I am hearing that
battery-backed cache favors the default value.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Thoughts on pg_hba.conf rejection
Next
From: Robert Haas
Date:
Subject: Re: shared_buffers documentation