Re: [GENERAL] Monitoring a Query

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] Monitoring a Query
Дата
Msg-id 200209230151.g8N1ptW22413@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: [GENERAL] Monitoring a Query
Список pgsql-sql
Neil Conway wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Aaron Held wrote:
> > > Is there any way to monitor a long running query?
> >
> > Oh, sorry, you want to know how far the query has progressed.  Gee, I
> > don't think there is any easy way to do that.
>
> 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.

--
  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-sql по дате отправления:

Предыдущее
От: David Stanaway
Дата:
Сообщение: Is there a better way than this to get the start and end of a month?
Следующее
От: Aaron Held
Дата:
Сообщение: Re: [GENERAL] Monitoring a Query