pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Neil Conway <neilc@samurai.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Aaron Held <aaron@MetroNY.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: Monitoring a Query
Date: 20 Sep 2002 15:54:45 -0400
Message-ID: <87znuc5tdm.fsf@mailbox.samurai.com> (raw)
In-Reply-To: <200209201619.g8KGJ4J00624@candle.pha.pa.us>
References: <200209201619.g8KGJ4J00624@candle.pha.pa.us>

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?

Cheers,

Neil

-- 
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC




view thread (20+ messages)  latest in thread

Message-ID: <87znuc5tdm.fsf@mailbox.samurai.com>
Permalink:  ../87znuc5tdm.fsf@mailbox.samurai.com/
Also on:    postgresql.org/message-id/87znuc5tdm.fsf@mailbox.samurai.com

 · 

reply

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: neilc@samurai.com, pgman@candle.pha.pa.us, aaron@MetroNY.com, pgsql-general@postgresql.org
  Subject: Re: Monitoring a Query
  In-Reply-To: <87znuc5tdm.fsf@mailbox.samurai.com>

* 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