Re: Expose checkpoint start/finish times into SQL. - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: Expose checkpoint start/finish times into SQL.
Date
Msg-id 47F57A31.6000508@dunslane.net
Whole thread Raw
In response to Re: Expose checkpoint start/finish times into SQL.  (Robert Treat <xzilla@users.sourceforge.net>)
Responses Re: Expose checkpoint start/finish times into SQL.  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-patches

Robert Treat wrote:
> On Thursday 03 April 2008 19:08, Andrew Dunstan wrote:
>
>> Joshua D. Drake wrote:
>>
>>>> Theo Schlossnagle wrote:
>>>>
>>>>> First whack at exposing the start and finish checkpoint times into
>>>>> SQL.
>>>>>
>>>> Why is that useful?
>>>>
>>> For knowing how long checkpoints are taking. If they are taking too
>>> long you may need to adjust your bgwriter settings, and it is a
>>> serious drag to parse postgresql logs for this info.
>>>
>> Even if this were true, surely the answer is to improve the logging.
>>
>>
>
> Exposing everything into the log files isn't always sufficient (says the guy
> who maintains a remote admin tool)
>

It should be now that you can have machine readable logs (says the guy
who literally spent weeks making that happen) ;-)

cheers

andrew

pgsql-patches by date:

Previous
From: Robert Treat
Date:
Subject: Re: Expose checkpoint start/finish times into SQL.
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Expose checkpoint start/finish times into SQL.