Thanks to visit codestin.com
Credit goes to postgrespro.com

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 [email protected]
Whole thread Raw
In response to Re: App very unresponsive while performing simple update  (Tom Lane <[email protected]>)
List pgsql-performance
Tom Lane <[email protected]> writes:

> Greg Stark <[email protected]> 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