查看oracle数据库的连接数以及用户 11.查询oracle的连接数2select count(*) from v$session;32.查询oracle的并发连接数4select count(*) from v$session where status='ACTIVE';53.查看不同用户的连接数6select username,count(username) from v$session where username is not null group by username;74.查看所…
1.set autotrace traceonly命令 2.explain plan for命令 1)explain plan for select * from dual; 2)select * from table(dbms_xplan.display); 3.10046查看Oracle数据库中的执行计划 能够得到SQL执行计划中每一个执行步骤所消耗的逻辑读,物理读,和花费的时间.实际上,也可以通过gather_plan_sstatistics Hint 配合dbms_xplan 包一起使用…
http://www.cnblogs.com/is1988/archive/2012/11/21/2780067.html 1.查询oracle的连接数select count(*) from v$session;2.查询oracle的并发连接数select count(*) from v$session where status='ACTIVE';3.查看不同用户的连接数select username,count(username) from v$session where username…