Re: outdated (bad) information in pg_stat_activity

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: outdated (bad) information in pg_stat_activity
Дата
Msg-id 9e4684ce0512140920s52a7a0e4v5d670deab566a6a4@mail.gmail.com
обсуждение исходный текст
Ответ на Re: outdated (bad) information in pg_stat_activity  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 12/14/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
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.

is it possible to "by hand" remove bad entries from this stats?

depesz

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

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: Release 8.1.1 for Fedora X 64bits
Следующее
От: Chris Browne
Дата:
Сообщение: Re: Release 8.1.1 for Fedora X 64bits