Re: Big number of connections

Поиск
Список
Период
Сортировка
От Artem Tomyuk
Тема Re: Big number of connections
Дата
Msg-id CANYYVqKn9i9kkmxCBwUcd6g5FbgXmTBRxYrAVD2p6wLgLh4BrA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Big number of connections  (Moreno Andreo <moreno.andreo@evolu-s.it>)
Ответы Re: Big number of connections  (Moreno Andreo <moreno.andreo@evolu-s.it>)
Список pgsql-performance

2016-04-04 17:43 GMT+03:00 Moreno Andreo <moreno.andreo@evolu-s.it>:
s there a way to monitor active connections, or at least to report when they grow too much?
(say, I have an 8-core system and want to track down if, and when, active connections grow over 80)

You can achieve that just running simple query like
select count(*) from pg_stat_activity where state = 'active' 




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

Предыдущее
От: Moreno Andreo
Дата:
Сообщение: Re: Big number of connections
Следующее
От: Moreno Andreo
Дата:
Сообщение: Re: Big number of connections