Re: Publish checkpoint timing and sync files summary data to pg_stat_bgwriter - Mailing list pgsql-hackers

From Greg Smith
Subject Re: Publish checkpoint timing and sync files summary data to pg_stat_bgwriter
Date
Msg-id 4F13C7AA.9060003@2ndQuadrant.com
Whole thread Raw
In response to Publish checkpoint timing and sync files summary data to pg_stat_bgwriter  (Greg Smith <greg@2ndQuadrant.com>)
Responses Re: Publish checkpoint timing and sync files summary data to pg_stat_bgwriter  (Hitoshi Harada <umi.tanuki@gmail.com>)
List pgsql-hackers
On 01/16/2012 01:28 AM, Greg Smith wrote:
> -I can't tell for sure if this is working properly when 
> log_checkpoints is off.  This now collects checkpoint end time data in 
> all cases, whereas before it ignored that work if log_checkpoints was off.

...and there's at least one I missed located already:  inside of md.c.  
I'd forgotten how many spots where timing calls are optimized out are 
floating around this code path.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com



pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Publish checkpoint timing and sync files summary data to pg_stat_bgwriter
Next
From: Greg Smith
Date:
Subject: Checkpoint sync pause