From: Ian Jackson Subject: Re: [OSSTEST PATCH 2/2] Executive DB: Reduce strength of DB locks Date: Fri, 11 Dec 2015 16:53:51 +0000 Message-ID: <22122.65439.425967.739294@mariner.uk.xensource.com> References: <1449850984-21651-1-git-send-email-ian.jackson@eu.citrix.com> <1449850984-21651-2-git-send-email-ian.jackson@eu.citrix.com> <1449851859.30975.66.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a7QxA-0005F2-UZ for xen-devel@lists.xenproject.org; Fri, 11 Dec 2015 16:53:57 +0000 In-Reply-To: <1449851859.30975.66.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [OSSTEST PATCH 2/2] Executive DB: Reduce strength= of DB locks"): > On Fri, 2015-12-11 at 16:23 +0000, Ian Jackson wrote: > > =A0 SET TRANSACTION ISOLATION LEVEL SERIALIZABLE; > > not mean that the transactions are necessarily serialisable! > = > =A0^does not? Yes, thanks. > > Preventing concurrent read access means that simple and urgent updates > > can be unnecessarily delayed by long-running reader transactions in > > the history reporters and archaelogists. > = > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 archaeologists Fixed. > > So, reduce the lock mode from ACCESS EXCLUSIVE to ACCESS.=A0=A0This sti= ll > > conflicts with all kinds of updates and prospective updates, but no > > longer with SELECT: > > =A0 http://www.postgresql.org/docs/8.3/static/explicit-locking.html > > = > > Signed-off-by: Ian Jackson > = > Acked-by: Ian Campbell Thanks, Ian.