Re: Postgresql.conf cleanup

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Postgresql.conf cleanup
Date: 2007-07-02 16:59:10
Message-ID: 46892EDE.2010709@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

>>> (change requires restart): this phrase appears over 20 times in the
>>> notes. This is enough times to be really repetitive and take up a lot
>>> of scrolling space, while not actually covering all startup-time
>>> parameters. We should either (a) remove all such notes and rely on
>>> docs, or (b) make an annotation symbol (e.g. *R) and mark 100% of them.
>
> That was put in deliberately not long ago, so I doubt (a) will pass.
> (b) seems fine to me.

+1 on (b), -1 on (a)

>> # work_mem = ( RAM * 0.5 ) / max_connections, or less
>
> That seems guaranteed to drive people into swap hell, unless they
> execute only trivial queries.

Maybe he meant .05, which would be semi-reasonable?

>> # checkpoint_segments = 8 to 16 if you have the disk space (0.3 to 0.6 GB)
>
> This seems definitely too small --- for write-intensive databases I like
> to set it to 30 or so, which should eat about a GB if I did the
> arithmetic right.

Hmpf, I set it to 30 just to get it out of the way. I would agree that
8-16 is too small.

Sincerely,

Joshua D. Drake

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2007-07-02 17:38:52 Re: Configurable Additional Stats
Previous Message Tom Lane 2007-07-02 16:55:41 Re: Configurable Additional Stats