Re: How to speedup CHECKPOINTs? - Mailing list pgsql-general

From Scott Marlowe
Subject Re: How to speedup CHECKPOINTs?
Date
Msg-id 1175204737.25022.23.camel@state.g2switchworks.com
Whole thread Raw
In response to Re: How to speedup CHECKPOINTs?  ("Dmitry Koterov" <dmitry@koterov.ru>)
List pgsql-general
On Thu, 2007-03-29 at 15:13, Dmitry Koterov wrote:
> No, but disks are about 120 MB/s speed, peak writes during CHECKPOINT
> are only 20-30 MB/s, and there is no disk read activity at all, so -
> no matter where the xlog resides.
>
> But now seems bgwriter tuning gets some effect, CHECKPOINT is running
> faster (about 2-3 seconds instead of 10-15). It is still beats the
> performance, but less.

Well, I assume bgwriter isn't the only thing writing to those disks.
Which would mean that your bgwriter output is random access not
sequential.  Which would mean putting pg_xlog on another set of drives
where it wasn't competing with other postgresql (and system) processes
for drive access would speed things up.

Or getting a good battery backed RAID controller.  That's the first step
to building a fast db server if you're using built in storage.

but I could be wrong or have misunderheard what you were saying.

pgsql-general by date:

Previous
From: "Bryan Murphy"
Date:
Subject: Deleted Flag/Unique Constraint
Next
From: Pete
Date:
Subject: Re: Oracle to PSQL function