阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

Oracle数据泵导出报ORA-31617错误

202次阅读
没有评论

共计 3625 个字符,预计需要花费 10 分钟才能阅读完成。

客户的 Oracle10204 RAC FOR Hp 数据库执行 EXPDP 并行导出时出现了这个错误信息。

导出报错如下:

Export: Release 10.2.0.4.0 – 64bit Production on Thursday, 12 January, 2012 6:10:00

Copyright (c) 2003, 2007, Oracle.  All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 – 64bit Production
 With the Partitioning, Real Application Clusters, Oracle Label Security, Data Mining
 and Real Application Testing options
 Starting “SYSTEM”.”SYS_EXPORT_SCHEMA_01″:  parfile=/home/oracle/backup/moddb_par_mesadmin
 Estimate in progress using BLOCKS method…
 Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
 Total estimation using BLOCKS method: 72.74 GB
 Processing object type SCHEMA_EXPORT/USER
 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/TABLESPACE_QUOTA
 Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
 .
 .
 .
 Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
 Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
 ORA-31693: Table data object “MESADMIN”.”S_IFCPRODUCT” failed to load/unload and is being skipped due to error:
 ORA-29913: error in executing ODCIEXTTABLEPOPULATE callout
 ORA-31617: unable to open dump file “/archive/temp_exp/moddb_exp_mesadmin_3.dmp” for wr
 Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
 ORA-31693: Table data object “MESADMIN”.”PRODUCTHISTORY” failed to load/unload and is being skipped due to error:
 ORA-29913: error in executing ODCIEXTTABLEPOPULATE callout
 ORA-31617: unable to open dump file “/archive/temp_exp/moddb_exp_mesadmin_2.dmp” for wr
 Processing object type SCHEMA_EXPORT/JOB
 Processing object type SCHEMA_EXPORT/POST_SCHEMA/PROCACT_SCHEMA
 ORA-31693: Table data object “MESADMIN”.”S_R_WIP” failed to load/unload and is being skipped due to error:
 ORA-29913: error in executing ODCIEXTTABLEPOPULATE callout
 ORA-31617: unable to open dump file “/archive/temp_exp/moddb_exp_mesadmin_2.dmp” for wr
 ORA-31693: Table data object “MESADMIN”.”C_FGMSIF_PANELINFO” failed to load/unload and is being skipped due to error:
 ORA-29913: error in executing ODCIEXTTABLEPOPULATE callout
 ORA-31617: unable to open dump file “/archive/temp_exp/moddb_exp_mesadmin_5.dmp” for wr
 ORA-31693: Table data object “MESADMIN”.”C_AC_PANEL_GRADE” failed to load/unload and is being skipped due to error:
 ORA-29913: error in executing ODCIEXTTABLEPOPULATE callout
 ORA-31617: unable to open dump file “/archive/temp_exp/moddb_exp_mesadmin_2.dmp” for wr
 . . exported “MESADMIN”.”S_R_MOVEMENT”                  191.2 MB 2070491 rows
 .
 .
 .
 . . exported “MESADMIN”.”USERPROFILEATTRIBUTEHISTORY”        0 KB      0 rows
 . . exported “MESADMIN”.”RTDRULETRACEHISTORY”            1.627 GB 3812462 rows
 . . exported “MESADMIN”.”PRODUCT”                        1.057 GB 2593517 rows
 Master table “SYSTEM”.”SYS_EXPORT_SCHEMA_01″ successfully loaded/unloaded
 ******************************************************************************
 Dump file set for SYSTEM.SYS_EXPORT_SCHEMA_01 is:
  /archive/temp_exp/moddb_exp_mesadmin_1.dmp
  /archive/temp_exp/moddb_exp_mesadmin_2.dmp
  /archive/temp_exp/moddb_exp_mesadmin_3.dmp
  /archive/temp_exp/moddb_exp_mesadmin_4.dmp
  /archive/temp_exp/moddb_exp_mesadmin_5.dmp
  /archive/temp_exp/moddb_exp_mesadmin_6.dmp
  /archive/temp_exp/moddb_exp_mesadmin_7.dmp
  /archive/temp_exp/moddb_exp_mesadmin_8.dmp
  /archive/temp_exp/moddb_exp_mesadmin_9.dmp
  /archive/temp_exp/moddb_exp_mesadmin_10.dmp
 Job “SYSTEM”.”SYS_EXPORT_SCHEMA_01″ completed with 5 error(s) at 06:22:57

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

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

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

更多 Oracle 相关信息见 Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

本文永久更新链接地址 :http://www.linuxidc.com/Linux/2016-09/135241.htm

正文完
星哥玩云-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-22发表,共计3625字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中