Re: [SQL] Monitoring a Query

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [SQL] Monitoring a Query
Дата
Msg-id 200209231449.g8NEnrl11375@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] Monitoring a Query  (Aaron Held <aaron@MetroNY.com>)
Ответы Re: [SQL] Monitoring a Query  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Aaron Held wrote:
> 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.

OK, added to TODO:

    * Add start time to pg_stat_activity

Should we supply the current duration too?  That value would change on
each call.   Seems redundant.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] Monitoring a Query
Следующее
От: "Johnson, Shaunn"
Дата:
Сообщение: rotatelog / logrotate with PostgreSQL