Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XDF2s-0000pW-9C for pgsql-bugs@arkaria.postgresql.org; Fri, 01 Aug 2014 15:47:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XDF2r-00019x-DU for pgsql-bugs@arkaria.postgresql.org; Fri, 01 Aug 2014 15:47:01 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XDF2o-00013c-Ie for pgsql-bugs@postgresql.org; Fri, 01 Aug 2014 15:46:58 +0000 Received: from mail-pd0-x22e.google.com ([2607:f8b0:400e:c02::22e]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XDF2l-0001VY-5A for pgsql-bugs@postgresql.org; Fri, 01 Aug 2014 15:46:56 +0000 Received: by mail-pd0-f174.google.com with SMTP id fp1so5755570pdb.33 for ; Fri, 01 Aug 2014 08:46:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janrain.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=cyV1SfGEmyDUq7ZFP9uOAIA126aWKNkbf7cXX3RoVBY=; b=O80DTJRUW7ZgL4TqsLB7gTfI9kXvDy7CvUa9A3KHuye9OCQczjZ5kNztCW7BVXpB9G hmtyW0KZ0C0PDU1NENcjea55kdVshLNlCdEaUQ2ghUrgcgC0mUBllX6ZhI9yJJnAZEpt Ki/Bd7j7lQQBcW3WF4ylaSxz4+Hlcp6YbyikA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=cyV1SfGEmyDUq7ZFP9uOAIA126aWKNkbf7cXX3RoVBY=; b=B5YIJiPtk0IVysaM8xoKS5BjnT1X+1nE9zh4+1Z3AFhiMuTIdVSXESY2v7qnVJdh5n F6kKuujPep5+gvdA3eScE+7PjsbUQRQyygOliL+ZZawWH7XZHVC0Ibe0X2NeT/5I401u 8Z7ylXFZVnGtV3tGCPdmV0Cwcxq4Mq8Q9vcxA39+U1D5ued5gAaiCBHVJBhU4sTt3I81 LorwsYorDNGOJfVDEUDB2hv4QDvTNSJTJdycq0gIM3VtKFPBoXf0oR9sdsu9xRzas3RW kLF/sgHgDFbO/8+OzSfhyufl8d/gQrzNCrT+ntCpHKF6bcbl/lkUpCHb7rJdsfD0Rm1o 6fnw== X-Gm-Message-State: ALoCoQnb2pzxHixhPn9n7BOg3wPoFIvCi+ypWeUoQg4Mw3yshrTDwhtNWXc0wS7gIhDX/z4yz9kX X-Received: by 10.70.38.161 with SMTP id h1mr7203040pdk.142.1406908013470; Fri, 01 Aug 2014 08:46:53 -0700 (PDT) Received: from andrew-ThinkPad-X230 (173-164-68-213-Oregon.hfc.comcastbusiness.net. [173.164.68.213]) by mx.google.com with ESMTPSA id mj9sm13619122pdb.44.2014.08.01.08.46.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 01 Aug 2014 08:46:52 -0700 (PDT) Date: Fri, 1 Aug 2014 08:46:43 -0700 From: Andrew Sackville-West To: Marti Raudsepp Cc: pgsql-bugs@postgresql.org Subject: Re: regression, deadlock in high frequency single-row UPDATE Message-ID: <20140801154643.GA19615@andrew-ThinkPad-X230> References: <20140731233051.GN17765@andrew-ThinkPad-X230> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Fri, Aug 01, 2014 at 06:40:51PM +0300, Marti Raudsepp wrote: > On Fri, Aug 1, 2014 at 2:30 AM, Andrew Sackville-West wrote: > > I have not been able to reproduce the deadlock by making concurrent > > UPDATEs via what amounts to a bash fork-bomb w/ psql, but I suspect my > > methodology might be too crude there. > > Another way is using pgbench. Write a script file with the SQL query > in it (must be on a single line). Then launch it as: > pgbench -f scriptfile.sql -n -c 10 dbname > a perfect, thanks I'll see if I can reproduce this way and follow up. A -- -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs