How to speedup CHECKPOINTs?

From: "Dmitry Koterov" <dmitry(at)koterov(dot)ru>
To: "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: How to speedup CHECKPOINTs?
Date: 2007-03-28 14:05:39
Message-ID: d7df81620703280705sc4fd8ecic43c10ac7ceb978@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello.

The quintessence of the problem explained in previous letters: CHECKPOIND
command works quite slow, disk write activity is high just after it is
executed, and diring the CHECKPOINT SELECT queries work many times slower
than usual.

I experimended with bgwriter, but it affects the CHECKPOINT performance very
little (possibly 2-3 times faster but no more).
What else could I tune?

And the general question - why SELECT queries slowdown during the
CHECKPOINT? I thought that Postgres is a version-based database and read
queries are never blocked...

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-03-28 14:18:44 Re: tweaks for write-intensive dbs ?
Previous Message Stephen Harris 2007-03-28 13:55:35 Slow sequential scans on one DB but not another; fragmentation?