Re: Clearing global statistics
| От | Tom Lane |
|---|---|
| Тема | Re: Clearing global statistics |
| Дата | |
| Msg-id | 24296.1263484860@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Clearing global statistics (Rafael Martinez <r.m.guerrero@usit.uio.no>) |
| Ответы |
Re: Clearing global statistics
Re: Clearing global statistics |
| Список | pgsql-hackers |
Rafael Martinez <r.m.guerrero@usit.uio.no> writes:
> Is there any chance of implementing a way of knowing when was the last
> time statistics delivered via pg_stat_* were reset?
Actually, that brings up a more general question: what's with the
enthusiasm for clearing statistics *at all*? ISTM that's something
you should do only in dire emergencies, like the collector went
haywire and has now got a bunch of garbage numbers. The notion of
resetting subsets of the stats seems even more dubious, because now
you have numbers that aren't mutually comparable. So I fail to
understand why the desire to expend valuable development time on
any of this.
regards, tom lane
В списке pgsql-hackers по дате отправления: