From: | Roberto Mello <rmello(at)cc(dot)usu(dot)edu> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
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: [GENERAL] Monitoring a Query |
Date: | 2002-09-23 22:01:16 |
Message-ID: | 20020923220116.GE2180@cc.usu.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-sql |
On Mon, Sep 23, 2002 at 10:48:30AM -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.
Forgive my ignorance here, but what is GUC? And how would I access the
query duration?
-Roberto
--
+----| Roberto Mello - http://www.brasileiro.net/ |------+
+ Computer Science Graduate Student, Utah State University +
+ USU Free Software & GNU/Linux Club - http://fslc.usu.edu/ +
Q: What is purple and commutes?
A: A boolean grape.
From | Date | Subject | |
---|---|---|---|
Next Message | pilsl | 2002-09-23 22:15:47 | Re: bug(?) : order by function limit x |
Previous Message | Andy Kriger | 2002-09-23 21:46:12 | query for non-unique values? |
From | Date | Subject | |
---|---|---|---|
Next Message | Gavin Sherry | 2002-09-23 23:16:58 | Re: Temp tables and LRU-K caching |
Previous Message | Tom Lane | 2002-09-23 21:42:51 | Re: Default privileges for 7.3 |
From | Date | Subject | |
---|---|---|---|
Next Message | RVL | 2002-09-23 22:23:14 | HELP w/ SQL -- distinct select with non distinct fields? |
Previous Message | Tom Lane | 2002-09-23 20:55:48 | Re: [GENERAL] CURRENT_TIMESTAMP |