Re: Why is checkpoint so costly? - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Why is checkpoint so costly?
Date
Msg-id 200506211445.32289.josh@agliodbs.com
Whole thread Raw
In response to Re: Why is checkpoint so costly?  (Alvaro Herrera <alvherre@surnet.cl>)
Responses Re: Why is checkpoint so costly?
List pgsql-hackers
Alvaro, Tom,

>  bgwriter_delay                 | 200
>  bgwriter_maxpages              | 100
>  bgwriter_percent               | 1
>
> Maybe it should be more aggressive.

Yeah, a bgwriter progression is running now.  I don't expect it to make 
much difference.  Most of sync impact is syncing the FS cache, which the 
bgwriter doesn't touch.

> Another thing to blame is the dump-whole-pages-after-checkpoint
> business.  Maybe the load you are seeing is not completely during
> checkpoint, but right after it as well.  How do you tell from the
> results that the checkpoint is complete?

I can't relate that to the performance numbers, unfortunately.  I think 
that the paging is probably the cause, but I don't know what to do about 
it.

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Why is checkpoint so costly?
Next
From: Tom Lane
Date:
Subject: Re: PROPOSAL FE/BE extension to handle IN/OUT parameters