Re: Number of Active Connections

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: Number of Active Connections
Дата
Msg-id ci4t5o$si6$1@floppy.pyrenet.fr
обсуждение исходный текст
Ответ на Number of Active Connections  (MaRCeLO PeReiRA <gandalf_mp@yahoo.com.br>)
Список pgsql-general
MaRCeLO PeReiRA wrote:

> Hi guys,
>
> How can I know about the number of active
> connections?? (not the maximum allowed, but the number
> of open connections).
>

If you have enough permission:

select count(*) from pg_stat_activity;



Regards
Gaetano Mendola



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

Предыдущее
От: MaRCeLO PeReiRA
Дата:
Сообщение: Re: Number of Active Connections
Следующее
От: Ying Lu
Дата:
Сообщение: about C-JDBC for postgreSQL