Skip site navigation (1) Skip section navigation (2)

Re: automatically detecting long timed locks

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tino Schwarze <postgresql(at)tisc(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: automatically detecting long timed locks
Date: 2007-09-13 13:58:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Tino Schwarze <postgresql(at)tisc(dot)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

In response to

pgsql-admin by date

Next:From: Josh TrutwinDate: 2007-09-13 14:10:29
Subject: Re: Installing PostgreSQL admin package
Previous:From: Ashish KaralkarDate: 2007-09-13 12:57:54
Subject: Installing PostgreSQL admin package

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group