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 20140829214507.GN7705@eldon.alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #11264: Auto vacuum wraparound job blocking everything  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-bugs
Dinesh Bhandary wrote:
> What you are saying is vacuum without tx wraparound won’t cause the
> blocking issue we had experienced.

Yep, that's correct.  You're only seeing an issue because vacuum (manual
or auto) is trying to freeze the tuple.  If the tuple is not considered
old enough to need freezing it will not cause the system to stall.  Once
you get the oldestMulti value fixed, the freezing routine will be able
to look at the tuple, notice that the multixact in it is older than the
upgrade, and decide it can just rip it out without trying to "resolve"
it.

> If that’s the case I can just change the auto vacuum on ( which can be
> changed on the fly), and I had already bumped up max_freeze_settings to
> 500 mill for now. We will change that to lower number in the next
> maintenance window.

Right -- AFAICS that should work.

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

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything
Next
From: Dinesh Bhandary
Date:
Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything