Re: Checkpoint Tuning Question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 17:50:34
Message-ID: 24444.1247075434@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dan Armbrust <daniel(dot)armbrust(dot)list(at)gmail(dot)com> writes:
> However, once the checkpoint process begins, I get a whole flood of
> queries that take between 1 and 10 seconds to complete. My throughput
> crashes to near nothing. The checkpoint takes between 45 seconds and
> a minute to complete.

You sure this is 8.3? It should spread out checkpoints over a couple of
minutes by default. [thinks...] Maybe you need to increase
checkpoint_segments some more. If it's forcing the checkpoint in order
to hold down the number of WAL segments used up, that would explain a
fast checkpoint.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dan Armbrust 2009-07-08 18:20:10 Re: Checkpoint Tuning Question
Previous Message Andreas Wenk 2009-07-08 17:50:10 Re: [Re: Password?]