首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

查看oracle现阶段连接数

2012-07-05 
查看oracle当前连接数怎样查看oracle当前的连接数呢?只需要用下面的SQL语句查询一下就可以了。  select * f

查看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 #查看不同用户的连接数

  select count(*) from v$session?? #连接数

  Select count(*) from v$session where status='ACTIVE' #并发连接数

  show parameter processes?? #最大连接

  alter system set processes = value scope = spfile;重启数据库?? #修改连接

  /home/oracle9i/app/oracle9i/dbs/init.ora

  /home/oracle9i/app/oracle9i/dbs/spfilexxx.ora ## open_cursor

热点排行