Re: how to slow down parts of Pg

From: Michael Lewis <mlewis(at)entrata(dot)com>
To: Kevin Brannen <KBrannen(at)efji(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: how to slow down parts of Pg
Date: 2020-04-21 20:38:30
Message-ID: CAHOFxGo_+iyx-MOqmF6gfJNmdfM=dTBY5EcO4RjEhGxuLs8azQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You say 12.2 is in testing but what are you using now? Have you tuned
configs much? Would you be able to implement partitioning such that your
deletes become truncates or simply a detaching of the old partition?
Generally if you are doing a vacuum full, you perhaps need to tune
autovacuum to be more aggressive. Consider pg_repack at least to avoid
taking an exclusive lock for the entire duration. If partitioning is not an
option, could you delete old records hourly rather than daily?

>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Loftis 2020-04-21 20:52:36 Re: how to slow down parts of Pg
Previous Message Kevin Brannen 2020-04-21 20:30:29 how to slow down parts of Pg