数据泵导出出现ORA-31617错误

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了数据泵导出出现ORA-31617错误相关的知识,希望对你有一定的参考价值。

Export: Release 11.2.0.4.0 - Production on Sat Jun 11 01:00:02 2016


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

Starting "SYS"."SYS_EXPORT_SCHEMA_04":  "/******** AS SYSDBA" directory=bak_dump dumpfile=exp_unspaydb_20160611.dmp logfil

e=exp_unspaydb_20160611.log schemas=vnv parallel=6 

Estimate in progress using BLOCKS method...

Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA

Total estimation using BLOCKS method: 21.77 GB

Processing object type SCHEMA_EXPORT/USER

. . exported "VNV"."TRANSACTION_HIS"                     2.949 GB 10892506 rows

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/PRE_SCHEMA/PROCACT_SCHEMA

Processing object type SCHEMA_EXPORT/SYNONYM/SYNONYM

Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE

Processing object type SCHEMA_EXPORT/TABLE/TABLE

Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT

Processing object type SCHEMA_EXPORT/TABLE/COMMENT

Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION

Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE

Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION

Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE

Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX

Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_INDEX/INDEX

Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT

Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS

Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_INDEX/INDEX_STATISTICS

Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT

Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS

. . exported "VNV"."TRANSACTION"                         2.193 GB 5947080 rows

. . exported "VNV"."T_BANK_TRANS_DC_HIS"                 1.938 GB 1316266 rows

ORA-31693: Table data object "VNV"."TRANSACTION_BAK_0518" failed to load/unload and is being skipped due to error:

ORA-31617: unable to open dump file "/data/orabackup/exp/exp_unspaydb_20160611.dmp" for write

ORA-19505: failed to identify file "/data/orabackup/exp/exp_unspaydb_20160611.dmp"

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 3

ORA-31693: Table data object "VNV"."ID_CARD_INFO" failed to load/unload and is being skipped due to error:

ORA-31617: unable to open dump file "/data/orabackup/exp/exp_unspaydb_20160611.dmp" for write

ORA-19505: failed to identify file "/data/orabackup/exp/exp_unspaydb_20160611.dmp"

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 3


数据泵的并行度设置为10,同时向10个DUMPFILE中写入数据。在写入时出现ORA-31693、ORA-29913和ORA-31617错误。

发现对于RAC环境而言,Oracle会尝试将并行导出放到两个节点上,而由于DIRECTORY是本地磁盘,且在另外一个节点上没有建立同样的目录,因此打开文件报错的信息。

那么如果想要使用RAC上的并行导出,确保相同的目录在两个节点上同时存在。如果只想在一个节点上执行数据泵的导出那么就不要使用并行方式。


本文出自 “旅游人生” 博客,请务必保留此出处http://felixgzf.blog.51cto.com/4108324/1787886

以上是关于数据泵导出出现ORA-31617错误的主要内容,如果未能解决你的问题,请参考以下文章

数据泵导出导入物化视图

数据泵导的数据怎么导入其他用户

oracle 数据泵导出数据

数据泵导出报ORA-01555 ORA-22924

怎样在linux系统上用数据泵导入数据

oracle数据泵导入导出需要同一个用户么