Re: BUG #11264: Auto vacuum wraparound job blocking everything - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #11264: Auto vacuum wraparound job blocking everything
Date
Msg-id 20140829191729.GI7705@eldon.alvh.no-ip.org
Whole thread Raw
In response to BUG #11264: Auto vacuum wraparound job blocking everything  (dbhandary@switchfly.com)
Responses Re: BUG #11264: Auto vacuum wraparound job blocking everything  (Dinesh Bhandary <dbhandary@switchfly.com>)
List pgsql-bugs
Dinesh Bhandary wrote:
> and that should fix it.  The oldestMulti value in pg_control would get updated by itself some time later.  If you
experiencestalls before oldestMulti fixes itself, you could stop the server (cleanly!) and then pg_resetxlog -m x,y
wherex is the correct nextMulti value from pg_controldata and y is 20783. 
>
> Are you referreing to NextMultiXactId of current pg_controldata ( from postgres 9.3.5) for x?
> There is also NextMultiOffset, not sure If you meant to reset this. Please confirm.

No, leave the offset alone.  I meant that the "x" value (i.e. the part
before the comma) should stay unchanged; you only need to change the
"oldest" value, which is "y" (part after the comma).

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

pgsql-bugs by date:

Previous
From: David G Johnston
Date:
Subject: Re: BUG #11304: UNION query with NULL values fails
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything