Re: BUG #11264: Auto vacuum wraparound job blocking everything

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Dinesh Bhandary <dbhandary(at)switchfly(dot)com>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything
Date: 2014-08-27 16:45:27
Message-ID: 20140827164527.GG7046@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dinesh Bhandary 2014-08-27 17:08:24 Re: BUG #11264: Auto vacuum wraparound job blocking everything
Previous Message Dinesh Bhandary 2014-08-27 16:21:10 Re: BUG #11264: Auto vacuum wraparound job blocking everything