Re: [SQL] Monitoring a Query - Mailing list pgsql-general

From Bruce Momjian
Subject Re: [SQL] Monitoring a Query
Date
Msg-id 200209231449.g8NEnrl11375@candle.pha.pa.us
Whole thread Raw
In response to Re: [SQL] Monitoring a Query  (Aaron Held <aaron@MetroNY.com>)
Responses Re: [SQL] Monitoring a Query  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [SQL] Monitoring a Query
Next
From: "Johnson, Shaunn"
Date:
Subject: rotatelog / logrotate with PostgreSQL