-- AWR SQL Stat History 확인 with w_sqlstat as ( select /*+ inline use_nl(a,b,c) leading(a) index(a (sql_id))*/ a.*, to_char(b.begin_interval_time,'mm/dd hh24:mi') snap_time from dba_hist_sqlstat a , dba_hist_snapshot b where b.dbid = a.dbid and b.instance_number = a.instance_number and b.snap_id = a.snap_id and a.sql_id = '7s4bffkwdq1r4' -- and a.module like 'BTmapsc090%' -- and b.instance_number = 1 -- and b.dbid = 3107085369 -- and a.snap_id >= 15817 --and b.snap_id = 55925 --and ...
댓글
댓글 쓰기