Re: App very unresponsive while performing simple update - Mailing list pgsql-performance

From Greg Stark
Subject Re: App very unresponsive while performing simple update
Date
Msg-id 8764jpn36p.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: App very unresponsive while performing simple update  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Greg Stark
Date:
Subject: Re: App very unresponsive while performing simple update
Next
From: "Anton Maksimenkov"
Date:
Subject: select with "like" from another table