当我在12.2中通过pdb登录生成awr时报错 [oracle@xb admin]$ sqlplus sys/oracle@pdb12c as sysdba sys@PDB12C> @?/rdbms/admin/awrsqrpt.sql Specify the Report Type ~~~~~~~~~~~~~~~~~~~~~~~ Would you like an HTML report, or a plain text report? Enter 'html' for an HTML report, or 'text' for plain text Defaults to 'html' Enter value for report_type: Type Specified: html Specify the location of AWR Data ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AWR_ROOT - Use AWR data from root (default) AWR_PDB - Use AWR data from PDB Enter value for awr_location: AWR_PDB Location of AWR Data Specified: AWR_PDB >>>>====这里选择的AWR_PDB declare * ERROR at line 1: ORA-20200: Database/Instance 3393322654/1 does not exist in AWR_PDB_DATABASE_INSTANCE ORA-06512: at line 27 但是如果选择AWR_ROOT时则正常 Location of AWR Data Specified: AWR_ROOT >>>>==== ... Current Instance ~~~~~~~~~~~~~~~~……

阅读全文