Re: Is regular vacuuming with autovacuum needed?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is regular vacuuming with autovacuum needed?
Дата
Msg-id 19036.1281983716@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is regular vacuuming with autovacuum needed?  (Peter Koczan <pjkoczan@gmail.com>)
Ответы Re: Is regular vacuuming with autovacuum needed?  (Greg Smith <greg@2ndquadrant.com>)
Список pgsql-admin
Peter Koczan <pjkoczan@gmail.com> writes:
> The issue was that a routine VACUUM process (vacuumdb -az, called
> nightly via cron) was locking a table and wasn't completing. This
> server is also running autovacuum. This wasn't the source of the
> deadlock, but I'm wondering if regular vacuuming is necessary or even
> desirable with autovacuum running. Is there any reason for me to not
> disable the vacuum cron job and just tweak autovacuum parameters (or
> even just to leave the defaults)?

On versions where autovacuum is on by default, I would certainly
recommend trying to use only autovacuum.  cron-driven vacuum still
has some uses but they are corner cases.

            regards, tom lane

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Is regular vacuuming with autovacuum needed?
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Is regular vacuuming with autovacuum needed?