From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Roberto Mello <rmello(at)cc(dot)usu(dot)edu> |
Cc: | Neil Conway <neilc(at)samurai(dot)com>, Aaron Held <aaron(at)MetroNY(dot)com>, pgsql-sql(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
Subject: | Re: [SQL] Monitoring a Query |
Date: | 2002-09-23 14:48:30 |
Message-ID: | 200209231448.g8NEmU311122@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-sql |
Roberto Mello wrote:
> On Sun, Sep 22, 2002 at 09:51:55PM -0400, Bruce Momjian wrote:
> > >
> > > 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.
>
> OpenACS has a package called "Developer Support" that shows you (among
> other things) how long a query took to be executed. Very good to finding
> out slow-running queries that need to be optimized.
7.3 will have GUC 'log_duration' which will show query duration.
--
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 | Bruce Momjian | 2002-09-23 14:49:53 | Re: [SQL] Monitoring a Query |
Previous Message | Tom Lane | 2002-09-23 14:45:26 | Re: Tips for re-using function results within single insert |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-09-23 14:49:53 | Re: [SQL] Monitoring a Query |
Previous Message | Tom Lane | 2002-09-23 14:40:13 | Re: Problem on PG7.2.2 |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-09-23 14:49:53 | Re: [SQL] Monitoring a Query |
Previous Message | Aaron Held | 2002-09-23 14:31:18 | Re: [SQL] Monitoring a Query |