tracking last_autovacuum

Поиск
Список
Период
Сортировка
От Stefano Nichele
Тема tracking last_autovacuum
Дата
Msg-id 494A49CA.4050905@gmail.com
обсуждение исходный текст
Ответы Re: tracking last_autovacuum
Список pgsql-admin
Hi All,
in  pg_stat_all_tables, the fields last_autovacuum, last_autoanalyze are
updated any time autovacuum vacuums a table.
I would like to keep an history of these activities in order to see when
and how many times any single table is vacuumed.

Is there any features that can help me ? (I'm using postgres 8.2.9)

What about creating a trigger on pg_stat_all_tables and storing the
required info in another table (like autovacuum_history) ?

Cheers,
ste




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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: DROP INDEX causes errors
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: tracking last_autovacuum