微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

怎么解决expdp报错ORA-04063问题

本篇内容介绍了“怎么解决expdp报错ORA-04063问题”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

使用expdp导出数据时,报错如下:
Export: Release 11.2.0.4.0 - Production on Fri Jun 1 18:18:57 2018

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, OLAP, Data Mining and Real Application Testing options
ORA-31626: job does not exist
ORA-31637: cannot create job SYS_EXPORT_SCHEMA_01 for user CEM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT", line 1587
ORA-39062: error creating master process DM00
ORA-31613: Master process DM00 Failed during startup.
原因是:
	经过查询发现,数据库的两个组件invalid和一些对象失效,具体如下
	Some objects invalid cause export failure, customer need to validate these components and SYS objects. 
 
The following are collecting informations : 
 
sql> select comp_name, status, version 
2  from dba_registry; 
 
COMP_NAME                                STATUS               VERSION 
---------------------------------------- -------------------- ------------------------------------------------------------ 
Oracle Text                              VALID                11.2.0.2.0 
Oracle Workspace Manager                 VALID                11.2.0.2.0 
Oracle Database Catalog Views            INVALID              11.2.0.2.0 <<<<<<<<<<<<<<<<<<<<<<<<<< 
Oracle Database Packages and Types       INVALID              11.2.0.2.0  <<<<<<<<<<<<<<<<<<<<<<<<<< 
Oracle Real Application Clusters         VALID                11.2.0.2.0 
 
 
sql> select owner, object_name, object_type, status 
2  from dba_objects 
3  where status <> 'VALID'; 
 
OWNER              OBJECT_NAME                                        OBJECT_TYPE          STATUS 
------------------ -------------------------------------------------- -------------------- -------------------- 
SYS                DBMS_MetaDATA                                      PACKAGE BODY         INVALID <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
SYS                DBMS_MetaDATA_INT                                  PACKAGE BODY         INVALID <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
SYS                DBMS_MetaDATA_UTIL                                 PACKAGE BODY         INVALID <<<<<<<<<<<<<<解决方案:
please perform the following scripts during system idle time to recompile invalid objects.
Note: before running the script, take full backup and validate the backups.
 
sql> connect / sysdba
sql> spool catalog.log
sql> @?/rdbms/admin/catalog
sql> spool off
sql> spool catproc.log
sql> @?/rdbms/admin/catproc
sql> spool off
sql> spool utlrp.log
sql> @?/rdbms/admin/utlrp
sql> spool off
 
When you finished, perform the following sql to check for invalid objects.
 
sql> select owner,object_name,object_type,status from dba_objects where status = 'INVALID';

“怎么解决expdp报错ORA-04063问题”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注编程之家网站,小编将为大家输出更多高质量的实用文章

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐