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-29 21:45:07
Message-ID: 20140829214507.GN7705@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2014-08-30 23:32:26 Re: [BUGS] Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns
Previous Message Dinesh Bhandary 2014-08-29 21:32:22 Re: BUG #11264: Auto vacuum wraparound job blocking everything