Re: TOAST table size in bytes growing despite working autovacuum

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: TOAST table size in bytes growing despite working autovacuum
Дата
Msg-id c3328713d6216fdbb7f5bf2d2693c0f93f550548.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: TOAST table size in bytes growing despite working autovacuum  (Kristjan Mustkivi <sonicmonkey@gmail.com>)
Список pgsql-general
On Mon, 2020-06-15 at 16:42 +0300, Kristjan Mustkivi wrote:
> > You should schedule down time and run a VACUUM (FULL) on that table.
> > That will rewrite the table and get rid of the bloat.
> 
> But in order to avoid the situation happening again (as it will with
> the current settings), I should likely make the autovacuuming on the
> TOAST table even more aggressive via
> toast.autovacuum_vacuum_scale_factor tinkering, right?

No, the correct way is to reduce "autovacuum_vacuum_cost_delay".

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




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

Предыдущее
От: Don Seiler
Дата:
Сообщение: Re: Mixed Locales and Upgrading
Следующее
От: Niels Jespersen
Дата:
Сообщение: SV: SV: pg_service.conf and client support