Re: Big number of connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




2016-04-04 17:43 GMT+03:00 Moreno Andreo <moreno.andreo@xxxxxxxxxx>:
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' 





[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux