From: Andres Freund <andres@anarazel.de>
To: Justin King <kingpin867@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: PG12 autovac issues
Date: Tue, 17 Mar 2020 18:19:52 -0700
Message-ID: <20200318011952.caitfhlslpq6zype@alap3.anarazel.de> (raw)
In-Reply-To: <CAE39h22zPLrkH17GrkDgAYL3kbjvySYD1io+rtnAUFnaJJVS4g@mail.gmail.com>
References: <CAE39h22zPLrkH17GrkDgAYL3kbjvySYD1io+rtnAUFnaJJVS4g@mail.gmail.com>
Hi,
On 2020-03-17 17:18:57 -0500, Justin King wrote:
> As you can see in this table, there are only ~80K rows, but billions
> of updates. What we have observed is that the frozenxid reaches the
> 200M mark fairly quickly because of the amount of activity.
And each of those updates is in a separate transaction? Is that
required? I.e. any chance to perform multiple of those updates in one
transaction?
Have you considered just increasing the vacuum limit? It's mostly there
because it can increase space usage a bit, but given today's systems its
not a usually a problem unless you have hundreds of postgres instances
on a single system. It's pretty common to just increase that to 1.8
billion or so.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: andres@anarazel.de, kingpin867@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: PG12 autovac issues
In-Reply-To: <20200318011952.caitfhlslpq6zype@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox