pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <kgrittn@ymail.com>
To: Timothy Garnett <tgarnett@panjiva.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated)
Date: Wed, 8 Apr 2015 12:32:20 +0000 (UTC)
Message-ID: <484646479.1823884.1428496340597.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <CAPcyiQ1tKyMj348o2-zKQWrGM=vyjOboVog+gF74j5rXw8=Hjg@mail.gmail.com>
References: <CAPcyiQ1tKyMj348o2-zKQWrGM=vyjOboVog+gF74j5rXw8=Hjg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Timothy Garnett <tgarnett@panjiva.com> wrote:

>>> - why didn't vacuum_db -a -F free up more members files?
>>
>> Are you sure that while the problem was developing the primary
>> cluster didn't have any long-running transactions (including
>> those left "idle in transaction" or prepared transactions)?  Was
>> there a checkpoint following the vacuumdb -a -F run?
>
> The vacuum_db was run after we recovered from backup (which
> involved restarting the server) so at the time the vacuum_db
> started there were no open transactions.  There have have been
> checkpoints since the vacuum_db finished as well.
>
> In the lead up to the problem there wouldn't have been any
> transactions open more then a couple of hours (the oldest members
> file was over 6 months old).

Thanks; that helps narrow where we need to look for the bug.  Just
to be sure, what are the results of?:

SHOW max_prepared_transactions;

If that is non-zero, do you have any monitoring for rows in the
pg_prepared_xacts view with a "prepared" value older than some
reasonable threshold?

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (113+ messages)  latest in thread

Message-ID: <484646479.1823884.1428496340597.JavaMail.yahoo@mail.yahoo.com>
Permalink:  ../484646479.1823884.1428496340597.JavaMail.yahoo@mail.yahoo.com/
Also on:    postgresql.org/message-id/484646479.1823884.1428496340597.JavaMail.yahoo@mail.yahoo.com

 · 

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-bugs@postgresql.org
  Cc: kgrittn@ymail.com, tgarnett@panjiva.com
  Subject: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated)
  In-Reply-To: <484646479.1823884.1428496340597.JavaMail.yahoo@mail.yahoo.com>
  References: <CAPcyiQ1tKyMj348o2-zKQWrGM=vyjOboVog+gF74j5rXw8=Hjg@mail.gmail.com> <484646479.1823884.1428496340597.JavaMail.yahoo@mail.yahoo.com>

* 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