查看Postgresql的连接数

查看postgresql的连接数:

select * from pg_stat_activity;

 

查看最大连接数限制:

show max_connections;

 

 

查看为超级用户保留的连接数:

show superuser_reserved_connections ; 

posted @ 2012-06-14 15:01  Joe-xXx  阅读(10825)  评论(0编辑  收藏  举报