pg_multixact not getting truncated

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_multixact not getting truncated
Date: 2014-11-04 00:49:36
Message-ID: 545822A0.4040700@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hackers,

I'm looking at a couple of high-transaction-rate and high-FK-conflict
rate servers where pg_multixact has grown to be more than 1GB in size.
One such server doesn't appear to be having any notable issues with
vacuuming, and the oldest mxid on the system is about 47m old. VACUUM
FREEZEing the oldest databases did not cause the pg_multixact dir to get
smaller --- it may have even caused it to get larger.

Why would pg_multixact not be truncating? Does it never truncate files
with aborted multixacts in them? Might we have another multixact bug?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabrízio de Royes Mello 2014-11-04 00:55:02 Re: Patch: add recovery_timeout option to control timeout of restore_command nonzero status code
Previous Message Jeff Janes 2014-11-04 00:16:08 Re: BRIN indexes - TRAP: BadArgument