Re: outdated (bad) information in pg_stat_activity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: outdated (bad) information in pg_stat_activity
Дата
Msg-id 19566.1134574200@sss.pgh.pa.us
обсуждение исходный текст
Ответ на outdated (bad) information in pg_stat_activity  (hubert depesz lubaczewski <depesz@gmail.com>)
Ответы Re: outdated (bad) information in pg_stat_activity  (hubert depesz lubaczewski <depesz@gmail.com>)
Список pgsql-general
hubert depesz lubaczewski <depesz@gmail.com> writes:
> my pg_stat_activity is raporting process working on a query for 12 hours
> straight! (query_start).
> 2 problems:
> 1. this particular query runs typically between 80 and 200 miliseconds!
> 2. procpid of this backend does not exists anymore in system

It's possible that the "backend exited" message got dropped by the stats
mechanism --- the stats code is deliberately designed to lose messages
rather than delay the rest of the system, so it's not 100% reliable.

            regards, tom lane

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

Предыдущее
От: Guido Neitzer
Дата:
Сообщение: Improving Availability
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Improving Availability