Checking what is the current query running

From: "Marco Bizzarri" <marco(dot)bizzarri(at)gmail(dot)com>
To: Postgres <pgsql-admin(at)postgresql(dot)org>
Subject: Checking what is the current query running
Date: 2006-07-25 08:15:25
Message-ID: 3f0d61c40607250115m5660c40cg6a5e1df9e531ff86@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi all.

I've a postgresql where sometimes a process can remaing running a
query for a very long time.

Aside from logging the queries, is there a way to know which query is
running in one particular moment?

Regards
Marco

--
Marco Bizzarri
http://notenotturne.blogspot.com/

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Szabolcs BALLA 2006-07-25 08:39:23 Out of memory when vacuuming
Previous Message Paul S 2006-07-25 00:46:30 Re: problem backup/restore PSQL DB