From: Tom Lane <tgl@sss.pgh.pa.us>
To: David F. Skoll <dfs@roaringpenguin.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Row locking during UPDATE
Date: Thu, 04 Sep 2003 11:25:08 -0400
Message-ID: <28514.1062689108@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.55.0309041110430.3275@shishi.roaringpenguin.com>
References: <Pine.LNX.4.55.0309040812310.1962@shishi.roaringpenguin.com>
<22649.1062684367@sss.pgh.pa.us>
<Pine.LNX.4.55.0309041110430.3275@shishi.roaringpenguin.com>
"David F. Skoll" <dfs@roaringpenguin.com> writes:
>> Which process does have the row lock, and why isn't it completing its
>> transaction?
> I don't know the details of PostgreSQL's implementation, but it seems
> that when lots of processes are waiting to update the same row, it
> gets incredibly slow.
Hmm. That might represent a fixable bug. How many is "lots"? Can you
give a self-contained test case?
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, dfs@roaringpenguin.com
Subject: Re: Row locking during UPDATE
In-Reply-To: <28514.1062689108@sss.pgh.pa.us>
References: <Pine.LNX.4.55.0309040812310.1962@shishi.roaringpenguin.com> <22649.1062684367@sss.pgh.pa.us> <Pine.LNX.4.55.0309041110430.3275@shishi.roaringpenguin.com> <28514.1062689108@sss.pgh.pa.us>
* 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