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

From Aaron Held
Subject Re: [SQL] Monitoring a Query
Date
Msg-id 3D8F25B6.3090809@MetroNY.com
Whole thread Raw
In response to Re: Monitoring a Query  (Neil Conway <neilc@samurai.com>)
Responses Re: [SQL] Monitoring a Query
List pgsql-general
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.

-Aaron

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



pgsql-general by date:

Previous
From: "Shridhar Daithankar"
Date:
Subject: Postgresql Automatic vacuum
Next
From: Bruce Momjian
Date:
Subject: Re: Open Source Database article