Re: Stats collector performance improvement

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Stats collector performance improvement
Дата
Msg-id 87wtha1x87.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: Stats collector performance improvement  (Hannu Krosing <hannu@skype.net>)
Ответы Re: Stats collector performance improvement  (Hannu Krosing <hannu@skype.net>)
Список pgsql-hackers
Hannu Krosing <hannu@skype.net> writes:

> Interestingly I use pg_stat_activity view to watch for stuck backends,
> "stuck" in the sense that they have not noticed when client want away
> and are now waitin the TCP timeout to happen. I query for backends which
> have been in "<IDLE>" state for longer than XX seconds. I guess that at
> least some kind of indication for this should be available.

You mean like the tcp_keepalives_idle option?

http://www.postgresql.org/docs/8.1/interactive/runtime-config-connection.html#GUC-TCP-KEEPALIVES-IDLE

-- 
greg



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: plperl header fix and rationalisation
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: plperl vs LC_COLLATE (was Re: Possible savepoint bug)