Re: Checkpoint Tuning Question

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: Dan Armbrust <daniel(dot)armbrust(dot)list(at)gmail(dot)com>
Cc: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Checkpoint Tuning Question
Date: 2009-07-08 19:40:28
Message-ID: alpine.GSO.2.01.0907081538290.14242@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 8 Jul 2009, Dan Armbrust wrote:

> My takeaway is that starting the checkpoint process is really
> expensive - so I don't want to start it very frequently. And the only
> downside to longer intervals between checkpoints is a longer recovery
> time if the system crashes?

And additional disk space wasted in hold the write-ahead logs. You're
moving in the right direction here, the less checkpoints the better as
long as you can stand the recovery time. What you'll discover if you bump
checkpoint_segments up high enough is that you have to lengthen the test
run you're trying, because eventually you'll reach a point where there are
none of them happening during some test runs.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-07-08 19:45:42 Re: Oracle Help in PG?
Previous Message Greg Smith 2009-07-08 19:37:32 Re: Checkpoint Tuning Question