From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Francisco Olarte <folarte@peoplecall.com>
Cc: hubert depesz lubaczewski <depesz@depesz.com>
Cc: huang <foggyglass@163.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: vacuumdb parallel has a deadlock detected in 9.5.4
Date: Thu, 29 Sep 2016 14:10:57 -0300
Message-ID: <20160929171057.GA426369@alvherre.pgsql> (raw)
In-Reply-To: <CA+bJJbx8+SKBU=XUE+HxZHysh9226iMfTnA69AznwRTOEGtR7Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Francisco Olarte wrote:
> I would propose another behaviour, which I think can solve the problem
> without introducing more complex code. Put a couple of flags to vacuum
> only catalog tables / non catalog tables ( I believe this can be
> served by include/exclude schemas too, which will be even more useful
> for other things ). This way one can do a full paralell vacuum of
> non-catalog objects followed by a serial one on catalog objects (
> which should not be too slow on 'normal' databases )
OK, that sounds easier to implement. Are you going to submit a patch?
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, 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
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, folarte@peoplecall.com, depesz@depesz.com, foggyglass@163.com
Subject: Re: vacuumdb parallel has a deadlock detected in 9.5.4
In-Reply-To: <20160929171057.GA426369@alvherre.pgsql>
References: <CA+bJJbx8+SKBU=XUE+HxZHysh9226iMfTnA69AznwRTOEGtR7Q@mail.gmail.com> <20160929171057.GA426369@alvherre.pgsql>
* 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