ORA-39213: Metadata processing is not available的解决方案是什么

网友投稿 232 2023-12-07

ORA-39213: Metadata processing is not available的解决方案是什么

ORA-39213: Metadata processing is not available的解决方案是什么,针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法

ORA-39213: Metadata processing is not available的解决方案是什么

数据库导入数据

[oracle@localhost-a ~]$impdp system/123456@prod DIRECTORY=dpdata1 DUMPFILE=test.dmp SCHEMAS=test

Import: Release 11.2.0.1.0 - Production on Wed Aug 31 17:40:07 2016

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

ORA-39006: internal error

ORA-39213: Metadata processing is not available

使用oerr命令查看错误信息:

[oracle@localhost-a ~]$ oerr ora 39213

39213, 00000, "Metadata processing is not available"

// *Cause:  The Data Pump could not use the Metadata API.  Typically,

//          this is caused by the XSL stylesheets not being set up properly.

// *Action: Connect AS SYSDBA and execute dbms_metadata_util.load_stylesheets

//          to reload the stylesheets.

按照提示进行操作,解决问题:

[oracle@localhost-a ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 31 17:44:22 2016

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> execute dbms_metadata_util.load_stylesheets;

PL/SQL procedure successfully completed.

SQL> exit

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

重新执行导入操作:

[oracle@localhost-a ~]$impdp system/123456@prod DIRECTORY=dpdata1 DUMPFILE=test.dmp SCHEMAS=test

Import: Release 11.2.0.1.0 - Production on Wed Aug 31 17:44:58 2016

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

Master table "SYSTEM"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded

Starting "SYSTEM"."SYS_IMPORT_SCHEMA_01":  system/********@prod DIRECTORY=dpdata1 DUMPFILE=test.dmp SCHEMAS=test

Processing object type SCHEMA_EXPORT/USER

Processing object type SCHEMA_EXPORT/SYSTEM_GRANT

Processing object type SCHEMA_EXPORT/ROLE_GRANT

Processing object type SCHEMA_EXPORT/DEFAULT_ROLE

Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA

Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA

Processing object type SCHEMA_EXPORT/SYNONYM/SYNONYM

Processing object type SCHEMA_EXPORT/TYPE/TYPE_SPEC

Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE

Processing object type SCHEMA_EXPORT/TABLE/TABLE

…………

Processing object type SCHEMA_EXPORT/TABLE/TRIGGER

Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS

导入成功!!!

关于ORA-39213: Metadata processing is not available的解决方案是什么问题的解答就分享到这里了,希望以上内容可以对大家有一定的帮助,如果你还有很多疑惑没有解开,可以关注行业资讯频道了解更多相关知识。

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:sqlplus: error while loading shared libraries的解决方案是什么
下一篇:ORA-06512 问题解决是怎样的呢
相关文章

 发表评论

暂时没有评论,来抢沙发吧~