Re: [SQL] Monitoring a Query

Поиск
Список
Период
Сортировка
От Aaron Held
Тема Re: [SQL] Monitoring a Query
Дата
Msg-id 3D8F25B6.3090809@MetroNY.com
обсуждение исходный текст
Ответ на Re: Monitoring a Query  (Neil Conway <neilc@samurai.com>)
Ответы Re: [SQL] Monitoring a Query  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: "Shridhar Daithankar"
Дата:
Сообщение: Postgresql Automatic vacuum
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Open Source Database article