pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Dinesh Bhandary <dbhandary@switchfly.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything
Date: Wed, 27 Aug 2014 12:45:27 -0400
Message-ID: <20140827164527.GG7046@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <f7046bb9cac04dbb817905760a1e9c8d@CO2PR05MB569.namprd05.prod.outlook.com>
References: <20140825225029.2536.5315@wrigleys.postgresql.org>
	<20140827152636.GC7046@eldon.alvh.no-ip.org>
	<33085ff949d9484f8d3e6a1b86d15717@CO2PR05MB569.namprd05.prod.outlook.com>
	<20140827154800.GE7046@eldon.alvh.no-ip.org>
	<f7046bb9cac04dbb817905760a1e9c8d@CO2PR05MB569.namprd05.prod.outlook.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Dinesh Bhandary wrote:
> Here is the pg_controldata output from 9.1. Thanks. Dinesh
> 
> $ /usr/pgsql-9.1/bin/pg_controldata data

> Time of latest checkpoint:            Sat 19 Jul 2014 07:02:38 AM GMT

Ah, so you upgraded a month ago, not one week ago, right?


> Latest checkpoint's NextMultiXactId:  20783

I'm betting this is the problem.  The 9.3 cluster should have
oldestMulti=20783, but instead it has oldestMulti=1.  Either pg_upgrade
is misreading the nextMulti value from the old cluster, or pg_resetxlog
is failing to set oldestMulti appropriately ... or something funny
happened to pg_control in the meantime.  I just ran a quick test, and I
see that pg_upgrade is setting oldestMulti correctly (to the old
cluster's NextMultiXactId value) in the new cluster when upgrading from
9.1.

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


-- 
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 (24+ messages)  latest in thread

Message-ID: <20140827164527.GG7046@eldon.alvh.no-ip.org>
Permalink:  ../20140827164527.GG7046@eldon.alvh.no-ip.org/
Also on:    postgresql.org/message-id/20140827164527.GG7046@eldon.alvh.no-ip.org

 · 

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: alvherre@2ndquadrant.com, dbhandary@switchfly.com
  Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything
  In-Reply-To: <20140827164527.GG7046@eldon.alvh.no-ip.org>
  References: <20140825225029.2536.5315@wrigleys.postgresql.org> <20140827152636.GC7046@eldon.alvh.no-ip.org> <33085ff949d9484f8d3e6a1b86d15717@CO2PR05MB569.namprd05.prod.outlook.com> <20140827154800.GE7046@eldon.alvh.no-ip.org> <f7046bb9cac04dbb817905760a1e9c8d@CO2PR05MB569.namprd05.prod.outlook.com> <20140827164527.GG7046@eldon.alvh.no-ip.org>

* 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