Re: automatically detecting long timed locks - Mailing list pgsql-admin

From Tom Lane
Subject Re: automatically detecting long timed locks
Date
Msg-id 8029.1189691892@sss.pgh.pa.us
Whole thread Raw
In response to Re: automatically detecting long timed locks  (Tino Schwarze <postgresql@tisc.de>)
List pgsql-admin
Tino Schwarze <postgresql@tisc.de> writes:
> So I'd like to watch for transactions waiting for the lock in step 3 - I
> do not care for the time it took to perform the work.

Dunno if this is of any use to you, but there is a "log_lock_waits"
feature in CVS HEAD that seems to be exactly what you want.  I couldn't
recommend running 8.3 in production yet, but it wouldn't be out of the
realm of reason to back-port the patch for that.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Ashish Karalkar"
Date:
Subject: Installing PostgreSQL admin package
Next
From: Josh Trutwin
Date:
Subject: Re: Installing PostgreSQL admin package