5M在对库下某几个用户下数据进行数据泵导出时,出现报错
导出命令:expdp ‘/ as sysdba’ dumpfile=main_test_%U.dmp directory=expdpdir compression=all schemas=main_test,MAINTESTREAD,MAINTESTAPP,MAINTESTOPER,MAINTESTAPP,CLAIM_MAIN_TEST logfile=main_test.log parallel=8 cluster=no
报错:
[oracle@CBSDEVDB expdpdir]$ cat main_test.log | grep ORA-
ORA-31693: Table data object “MAIN_TEST”.“T_UW_PRODUCT” failed to load/unload and is being skipped due to error:
ORA-06508: PL/SQL: could not find program unit being called
ORA-31693: Table data object “MAIN_TEST”.“T_GROUP_POLICY” failed to load/unload and is being skipped due to error:
ORA-06508: PL/SQL: could not find program unit being called
ORA-31693: Table data object “MAIN_TEST”.“T_CLAIM_CASE_BAK” failed to load/unload and is being skipped due to error:
ORA-06508: PL/SQL: could not find program unit being called
也尝试使用SYS和临时创建的DBA用户test进行单表导出,也出现报错,如下:
[oracle@CBSDEVDB expdpdir]$ expdp ‘/ as sysdba’ directory=expdpdir dumpfile=test_t1.dmp tables=test.t1
Export: Release 11.2.0.3.0 - Production on Thu Oct 31 18:58:12 2019
Copyright © 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39006: internal error
ORA-39065: unexpected master process exception in DISPATCH
ORA-04065: not executed, altered or dropped
ORA-04065: not executed, altered or dropped stored procedure “SYS.UTL_RAW”
ORA-06508: PL/SQL: could not find program unit being called: “SYS.UTL_RAW”
ORA-39097: Data Pump job encountered unexpected error -4065
查看SYS.UTL_RAW信息如下:
SQL> select OWNER,OBJECT_NAME,CREATED,LAST_DDL_TIME,STATUS from dba_objects where OWNER=‘SYS’ and OBJECT_NAME=‘UTL_RAW’;
OWNER OBJECT_NAM CREATED LAST_DDL_TIME STATUS
SYS UTL_RAW 20-MAY-13 18-JUL-19 VALID
SYS UTL_RAW 20-MAY-13 18-JUL-19 VALID
请老师们帮忙看看问题出在哪了
墨值悬赏

评论
