下面的文章主要是介绍如何运用SQL语句查询来查看Oracle当前连接数,如果你对如何运用SQL语句查询来查看Oracle当前连接数的具体操作步骤不是很了解的话,你就可以点击以下的文章对其进行了解。
怎样查看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
- 1.
- 2.
- 3.
- 4.
查看不同用户的连接数
select count(*) from v$session
- 1.
连接数
Select count(*) from v$session where status='ACTIVE'
- 1.
并发连接数
show parameter processes
- 1.
最大连接
alter system set processes = value scope = spfile;
- 1.
重启数据库修改连接
/home/Oracle9i/app/Oracle9i/dbs/init.ora
/home/Oracle9i/app/Oracle9i/dbs/spfilexxx.ora
## open_cursor
- 1.
- 2.
- 3.
以上的相关内容就是对Oracle当前连接数相关内容的介绍,望你能有所收获。
【编辑推荐】