Re: vacuum full problem

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Cc: pginfo <pginfo(at)t1(dot)unisoftbg(dot)com>
Subject: Re: vacuum full problem
Date: 2003-11-11 10:55:15
Message-ID: 3FB0C013.4010505@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

pginfo wrote:

> Hi,
> I can not be sure if it is not the case.
> But we are usin this system on a number of servers and it happen only by
> one.
> Can I with a pg_locks help detect the query that is running?

No the pg_locks detect only which process handle a lock on a
database object.
With pg_stat_activity you see the queries running.

Also the command

ps -eafwww | grep post

show you the connection and his state, I bet
you have some connection "IDLE in TRANSACTION"

Regards
Gaeatano Mendola

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Danielle Cossette 2003-11-11 13:34:06 Upgrading to Solaris 9
Previous Message pginfo 2003-11-11 08:23:04 Re: vacuum full problem