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

From: Dinesh Bhandary <dbhandary(at)switchfly(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(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-29 20:02:45
Message-ID: D0262A20.15F16%dbhandary@switchfly.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I think the fix is working. Now I am able to kill copy job while auto
vacuum job is going on that table.

Since I am setting pg_resetxlog on the primary, do I need to do that on
the slave too? Please let me know

Thanks.
Dinesh

On 8/29/14, 12:17 PM, "Alvaro Herrera" <alvherre(at)2ndquadrant(dot)com> wrote:

>Dinesh Bhandary wrote:
>> and that should fix it. The oldestMulti value in pg_control would get
>>updated by itself some time later. If you experience stalls before
>>oldestMulti fixes itself, you could stop the server (cleanly!) and then
>>pg_resetxlog -m x,y where x 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2014-08-29 21:07:53 Re: BUG #11264: Auto vacuum wraparound job blocking everything
Previous Message Alvaro Herrera 2014-08-29 19:17:30 Re: BUG #11264: Auto vacuum wraparound job blocking everything