Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1emMsh-0000ug-Nd for pgsql-general@arkaria.postgresql.org; Thu, 15 Feb 2018 16:59:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emMsg-0004wB-Uo for pgsql-general@arkaria.postgresql.org; Thu, 15 Feb 2018 16:59:34 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1emMpC-0006mr-9i for pgsql-general@lists.postgresql.org; Thu, 15 Feb 2018 16:55:58 +0000 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::10]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1emMac-0003Vh-Dj for pgsql-general@lists.postgresql.org; Thu, 15 Feb 2018 16:41:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1518712849; s=strato-dkim-0002; d=mbisping.de; h=Content-Transfer-Encoding:Content-Type:Date:Message-ID:Subject:From: To:X-RZG-CLASS-ID:X-RZG-AUTH; bh=9VqmZ7Pyx7O93O+2TqJm1eztnA6lwSlBJpNtYADBQo4=; b=oxC3AFUgfa2Cl23WvMJ2vclKUFs0AsfFCmNtZT6zlKYSIhCucbuYeala/4rlyq5566 6RvyCiycUasydLNKwhX5G6+mHgWY2xvimrjzCVMWy2xXrvC3Zb2VR3aQcOWQ26h9ynGN GEOmL97IPMGdpdPJuIdCtgKlCZ4BSAQdi0jahJlT/CO7wIkFCoU6D03xxiI8REmEaCu6 2Y8bsCxgl1aD71OzrikKAqQuvI3Dbkp3e4GuU+MaK+X+M6Bhbwqp9tffvzrQ+SHiwkKp 54jkOsce20CoNS0QZUi+QIDPxfA8uAx8usLVR8LlEo94Fc8dBtsjj9aFzxXkSJm1s6B0 rgbg== X-RZG-AUTH: :JWICemClefYV0cq24W95csGbnCYw1N2+mzESoWmjUREFoYudFivXAai3J0FwPn6+pQkkv7UWJzqvKWFte3tTViq8a8JURjk= X-RZG-CLASS-ID: mo00 Received: from [IPv6:2003:90:8f17:4200:863a:4bff:fe09:22e2] (p200300908F174200863A4BFFFE0922E2.dip0.t-ipconnect.de [IPv6:2003:90:8f17:4200:863a:4bff:fe09:22e2]) by smtp.strato.de (RZmta 42.18 AUTH) with ESMTPSA id x0852au1FGemERz (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Thu, 15 Feb 2018 17:40:48 +0100 (CET) To: pgsql-general@lists.postgresql.org From: Meikel Bisping Subject: Can parallel vacuum commands lead to a lock in Postgres 10.2 Message-ID: <9c78e39f-196a-06ee-8886-f7bc9b05e443@mbisping.de> Date: Thu, 15 Feb 2018 17:40:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: de-DE List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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