[Oracle] oracle expdp导出报错ORA-39213


本文总阅读量

1、使用expdp导出

1
2
3
4
5
6
7
8
[oracle@rac1 ~]$ expdp \"/ as sysdba\" directory=exp_data_dir full=y dumpfile=oibs_full.dmp cluster=n parallel=4 logfile=expdp.log exclude=STATISTICS
Export: Release 11.2.0.4.0 - Production on Wed Mar 13 16:14:01 2019
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORA-39006: internal error
ORA-39213: Metadata processing is not available

2、查看报错信息

1
2
3
4
5
6
[oracle@rac1 ~]$ 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.

3、根据提示执行dbms_metadata_util.load_stylesheets命令

1
2
3
4
5
6
7
8
9
10
11
12
[oracle@rac1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Wed Mar 13 16:15:27 2019
Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

16:15:27 SYS@ oibs11> execute dbms_metadata_util.load_stylesheets;
PL/SQL procedure successfully completed.
Elapsed: 00:00:14.93
目录
  1. 1. 1、使用expdp导出
  2. 2. 2、查看报错信息
  3. 3. 3、根据提示执行dbms_metadata_util.load_stylesheets命令

Proudly powered by Hexo and Theme by Lap
本站访客数人次
© 2020 zeven0707's blog