Re: Database locks

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alex Turner <armtuk(at)gmail(dot)com>
Cc: PgSQL General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Database locks
Date: 2005-02-18 17:13:08
Message-ID: 19217.1108746788@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alex Turner <armtuk(at)gmail(dot)com> writes:
> Is there any way to get the list of locks by transation id or some
> other datum to indicate which was first, or to figure out which is the
> lock that is holding everything else back?

Perhaps get some stats on the rows with granted=f to see what seems to be
blocking the most people.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Clemens Wehrmann 2005-02-18 17:13:27 Debugging a postgresql server crash.
Previous Message John Sidney-Woollett 2005-02-18 17:11:46 Re: PostgreSQL Replication