查看Oracle进程数和连接数

当前进程数

select count(*) from v$process

系统设置的最大进程数

select name,value from v$parameter where name='processes'

当前会话数

select count(*) from v$session

系统自身使用的会话数

select count(*) from x$ksuse where bitand(ksspaflg,1) !=0

猜你喜欢

转载自shion.iteye.com/blog/1591911