Re: autovacuum, exclude table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: autovacuum, exclude table
Дата
Msg-id 18792.1323703570@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: autovacuum, exclude table  ("Anibal David Acosta" <aa@devshock.com>)
Список pgsql-performance
"Anibal David Acosta" <aa@devshock.com> writes:
> Tables has insert (in bulk every 3 minutes) and delete one per day (delete records older than XX days)

No updates at all, just inserts and a daily delete?

If so, you're wasting your time even thinking about suppressing
autovacuum, because it won't fire on this table except after the daily
delete, which is exactly when you need it to.

Also, if you suppress autovacuum you also suppress autoanalyze,
which is something that *will* fire after large inserts, and probably
should.  At least, this usage pattern doesn't suggest to me that it's
clearly safe to run without up-to-date stats.

Right offhand, I'm not convinced either that you have a problem, or that
turning off autovacuum would fix it.

            regards, tom lane

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: autovacuum, exclude table
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: copy vs. C function