1. select event from dba_hist_active_sess_history t where t.SESSION_ID='' and t.SESSION_SERIAL#='' and t.SAMPLE_TIME > sysdate -1/24
如果event列为空的话,证明没有异常等待事件
2.select * from v$session_wait s where s.SID=''
如果关于这个sid,v$sesion_wait查出来的结果为空的话,证明没有异常等待事件
select * from v$sqlarea a where a.SQL_ID=''