When to vacuum

Поиск
Список
Период
Сортировка
От Medi Montaseri
Тема When to vacuum
Дата
Msg-id 3E2C6D70.8010006@intransa.com
обсуждение исходный текст
Ответы Re: When to vacuum  (Andrew Sullivan <andrew@libertyrms.info>)
Список pgsql-general
I was wondering if I can use any of the pg_stat* related tables to
determine if I
need to vacuum or not.

More specifically, instead of assuming a period (based on one's usage),
if I was
to vacuum more adaptively, I could have a cron job to check certain
statistics table
every 10 minutes (or hour) and if a threashold is reached a vauum be
performed.

If this is possible, please specifiy the condition for vacuum and vacuum
full please.

Thanks


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Edit a dump file?
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: When to vacuum