pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Armand du Plessis <adp@bank.io>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Transaction ID wrap limit is log entries
Date: Mon, 20 May 2013 09:11:43 -0400
Message-ID: <3238.1369055503@sss.pgh.pa.us> (raw)
In-Reply-To: <CANf99sXZ9m4J6QXxecFJprUF0Njs+WNn1RTWsiYHT9To_bnBSA@mail.gmail.com>
References: <CANf99sUyKcOpuacR_Lms4JpAfOV1KnskJM4EFNSAB3x3-=zCRw@mail.gmail.com>
	<CA+U5nMKfm0xrMgy_ND=1LKBrYUCC0bU_g_=V7m_Jpa8zDe=scg@mail.gmail.com>
	<CANf99sXOekH0m0TBE2uQJuUai0nRqiOE1mUwmoiyj8qTcL8EYQ@mail.gmail.com>
	<CANf99sXZ9m4J6QXxecFJprUF0Njs+WNn1RTWsiYHT9To_bnBSA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Armand du Plessis <adp@bank.io> writes:
> The autovacuum completed (after many hours) however it didn't seem to have
> frozen any old pages as it just kicks off again right away with the same
> reason (VACUUM ANALYZE public.messages (to prevent wraparound))

I suspect it's unable to move the table's min XID forward at all because
there is some old open transaction preventing cleanup of very old dead
tuples.  Look for old xact_start times in pg_stat_activity.  Also look
for old entries in pg_prepared_xacts.  If you find any, get rid of them.

			regards, tom lane


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



view thread (8+ messages)  latest in thread

Message-ID: <3238.1369055503@sss.pgh.pa.us>
Permalink:  ../3238.1369055503@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3238.1369055503@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, adp@bank.io
  Subject: Re: Transaction ID wrap limit is log entries
  In-Reply-To: <3238.1369055503@sss.pgh.pa.us>

* 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