From: Bruno Wolff III <bruno@wolff.to>
To: Jim C. Nasby <jnasby@pervasive.com>
Cc: Greg Stark <gsstark@mit.edu>
Cc: Brendan Duddridge <brendan@clickspace.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: App very unresponsive while performing simple update
Date: Wed, 31 May 2006 10:11:41 -0500
Message-ID: <20060531151141.GA20992@wolff.to> (raw)
In-Reply-To: <20060531062307.GG53487@pervasive.com>
References: <961F6F02-4B00-494C-B071-6DF76A305C14@clickspace.com>
<21B15664-F4EE-462C-88B4-EEEB2B4A979F@clickspace.com>
<874pzanvk6.fsf@stark.xeocode.com>
<17733.1148832292@sss.pgh.pa.us>
<3C756C36-DC66-4D13-B2CE-99CFCE7BF390@clickspace.com>
<87hd39n3c4.fsf@stark.xeocode.com>
<20060531062307.GG53487@pervasive.com>
On Wed, May 31, 2006 at 01:23:07 -0500,
"Jim C. Nasby" <jnasby@pervasive.com> wrote:
> On Sun, May 28, 2006 at 07:20:59PM -0400, Greg Stark wrote:
> > Brendan Duddridge <brendan@clickspace.com> writes:
> > More likely you were blocking on some lock. Until that other query holding
> > that lock tries to commit Postgres won't actually detect a deadlock, it'll
> > just sit waiting until the lock becomes available.
>
> Wow, are you sure that's how it works? I would think it would be able to
> detect deadlocks as soon as both processes are waiting on each other's
> locks.
I don't see how it could wait for a commit. If a command is blocked waiting for
a lock, how are you going to get a commit (you might get a rollback if the
query is aborted)?
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: bruno@wolff.to, jnasby@pervasive.com, gsstark@mit.edu, brendan@clickspace.com, tgl@sss.pgh.pa.us
Subject: Re: App very unresponsive while performing simple update
In-Reply-To: <20060531151141.GA20992@wolff.to>
* 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