select * from (
select wait_class,count(*) cn
from v$active_session_history
where sample_time > sysdate-5/24/60
group by wait_class
order by cn desc
)
where rownum<=10;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29952014/viewspace-2120324/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29952014/viewspace-2120324/