如何手动获得 comparion report

来源:互联网 发布:linux根据域名查ip 编辑:程序博客网 时间:2024/06/10 12:38

版本:11.2.0.4

两种方式都是使用sqlplus 进入

1 @?/rdbms/admin/awrddrpt.sql

2 spool /tmp/addrpt.html

select * from table(DBMS_WORKLOAD_REPOSITORY.AWR_DIFF_REPORT_HTML(dbid1 => '769957880',inst_num1 => 1,bid1 => 1180,eid1 => 1181,dbid2=>'769957880',inst_num2 => 1, bid2=>1182,eid2=>1183));
spool off

0 0