码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-06-11 16:07:12      阅读:224      评论:0      收藏:0      [点我收藏+]

标签:oracle   2011   

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   2011   

原文地址:http://felixgzf.blog.51cto.com/4108324/1787886

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!