pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Aaron Held <aaron@MetroNY.com>
Cc: Roberto Mello <rmello@cc.usu.edu>
Cc: Neil Conway <neilc@samurai.com>
Cc: pgsql-sql@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [SQL] Monitoring a Query
Date: Mon, 23 Sep 2002 10:49:53 -0400 (EDT)
Message-ID: <200209231449.g8NEnrl11375@candle.pha.pa.us> (raw)
In-Reply-To: <3D8F25B6.3090809@MetroNY.com>

Aaron Held wrote:
> It looks like that just timestamps things in its connection pool, that 
> is what I do now.
> 
> What I would like is to know about queries that have not finished yet.

OK, added to TODO:

	* Add start time to pg_stat_activity

Should we supply the current duration too?  That value would change on
each call.   Seems redundant.

-- 
  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



view thread (20+ messages)  latest in thread

Message-ID: <200209231449.g8NEnrl11375@candle.pha.pa.us>
Permalink:  ../200209231449.g8NEnrl11375@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200209231449.g8NEnrl11375@candle.pha.pa.us

 · 

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: pgman@candle.pha.pa.us, aaron@MetroNY.com, rmello@cc.usu.edu, neilc@samurai.com, pgsql-general@postgresql.org
  Subject: Re: [SQL] Monitoring a Query
  In-Reply-To: <200209231449.g8NEnrl11375@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