pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Daniel Lagerman <spjheruur@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Impact of multixact "members" limit exceeded
Date: Wed, 13 Jun 2018 23:29:01 -0400
Message-ID: <20180614032901.wn5xfnizfxnj2q7t@alvherre.pgsql> (raw)
In-Reply-To: <CAAw8gvhLtq+bCkT2CPqrqLK5dYtU9fcS8_408TtwEgc=5dzCAg@mail.gmail.com>

On 2018-Jun-13, Daniel Lagerman wrote:

> Hello!
> 
> I have a question where I'm trying to determine the seriousness of the
> problem.

What's your server version?

The way to reclaim members space is to move forwards the
pg_database.datminmxid value from the database where it is oldest; and
the way to move *that* forward is to advance the pg_class.relminmxid
value from the tables in which it is oldest.  So you need to set a low
value vacuum_multixact_freeze_min_age and _table_age and vacuum those
tables.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (9+ messages)  latest in thread

Message-ID: <20180614032901.wn5xfnizfxnj2q7t@alvherre.pgsql>
Permalink:  ../20180614032901.wn5xfnizfxnj2q7t@alvherre.pgsql/
Also on:    postgresql.org/message-id/20180614032901.wn5xfnizfxnj2q7t@alvherre.pgsql

 · 

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 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: alvherre@2ndquadrant.com, spjheruur@gmail.com
  Subject: Re: Impact of multixact "members" limit exceeded
  In-Reply-To: <20180614032901.wn5xfnizfxnj2q7t@alvherre.pgsql>
  References: <CAAw8gvhLtq+bCkT2CPqrqLK5dYtU9fcS8_408TtwEgc=5dzCAg@mail.gmail.com> <20180614032901.wn5xfnizfxnj2q7t@alvherre.pgsql>

* 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