pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Cc: pginfo <pginfo@t1.unisoftbg.com>
Subject: Re: vacuum full problem
Date: Tue, 11 Nov 2003 11:55:15 +0100
Message-ID: <3FB0C013.4010505@bigfoot.com> (raw)
In-Reply-To: <3FB09C68.2003C6F9@t1.unisoftbg.com>
References: <3FAB2AFA.E32E7FD6@t1.unisoftbg.com>
	<3FAB78F3.8060406@albourne.com>
	<3FABBEAB.D15DBA8@t1.unisoftbg.com>
	<3FB08DF3.5080703@albourne.com>
	<20031111000039.L47755@megazone.bigpanda.com>
	<3FB09C68.2003C6F9@t1.unisoftbg.com>

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




view thread (15+ messages)  latest in thread

Message-ID: <3FB0C013.4010505@bigfoot.com>
Permalink:  ../3FB0C013.4010505@bigfoot.com/
Also on:    postgresql.org/message-id/3FB0C013.4010505@bigfoot.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mendola@bigfoot.com, pginfo@t1.unisoftbg.com
  Subject: Re: vacuum full problem
  In-Reply-To: <3FB0C013.4010505@bigfoot.com>
  References: <3FAB2AFA.E32E7FD6@t1.unisoftbg.com> <3FAB78F3.8060406@albourne.com> <3FABBEAB.D15DBA8@t1.unisoftbg.com> <3FB08DF3.5080703@albourne.com> <20031111000039.L47755@megazone.bigpanda.com> <3FB09C68.2003C6F9@t1.unisoftbg.com> <3FB0C013.4010505@bigfoot.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox