Re: How to find a number of connections

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: How to find a number of connections
Дата
Msg-id 20051114192736.GF18570@pervasive.com
обсуждение исходный текст
Ответ на How to find a number of connections  ("Brusser, Michael" <Michael.Brusser@matrixone.com>)
Список pgsql-hackers
It would be better to ask this on -general, but

SELECT count(*) FROM pg_stat_activity;

is what you want.

On Fri, Nov 11, 2005 at 12:35:28PM -0500, Brusser, Michael wrote:
> Is there a way to find a number of current connections on Postgres 7.3.x
> ?
> 
> I looked at some system tables and views, but did not see anything
> obvious.
> 
>  
> 
> Thank you,
> 
> Mike
> 
>  
> 

-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


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

Предыдущее
От: Tino Wildenhain
Дата:
Сообщение: Re: functions marked STABLE not allowed to do INSERT
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: 8.0 -> 8.1 dump duplicate key problem?