Re: pg_stat_all_tables column value reseting problem.

Поиск
Список
Период
Сортировка
От Nicholson, Brad (Toronto, ON, CA)
Тема Re: pg_stat_all_tables column value reseting problem.
Дата
Msg-id 2626AEE4839D064CB0472A3814DC403F46D20812BE@GVW1092EXB.americas.hpqcorp.net
обсуждение исходный текст
Ответ на Re: pg_stat_all_tables column value reseting problem.  (leslie samuel <leslie.bks@gmail.com>)
Ответы Re: pg_stat_all_tables column value reseting problem.  (leslie samuel <leslie.bks@gmail.com>)
Список pgsql-admin
> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-
> owner@postgresql.org] On Behalf Of leslie samuel
> Sent: Friday, March 18, 2011 1:17 AM
> To: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] pg_stat_all_tables column value reseting problem.
>
> Thanks for ur reply Ragu..
>
> Yes, I have executed this select pg_stat_reset(); as a root user.
> It has reseted the values.
>
> But last time ( when I was posted this query) I didn't executed it.
> But values were rested automatically.
>
> I would like to know,
>
>    => Whether postgres automatically running this  select
> pg_stat_reset();
> statement ?
>    => If it runs Which scenario its executing this statement and what
> is the
> interval time between each execution ?
>
> Please let me know..
> Thanks..
>

If you stop/restart the database in immediate mode, or if it crashes the stats will be reset.  What mode did you use
forshutdown? 

Brad.


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

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Memory limits and PostgreSQL 8.4 - Over 63 GB of memory for DB?
Следующее
От: Tapio Pitkäranta
Дата:
Сообщение: Re: Memory limits and PostgreSQL 8.4 - Over 63 GB of memory for DB?