Re: Monitoring a Query

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
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-23 01:51:55
Message-ID: 200209230151.g8N1ptW22413@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-sql

Neil Conway wrote:
> 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?

What do people think about this? It seems like a good idea to me.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-09-23 02:58:58 FW: PostgreSQL for Netware
Previous Message Alvaro Herrera 2002-09-22 16:04:32 Re: output format for dates

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-09-23 01:53:25 Re: Memory Errors...
Previous Message Bruce Momjian 2002-09-23 01:46:14 Re: [HACKERS] [GENERAL] Memory Errors...

Browse pgsql-sql by date

  From Date Subject
Next Message Aaron Held 2002-09-23 13:24:38 Re: Monitoring a Query
Previous Message David Stanaway 2002-09-22 05:32:49 Is there a better way than this to get the start and end of a month?