Re: Catalog bloat (again)

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Catalog bloat (again)
Дата
Msg-id 56A94D77.6020902@hogranch.com
обсуждение исходный текст
Ответ на Catalog bloat (again)  (Ivan Voras <ivoras@gmail.com>)
Список pgsql-general
On 1/27/2016 2:54 PM, Ivan Voras wrote:
> For blocking reasons, we'd like to avoid vacuum fulls on these tables
> (as it seems like touching them will lock up everything else).

vacuum full isn't nearly as nasty in 9.x than it was in much older
releases, so a lot of the caveats no longer apply.

with 10000 actual records, I'd expect a vacuum full of those system
catalogs to go in a matter of seconds, and afaik the only thing that
would be locked would be metadata changes (eg, creating or alter tables
etc).

disabling autovacuum is a very bad idea for exactly these reasons. if
you have specific large tables that autovacuum is causing performances
problems on, tune the autovacuum settings on those specific tables.

--
john r pierce, recycling bits in santa cruz



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

Предыдущее
От: Don Parris
Дата:
Сообщение: Re: Multi-Table Insert/Update Strategy - Use Functions/Procedures?
Следующее
От: Bill Moran
Дата:
Сообщение: Re: Catalog bloat (again)