Re: Clearing global statistics - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Clearing global statistics
Date
Msg-id 1260381305.12582.0.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Clearing global statistics  (Greg Smith <greg@2ndquadrant.com>)
List pgsql-hackers
On sön, 2009-12-06 at 19:50 -0500, Greg Smith wrote:
> The fact that you're asking the question this way suggests to me I've 
> named this completely wrong.  pg_stat_reset_global only resets the
> bits 
> global to all databases.  It doesn't touch any of the
> database-specific 
> things that pg_stat_reset can handle right now.  At the moment, the
> only 
> global information is what's in pg_stat_bgwriter:  buffer statistics
> and 
> checkpoint stats.  I'm thinking that I should rename this new
> function 
> to pg_stat_reset_bgwriter so it's obvious how limited its target is.  
> Using either "global" or "cluster" for the name is just going to
> leave 
> people thinking it acts across a much larger area than it does.

The term "shared" is used elsewhere to describe the, well, shared
catalogs.



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Build sizes vs docs
Next
From: Peter Eisentraut
Date:
Subject: Re: Need a mentor, and a project.