posts - 119, comments - 62, trackbacks - 0, articles - 0

如何查看Oracle的连接数

Posted on 2006-09-21 17:18 Kevin Meng 阅读(6203) 评论(0)  编辑  收藏
在数据库开发中,打开数据库连接是很慢的。怎样oracle当前的连接数呢?只需要用下面的SQL语句查询一下就可以了。
select * from v$session where username is not null

查看不同用户的连接数
select username,count(username) from v$session where username is not null group by username

只有注册用户登录后才能发表评论。


网站导航: