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

ORACLE基础知识-获取链接数

2012-09-07 
ORACLE基础知识----获取链接数select * from v$session where username is not nullselect username,count

ORACLE基础知识----获取链接数
select * from v$session where username is not nullselect 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









热点排行