Re: Resetting cluster-wide statistics

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Resetting cluster-wide statistics
Дата
Msg-id 200904091629.n39GTJk10103@momjian.us
обсуждение исходный текст
Ответ на Re: Resetting cluster-wide statistics  (Greg Smith <gsmith@gregsmith.com>)
Список pgsql-hackers
Greg Smith wrote:
> On Mon, 23 Mar 2009, Tom Lane wrote:
> 
> > We used to have the stats_reset_on_server_start thingy, which covered
> > that case.  When we removed it on the grounds that you could do the
> > same less klugily with pg_stat_reset(), nobody complained about
> > cluster-wide stats...
> 
> Not exactly sure of the sequence here, but I think that was before 
> pg_stat_bgwriter was introduced.  That was late in the 8.3 cycle and one 
> of the primary things I'd like have a good way to reset.  I'll dig back to 
> the commit that wiped out stats_reset_on_server_stat and see what it used 
> to do.  I might suggest something that puts something similar back, 
> perhaps with a more targeted UI given that pg_stat_reset has taken over 
> its original primary function.

Added to TODO:
Allow the clearing of cluster-level statistics    * http://archives.postgresql.org/pgsql-hackers/2009-03/msg00917.php 

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Re: [BUGS] BUG #4027: backslash escaping not disabled inplpgsql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Closing some 8.4 open items