Re: Monitoring a Query

From: Neil Conway <neilc(at)samurai(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Aaron Held <aaron(at)MetroNY(dot)com>, pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Monitoring a Query
Date: 2002-09-20 19:54:45
Message-ID: 87znuc5tdm.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-sql

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Aaron Held wrote:
> > Is there any way to monitor a long running query?
>
> Oh, sorry, you want to know how far the query has progressed. Gee, I
> don't think there is any easy way to do that.

Would it be a good idea to add the time that the current query began
execution at to pg_stat_activity?

Cheers,

Neil

--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Reyes 2002-09-20 20:00:41 PostgreSQL for netware
Previous Message Elaine Lindelef 2002-09-20 19:48:53 Re: PHP + PostgreSQL

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2002-09-20 20:37:12 Re: DROP COLUMN misbehaviour with multiple inheritance
Previous Message Tom Lane 2002-09-20 19:50:37 Re: Optimizer generates bad plans.

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2002-09-20 21:23:32 Re: Getting acces to MVCC version number
Previous Message Aaron Held 2002-09-20 19:13:31 Re: Monitoring a Query