From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Neil Conway <neilc@samurai.com>
Cc: Aaron Held <aaron@MetroNY.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: Monitoring a Query
Date: Sun, 22 Sep 2002 21:51:55 -0400 (EDT)
Message-ID: <200209230151.g8N1ptW22413@candle.pha.pa.us> (raw)
In-Reply-To: <87znuc5tdm.fsf@mailbox.samurai.com>
Neil Conway wrote:
> Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, neilc@samurai.com, aaron@MetroNY.com, pgsql-general@postgresql.org
Subject: Re: Monitoring a Query
In-Reply-To: <200209230151.g8N1ptW22413@candle.pha.pa.us>
* 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