Re: checkpoints, proper config - Mailing list pgsql-performance

From Tomas Vondra
Subject Re: checkpoints, proper config
Date
Msg-id 566A24DD.8020106@2ndquadrant.com
Whole thread Raw
In response to Re: checkpoints, proper config  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: checkpoints, proper config
List pgsql-performance

On 12/10/2015 11:45 PM, Alvaro Herrera wrote:
> Tomas Vondra wrote:
>
>> Also, I don't think it makes much sense to set
>>
>>     (checkpoint_warning > checkpoint_timeout)
>>
>> as it kinda defeats the whole purpose of the warning.
>
> I agree, but actually, what is the sense of checkpoint_warning?  I think
> it was useful back when we didn't have log_checkpoints, but now that we
> have detailed checkpoint logging I think it's pretty much useless noise.
>

Not entirely. The WARNING only triggers when you get below the 30s (or
whatever value is set in the config) and explicitly warns you about
doing checkpoints too often. log_checkpoints=on logs all checkpoints and
you have to do further analysis on the data (and it's just LOG).


--
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-performance by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: checkpoints, proper config
Next
From: ankur_adwyze
Date:
Subject: Advise needed for a join query with a where conditional