Re: Clearing global statistics - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject Re: Clearing global statistics
Date
Msg-id 20091207100104.950F.52131E4D@oss.ntt.co.jp
Whole thread Raw
In response to Re: Clearing global statistics  (Greg Smith <greg@2ndquadrant.com>)
Responses Re: Clearing global statistics  (Greg Smith <greg@2ndquadrant.com>)
Re: Clearing global statistics  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-hackers
Greg Smith <greg@2ndquadrant.com> wrote:

> I'm thinking that I should rename this new function 
> to pg_stat_reset_bgwriter so it's obvious how limited its target is.

I don't think it is a good name because we might have another cluster-level
statictics not related with bgwriter in the future. I hope you will suggest
"extensible" method when you improve this area.

To be honest, I have a plan to add performance statistics counters to
postgres. It is not bgwriter's counters, but cluster-level. I'd like
to use your infrastructure in my work, too :)

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: Clearing global statistics
Next
From: Greg Smith
Date:
Subject: Wrapping up CommitFest 2009-11