Re: lock table problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: marcelo Cortez <jmdc_marcelo(at)yahoo(dot)com(dot)ar>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: lock table problem
Date: 2006-08-25 04:24:37
Message-ID: 18216.1156479877@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

marcelo Cortez <jmdc_marcelo(at)yahoo(dot)com(dot)ar> writes:
> the pg_statistics show too many lock table ( fron my
> app.) and all of them is in waiting state.
> the only way to go out from this situation is restart
> the cluster.

Surely a few query cancels would be sufficient.

> where is the way to investigate lock's table tree ?

The pg_locks view should tell you who's hogging the locks.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-08-25 04:36:41 Re: FW: Serverlog 100GB
Previous Message Christopher Browne 2006-08-25 03:18:24 Re: SQL:2003 Window Functions for postgresql 8.3?