| От | Tom Lane |
|---|---|
| Тема | Re: Query stucked in pg_stat_activity |
| Дата | |
| Msg-id | 17110.1123606399@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Query stucked in pg_stat_activity (Jan Wieck <JanWieck@Yahoo.com>) |
| Список | pgsql-general |
Jan Wieck <JanWieck@Yahoo.com> writes:
>> Jan, any thoughts?
> The reset call is supposed to throw away everything. If it leaves crap
> behind, I'd call that a bug.
resetcounters only thinks it is supposed to zero the counters for the
current database. That seems considerably different from "throw away
everything". In any case, with autovacuum coming up fast on the outside
it doesn't seem that we want to encourage people to reset the stats on
a routine basis.
> IIRC the pg_stat functions don't examine the shared memory, but rely
> entirely on information from the stats file. It sure would be possible
> to add something there that checks the PGPROC array.
Yeah. I'll take a look at doing this.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера