Re: vacuum_multixact_failsafe_age doesn't account for MultiXact member exhaustion - Mailing list pgsql-hackers

From Sami Imseih
Subject Re: vacuum_multixact_failsafe_age doesn't account for MultiXact member exhaustion
Date
Msg-id CAA5RZ0u43s4YbR=0mJ0_k3VGWjchJHhYnCoaZVzeLd3ccZtwhQ@mail.gmail.com
Whole thread Raw
In response to vacuum_multixact_failsafe_age doesn't account for MultiXact member exhaustion  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-hackers
> ISTM that vacuum_xid_failsafe_check() should really be doing something
> similar. For example, it could prorate using
> vacuum_multixact_failsafe_age, calculating a member-space-wise
> threshold to trigger the failsafe at, independent of
> mxid_age(relminmxid) itself.

+1. For the case mentioned in this thread, running
vacuum without index-cleanup did help in their case. So triggering
failsafe based on a member-space-wise threshold sounds like a good idea to me.

I also think exposing the members count [0] will be a good idea
as well. One of the complaints in the postmortem is the lack of
visibility into multixact members.

[0]
https://www.postgresql.org/message-id/flat/CALdSSPi3Gh08NtcCn44uVeUAYGOT74sU6uei_06qUTa5rMK43g%40mail.gmail.com#bfd9ae766ef42f7599258183aa8ddb3b

--
Sami Imseih
Amazon Web Services (AWS)



pgsql-hackers by date:

Previous
From: Andy Fan
Date:
Subject: Re: plan shape work
Next
From: jian he
Date:
Subject: Re: Prevent internal error at concurrent CREATE OR REPLACE FUNCTION