Re: How to find a number of connections
От | Brusser, Michael |
---|---|
Тема | Re: How to find a number of connections |
Дата | |
Msg-id | DAF7A2046DD4A24F8F77B086F840BF1903B01564@msx11am.matrixone.net обсуждение исходный текст |
Ответ на | How to find a number of connections ("Brusser, Michael" <Michael.Brusser@matrixone.com>) |
Ответы |
Re: How to find a number of connections
|
Список | pgsql-hackers |
Thank you, this is very handy. I'd like to understand why the result of this query is different from the number of Postgres processes reported by `ps`. (The query returns 8, ps shows 11) One process is really postmaster, the others seem to be doing some house chores: stats buffer process and stats collector process. Do they actually use connections, decrementing what's available from the max_connections value? Thank you -----Original Message----- From: pgsql-hackers-owner@postgresql On Behalf Of Bryan White ... ... Brusser, Michael wrote: > Is there a way to find a number of current connections on Postgres > 7.3.x ? select count(*) from pg_stat_activity
В списке pgsql-hackers по дате отправления: