Re: Clearing global statistics
От | Greg Smith |
---|---|
Тема | Re: Clearing global statistics |
Дата | |
Msg-id | 4B4F5805.5040403@2ndquadrant.com обсуждение исходный текст |
Ответ на | Re: Clearing global statistics (Euler Taveira de Oliveira <euler@timbira.com>) |
Список | pgsql-hackers |
Euler Taveira de Oliveira wrote: <blockquote cite="mid:4B4D21E1.3010905@timbira.com" type="cite"><pre wrap="">Greg Smithescreveu: </pre><blockquote type="cite"><pre wrap="">pg_stat_reset( which text ) which := 'buffers' | 'checkpoints'| 'tables' | 'functions' | ... </pre></blockquote><pre wrap="">What about adding 'all' too? Or the idea is resetting all global counters when we call pg_stat_reset() (without parameters)? </pre></blockquote><br /> Once there's more than one piece to clear maybe addingin an 'all' target makes sense. In the context of the update patch I've finished, it just doesn't make sense giventhe code involved.<br /><br /><pre class="moz-signature" cols="72">-- Greg Smith 2ndQuadrant Baltimore, MD PostgreSQL Training, Services and Support <a class="moz-txt-link-abbreviated" href="mailto:greg@2ndQuadrant.com">greg@2ndQuadrant.com</a> <a class="moz-txt-link-abbreviated"href="http://www.2ndQuadrant.com">www.2ndQuadrant.com</a> </pre>
В списке pgsql-hackers по дате отправления: