Re: Clearing global statistics
От | Peter Eisentraut |
---|---|
Тема | Re: Clearing global statistics |
Дата | |
Msg-id | 1260381305.12582.0.camel@vanquo.pezone.net обсуждение исходный текст |
Ответ на | Re: Clearing global statistics (Greg Smith <greg@2ndquadrant.com>) |
Список | 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 по дате отправления: