From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Aaron Held <aaron(at)MetroNY(dot)com>, Roberto Mello <rmello(at)cc(dot)usu(dot)edu>, Neil Conway <neilc(at)samurai(dot)com>, pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: [SQL] Monitoring a Query |
Date: | 2002-09-23 15:06:19 |
Message-ID: | 200209231506.g8NF6JP13779@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-sql |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > OK, added to TODO:
> > * Add start time to pg_stat_activity
>
> It would be nearly free to include the start time of the current
> transaction, because we already save that for use by now(). Is
> that good enough, or do we need start time of the current query?
Current query, I am afraid. We could optimize it so single-query
transactions wouldn't need to call that again.
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-09-23 15:15:55 | Re: rotatelog / logrotate with PostgreSQL |
Previous Message | Tom Lane | 2002-09-23 15:03:06 | Re: [SQL] Monitoring a Query |
From | Date | Subject | |
---|---|---|---|
Next Message | Roberto Fichera | 2002-09-23 15:08:45 | Re: Problem on PG7.2.2 |
Previous Message | Tom Lane | 2002-09-23 15:03:06 | Re: [SQL] Monitoring a Query |
From | Date | Subject | |
---|---|---|---|
Next Message | Jean-Luc Lachance | 2002-09-23 15:47:01 | Re: Getting acces to MVCC version number |
Previous Message | Tom Lane | 2002-09-23 15:03:06 | Re: [SQL] Monitoring a Query |