From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Bisnett <cbisnett@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Per-Table vacuum_freeze_min_age
Date: Wed, 06 Apr 2022 18:22:22 -0400
Message-ID: <3185187.1649283742@sss.pgh.pa.us> (raw)
In-Reply-To: <CADCOqPx_s6yfmyfV8osigsB4Qra=WUNu+P3xWQn672fsnZi6NQ@mail.gmail.com>
References: <CADCOqPx_s6yfmyfV8osigsB4Qra=WUNu+P3xWQn672fsnZi6NQ@mail.gmail.com>
Chris Bisnett <cbisnett@gmail.com> writes:
> The only downside I’ve seen is that this is a global setting and my
> understanding is that this would cause decreased performance when used with
> tables with a lot of writes and deletes. Is there a technical reason this
> setting cannot be applied at the database or table context like other
> autovacuum settings?
There's an autovacuum_freeze_min_age reloption, isn't that
what you need?
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, cbisnett@gmail.com
Subject: Re: Per-Table vacuum_freeze_min_age
In-Reply-To: <3185187.1649283742@sss.pgh.pa.us>
References: <CADCOqPx_s6yfmyfV8osigsB4Qra=WUNu+P3xWQn672fsnZi6NQ@mail.gmail.com> <3185187.1649283742@sss.pgh.pa.us>
* 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