| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера