-- find snap_id's
select *
from dba_hist_snapshot
order by end_interval_time desc
;
-- run the report
select output
from table(dbms_workload_repository.awr_report_text( (select dbid from v$database), 1, 25162, 25163 ))
;
select output
from table(dbms_workload_repository.awr_report_html( (select dbid from v$database), 1, 25162, 25163 ))
;
No comments:
Post a Comment