From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tiffany Thang <tiffanythang@gmail.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Forums postgresql <pgsql-general@postgresql.org>
Subject: Re: pg_multixact/members growing
Date: Wed, 23 May 2018 18:37:38 -0400
Message-ID: <20180523223738.jt6bhksace23o3js@alvherre.pgsql> (raw)
In-Reply-To: <13256.1527113781@sss.pgh.pa.us>
On 2018-May-23, Tom Lane wrote:
> Tiffany Thang <tiffanythang@gmail.com> writes:
> > Where do I find pg_controldata? I could not locate it on the file system.
>
> Hmm, should be one of the installed PG executables.
>
> > pg_clog/ or pg_subtrans/ or pg_multixact/offsets/ are getting larger too
> > but by only a few hundreds MBs.
>
> This is consistent with the idea that something is holding back the
> oldest-transaction horizon. (However, I'd think you'd also be having
> serious problems with table bloat if that were true, so it's a bit
> mystifying.) Did you check for unclosed prepared transactions?
Another option is that you have a standby server with
hot_standby_feedback enabled, and an open transaction there. I'm not
sure to what extent it is possible for that to cause multixact problems,
but it wouldn't hurt to check.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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, tgl@sss.pgh.pa.us, tiffanythang@gmail.com, thomas.munro@enterprisedb.com
Subject: Re: pg_multixact/members growing
In-Reply-To: <20180523223738.jt6bhksace23o3js@alvherre.pgsql>
References: <13256.1527113781@sss.pgh.pa.us> <20180523223738.jt6bhksace23o3js@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