Re: How can I tell if I'm autovacuuming?

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: How can I tell if I'm autovacuuming?
Дата
Msg-id 1274548283.8730.99.camel@jd-desktop.unknown.charter.com
обсуждение исходный текст
Ответ на How can I tell if I'm autovacuuming?  (Doug Gorley <doug.gorley@gmail.com>)
Ответы Re: How can I tell if I'm autovacuuming?
Re: How can I tell if I'm autovacuuming?
Список pgsql-admin
On Sat, 2010-05-22 at 09:51 -0400, Doug Gorley wrote:
> From what I see in the docs, these three settings in postgresql.conf
> should be enough for PostgreSQL (8.2) to autovacuum with the default
> settings:
>
> autovacuum = on
> stats_start_collector = on
> stats_row_level = on
>
> So, two questions:
>
> (a) Is this correct?  Should autovacuum be functional now?

If you restarted.

> (b) How can I verify that my databases are being vacuumed by autovacuum?

pg_stat_user_tables should have a last_autovac column.

>
> Thanks,
>
> --
> Doug Gorley | doug@gorley.ca
>
>

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering

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

Предыдущее
От: Doug Gorley
Дата:
Сообщение: How can I tell if I'm autovacuuming?
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: How can I tell if I'm autovacuuming?