Re: check to see when tables were last vacummed

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: check to see when tables were last vacummed
Дата
Msg-id 4974C60F.5050908@pinpointresearch.com
обсуждение исходный текст
Ответ на check to see when tables were last vacummed  (Kevin Kempter <kevink@consistentstate.com>)
Ответы Re: check to see when tables were last vacummed  ("Larry Rosenman" <ler@lerctr.org>)
Список pgsql-admin
Kevin Kempter wrote:
> Hi all;
>
> Anyone know where to look to see when tables were last vacuumed via autovacuum
> ?
> Also, can I run this check only in 8.3+ or did it work also in 8.2, 8.1 ?
>
>
> Thanks in advance
>
>
In 8.3 look in the "pg_stat_user_tables" system table for the
last_vacuum and last_autovacuum columns. I don't know when those columns
were added. I don't see them in 8.1 and don't have 8.2 available at the
moment.

Cheers,
Steve



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

Предыдущее
От: Kevin Kempter
Дата:
Сообщение: check to see when tables were last vacummed
Следующее
От: Kevin Kempter
Дата:
Сообщение: pg_buffercache - usagecount info