The default report file name is awrrpt_1_52_56.html.To use this name,
press <return>tocontinue, otherwise enter an alternative.
Enter valuefor report_name:/oracle/app/oracle/admin/gyl/dpdump/awr_rac.html
整個過程都很簡單,但有幾點需要注意:
1、不能將同一個數據庫的AWR數據導出后再導入到自己,這樣會遇到下面的錯誤
ERROR at line 1:
ORA-20105: unable to move AWR data to SYS
ORA-06512: at "SYS.DBMS_SWRF_INTERNAL", line 2950
ORA-20107: not allowed to move AWR data for local dbid
ORA-06512: at line 3
2、在導入的時候,在輸入值時,盡量用大寫;
3、如果不再需要的數據,可以用如下存儲過程刪除:
SQL> exec DBMS_SWRF_INTERNAL.UNREGISTER_DATABASE(bdid); --將dbid換成需要刪除的dbid號