pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Dinesh Bhandary <dbhandary@switchfly.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything
Date: Fri, 29 Aug 2014 17:45:07 -0400
Message-ID: <20140829214507.GN7705@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <D0263EFF.15F68%dbhandary@switchfly.com>
References: <20140827164527.GG7046@eldon.alvh.no-ip.org>
	<D0235DA4.15146%dbhandary@switchfly.com>
	<20140827175105.GI7046@eldon.alvh.no-ip.org>
	<9ac49eee319c43f6a344a2d5d2c38093@CO2PR05MB569.namprd05.prod.outlook.com>
	<20140829191729.GI7705@eldon.alvh.no-ip.org>
	<D0262A20.15F16%dbhandary@switchfly.com>
	<20140829210753.GK7705@eldon.alvh.no-ip.org>
	<D0263A07.15F41%dbhandary@switchfly.com>
	<20140829212505.GL7705@eldon.alvh.no-ip.org>
	<D0263EFF.15F68%dbhandary@switchfly.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (24+ messages)  latest in thread

Message-ID: <20140829214507.GN7705@eldon.alvh.no-ip.org>
Permalink:  ../20140829214507.GN7705@eldon.alvh.no-ip.org/
Also on:    postgresql.org/message-id/20140829214507.GN7705@eldon.alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@2ndquadrant.com, dbhandary@switchfly.com
  Subject: Re: BUG #11264: Auto vacuum wraparound job blocking everything
  In-Reply-To: <20140829214507.GN7705@eldon.alvh.no-ip.org>
  References: <20140827164527.GG7046@eldon.alvh.no-ip.org> <D0235DA4.15146%dbhandary@switchfly.com> <20140827175105.GI7046@eldon.alvh.no-ip.org> <9ac49eee319c43f6a344a2d5d2c38093@CO2PR05MB569.namprd05.prod.outlook.com> <20140829191729.GI7705@eldon.alvh.no-ip.org> <D0262A20.15F16%dbhandary@switchfly.com> <20140829210753.GK7705@eldon.alvh.no-ip.org> <D0263A07.15F41%dbhandary@switchfly.com> <20140829212505.GL7705@eldon.alvh.no-ip.org> <D0263EFF.15F68%dbhandary@switchfly.com> <20140829214507.GN7705@eldon.alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox