- select count(*) from v$session where username is not null order by machine;
- select * from v$session where username is not null order by machine;
- select count(*) from v$session where username is not null and machine='test1' order by machine ;
- select count(*) from v$session where username is not null and machine='localhost.localdomain' order by machine ;
- select * from v$process where username is not null ;
- select * from V$SHARED_SERVER_MONITOR ;
- SELECT * FROM v$open_cursor;
- SELECT sql_text,COUNT(*) FROM v$sql s , v$session se WHERE se.prev_hash_value =s.hash_value GROUP BY sql_text;
本文提供了一系列Oracle SQL查询语句,用于检查和统计当前数据库中所有有效连接的状态及详细信息,包括按客户端机器名分组的连接数等。
1445

被折叠的 条评论
为什么被折叠?



