Re: auto vacuum settings

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: auto vacuum settings
Дата
Msg-id 1400.1125496055@sss.pgh.pa.us
обсуждение исходный текст
Ответ на auto vacuum settings  (Jeff Frost <jeff@frostconsultingllc.com>)
Ответы Re: auto vacuum settings
Re: auto vacuum settings
Список pgsql-admin
Jeff Frost <jeff@frostconsultingllc.com> writes:
> Since we're on the vacuum kick these days, what's the best way to tell if my
> autovacuum settings are working well?  I'm sure I can query some info out of
> the pg_stats tables, no?

If the database isn't bloating (ie, physical storage growing faster than
valid data volume) then it's getting the job done.  Keep an eye on
"du $PGDATA" or pg_class.relpages entries.

> Also, if using autovacuum, should I still do a vacuum full on a regular
> basis?

No.  Needing to do a VACUUM FULL would be prima facie evidence that
autovacuum *isn't* getting its job done.

            regards, tom lane

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

Предыдущее
От: "MG"
Дата:
Сообщение: Question to localization
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: auto vacuum settings