問題現象:
expdp報如下錯誤 ORA-39006: internal error ORA-39213: Metadata processing is not available 參考metalink:Ora-39213 Using Data Pump Export (文檔 ID 402242.1),執行如下語句: SQL> execute sys.dbms_metadata_util.load_stylesheets;提示如下錯誤
begin dbms_metadata_util.load_stylesheets; end; ORA-01114: IO error writing block to file (block #) ORA-06512: at "dbms_metadata_util",line 2345 ORA-06512: at line 2解決辦法:
正確的如下,沒有報錯。 execute dbms_metadata_util.load_stylesheets; 再次執行expdp報如下錯誤: ORA-39006: internal error ORA-39065: unexpected master process exception in DISPATCH ORA-01403: no data found ORA-39097: Data Pump job encountered unexpected error 100 執行執行如下腳本,重新生成DATAPUMP AIP即可: sqlplus / as sysdba SQL>@$ORACLE_HOME/rdbms/admin/catmeta.sql SQL>@$ORACLE_HOME/rdbms/admin/catmet2.sql SQL>@$ORACLE_HOME/rdbms/admin/utlrp.sql