Re: Publish checkpoint timing and sync files summary data to pg_stat_bgwriter

From: Greg Smith <greg(at)2ndQuadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Publish checkpoint timing and sync files summary data to pg_stat_bgwriter
Date: 2012-01-16 06:46:02
Message-ID: 4F13C7AA.9060003@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)2ndQuadrant(dot)com Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2012-01-16 07:57:10 Checkpoint sync pause
Previous Message Greg Smith 2012-01-16 06:28:29 Publish checkpoint timing and sync files summary data to pg_stat_bgwriter