prev_sql_id
select sql_id,event,count(*) from gv$session where wait_class<>'Idele' group by event,sql_id order by count(*);
prev_sql_id
select sql_id,event,count(*) from gv$session where wait_class<>'Idele' group by event,sql_id order by count(*);