你好,游客 登录 注册 搜索
背景:
阅读新闻

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

[日期:2016-09-17] 来源:Linux社区  作者:Linux [字体: ]

客户的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

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款