From: Meikel Bisping <info@mbisping.de>
To: pgsql-general@lists.postgresql.org
Subject: Can parallel vacuum commands lead to a lock in Postgres 10.2
Date: Thu, 15 Feb 2018 17:40:48 +0100
Message-ID: <9c78e39f-196a-06ee-8886-f7bc9b05e443@mbisping.de> (raw)
Hello,
we have lots of scripts which issue individual vacuum commands to tables
like "vacuum full gxstage_bs" but also general "vaccum full" commands.
Until now these scripts run sequentially and there are no problems.
Now the idea is to run some scripts in parallel, my question is if
parallel vacuum commands can lead to a lock in 10.2?
Unfortunately it isn't easy to change the scripts and rely on
auto-vacuum since they are installed on lots of customers' hosts and
installing updates is very complex.
Any suggestion is very much appreciated
Meikel Bisping
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-general@postgresql.org
Cc: info@mbisping.de
Subject: Re: Can parallel vacuum commands lead to a lock in Postgres 10.2
In-Reply-To: <9c78e39f-196a-06ee-8886-f7bc9b05e443@mbisping.de>
References: <9c78e39f-196a-06ee-8886-f7bc9b05e443@mbisping.de>
* 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