From: | Aaron Held <aaron(at)MetroNY(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Monitoring a Query |
Date: | 2002-09-20 15:34:27 |
Message-ID: | 3D8B4003.3090303@MetroNY.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-sql |
Is there any way to monitor a long running query?
I have stats turned on and I can see my queries, but is there any better
measure of the progress?
Thanks,
-Aaron Held
select current_query from pg_stat_activity;
current_query
<IDLE>
<IDLE>
<IDLE>
<IDLE>
<IDLE> in transaction
FETCH ALL FROM PgSQL_470AEE94
<IDLE> in transaction
select * from "Calls" WHERE "DurationOfCall" = 2.5 AND "DateOfCall" =
'7/01/02' AND ("GroupCode" = 'MIAMI' OR "GroupCode" = 'Salt Lake');
<IDLE>
<IDLE>
<IDLE>
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-09-20 16:18:06 | Re: Monitoring a Query |
Previous Message | Tom Lane | 2002-09-20 15:32:23 | Re: Data Dump Issue |
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Wieck | 2002-09-20 15:36:39 | Re: Win32 rename()/unlink() questions |
Previous Message | Bruce Momjian | 2002-09-20 15:29:23 | Re: Current CVS is broken |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-09-20 16:18:06 | Re: Monitoring a Query |
Previous Message | Tom Lane | 2002-09-20 15:19:30 | Re: timestamp parse error |