Re: TOAST table size in bytes growing despite working autovacuum - Mailing list pgsql-general

From Laurenz Albe
Subject Re: TOAST table size in bytes growing despite working autovacuum
Date
Msg-id c3328713d6216fdbb7f5bf2d2693c0f93f550548.camel@cybertec.at
Whole thread Raw
In response to Re: TOAST table size in bytes growing despite working autovacuum  (Kristjan Mustkivi <sonicmonkey@gmail.com>)
List 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 by date:

Previous
From: Don Seiler
Date:
Subject: Re: Mixed Locales and Upgrading
Next
From: Niels Jespersen
Date:
Subject: SV: SV: pg_service.conf and client support