pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Clamp result of MultiXactMemberFreezeThreshold
Date: Thu, 13 Jun 2024 16:04:15 +0000
Message-ID: <E1sHmvu-001LPh-7M@gemulon.postgresql.org> (raw)

Clamp result of MultiXactMemberFreezeThreshold

The purpose of the function is to reduce the effective
autovacuum_multixact_freeze_max_age if the multixact members SLRU is
approaching wraparound, to make multixid freezing more aggressive.
The returned value should therefore never be greater than plain
autovacuum_multixact_freeze_max_age.

Reviewed-by: Robert Haas
Discussion: https://www.postgresql.org/message-id/85fb354c-f89f-4d47-b3a2-3cbd461c90a3@iki.fi
Backpatch-through: 12, all supported versions

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b91b3f045abeaad4599bdac9ad7d7f55d7ff234c

Modified Files
--------------
src/backend/access/transam/multixact.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1sHmvu-001LPh-7M@gemulon.postgresql.org>
Permalink:  ../E1sHmvu-001LPh-7M@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sHmvu-001LPh-7M@gemulon.postgresql.org

 · 

reply

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-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Clamp result of MultiXactMemberFreezeThreshold
  In-Reply-To: <E1sHmvu-001LPh-7M@gemulon.postgresql.org>

* 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