pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sackville-West <awest@janrain.com>
To: Marti Raudsepp <marti@juffo.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: regression, deadlock in high frequency single-row UPDATE
Date: Fri, 1 Aug 2014 08:46:43 -0700
Message-ID: <20140801154643.GA19615@andrew-ThinkPad-X230> (raw)
In-Reply-To: <CABRT9RCnVf+Jd3ecJSWa7fTSKF-qa2g-28QV9re9Kin=0o1VEw@mail.gmail.com>
References: <20140731233051.GN17765@andrew-ThinkPad-X230>
	<CABRT9RCnVf+Jd3ecJSWa7fTSKF-qa2g-28QV9re9Kin=0o1VEw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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 <awest@janrain.com> 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



view thread (34+ messages)  latest in thread

Message-ID: <20140801154643.GA19615@andrew-ThinkPad-X230>
Permalink:  ../20140801154643.GA19615@andrew-ThinkPad-X230/
Also on:    postgresql.org/message-id/20140801154643.GA19615@andrew-ThinkPad-X230

 · 

reply

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: awest@janrain.com, marti@juffo.org
  Subject: Re: regression, deadlock in high frequency single-row UPDATE
  In-Reply-To: <20140801154643.GA19615@andrew-ThinkPad-X230>
  References: <20140731233051.GN17765@andrew-ThinkPad-X230> <CABRT9RCnVf+Jd3ecJSWa7fTSKF-qa2g-28QV9re9Kin=0o1VEw@mail.gmail.com> <20140801154643.GA19615@andrew-ThinkPad-X230>

* 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