X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 2E587D1BA68 for ; Thu, 4 Sep 2003 15:25:20 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 47538-04 for ; Thu, 4 Sep 2003 12:25:09 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 338EAD1B89D for ; Thu, 4 Sep 2003 12:25:09 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h84FP8jX028515; Thu, 4 Sep 2003 11:25:08 -0400 (EDT) To: "David F. Skoll" Cc: pgsql-admin@postgresql.org Subject: Re: Row locking during UPDATE In-reply-to: References: <22649.1062684367@sss.pgh.pa.us> Comments: In-reply-to "David F. Skoll" message dated "Thu, 04 Sep 2003 11:14:03 -0400" Date: Thu, 04 Sep 2003 11:25:08 -0400 Message-ID: <28514.1062689108@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/61 X-Sequence-Number: 10149 "David F. Skoll" 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