pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Stark <gsstark@mit.edu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Greg Stark <gsstark@mit.edu>
Cc: Brendan Duddridge <brendan@clickspace.com>
Cc: PostgreSQL Performance <pgsql-performance@postgresql.org>
Subject: Re: App very unresponsive while performing simple update
Date: 28 May 2006 19:24:14 -0400
Message-ID: <8764jpn36p.fsf@stark.xeocode.com> (raw)
In-Reply-To: <159.1148851939@sss.pgh.pa.us>
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>
	<87slmum3th.fsf@stark.xeocode.com>
	<159.1148851939@sss.pgh.pa.us>


Tom Lane <tgl@sss.pgh.pa.us> writes:

> Greg Stark <gsstark@mit.edu> writes:
>
> > Except I don't think this is taking an exclusive lock at all. The original
> > post had the deadlock detection fire on a SharedLock.
> 
> Yeah, but it was a ShareLock on a transaction ID, which is the trace
> of something doing XactLockTableWait, which is only done if we're
> blocking on a locked or updated-but-uncommitted row.

Oops, didn't see this before I sent my last message. Brendan, in case it's not
clear, in case of a conflict between my explanation and Tom's listen to Tom.

:)


-- 
greg




view thread (18+ messages)  latest in thread

Message-ID: <8764jpn36p.fsf@stark.xeocode.com>
Permalink:  ../8764jpn36p.fsf@stark.xeocode.com/
Also on:    postgresql.org/message-id/8764jpn36p.fsf@stark.xeocode.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gsstark@mit.edu, tgl@sss.pgh.pa.us, brendan@clickspace.com
  Subject: Re: App very unresponsive while performing simple update
  In-Reply-To: <8764jpn36p.fsf@stark.xeocode.com>

* 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