How to find a number of connections

Поиск
Список
Период
Сортировка
Искать

How to find a number of connections

От:
"Brusser, Michael" <Michael.Brusser@matrixone.com>
Дата:
Is there a way to find a number of current connections on Postgres 7.3.x
?

Thank you,
Mike


Re: How to find a number of connections

От:
Bruno Wolff III <bruno@wolff.to>
Дата:
On Fri, Nov 11, 2005 at 15:09:41 -0500, "Brusser, Michael"  wrote:
> Is there a way to find a number of current connections on Postgres 7.3.x
> ?

This might help you:
http://www.postgresql.org/docs/7.3/static/monitoring.html

Re: How to find a number of connections

От:
Bryan White <bryan@arcamax.com>
Дата:
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

-- 
Bryan White, ArcaMax Publishing Inc.

I never look back, darling. it distracts from the now. - Edna Mode

FAQ