ITeye博客

如何查看Oracle的连接数

yaofeng911 · 2010-10-18 16:55 · DB · 数据库 · SQL · Oracle · Markdown

在数据库开发中,打开数据库连接是很慢的。怎样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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。