Re: Fwd: PG12 autovac issues

From: Michael Lewis <mlewis(at)entrata(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Justin King <kingpin867(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Fwd: PG12 autovac issues
Date: 2020-03-18 18:40:03
Message-ID: CAHOFxGoDBxRfjm04K+qNH4sifrTaBM=_xQY8jA7AJjUgsvCurw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Do you have default fillfactor set on this table? If not, I would wonder if
reducing it to 50% or even 20% would allow many more HOT updates that would
reduce bloat.

Also, is there any period of lower activity on your system that you could
schedule a vacuum freeze for daily or weekly? I believe having frozen pages
would also mean all the autovacuums would be able to skip more pages and
therefore be faster.

>> autovacuum_vacuum_cost_delay = 20

This was changed to 2ms in PG12. You should reduce that most likely.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Sandeep Thakkar 2020-03-19 11:16:47 Re: PG v12.2 - Setting jit_above_cost is causing the server to crash
Previous Message Adrian Klaver 2020-03-18 15:13:14 Re: Fwd: PG12 autovac issues

Browse pgsql-general by date

  From Date Subject
Next Message stan 2020-03-18 18:50:53 Join help, please
Previous Message Adrian Klaver 2020-03-18 15:13:14 Re: Fwd: PG12 autovac issues