expdp之ORA-31693 ORA-29913

在尝试使用 expdp 导出 Oracle 数据时遇到错误 ORA-31617 和 ORA-19505,这些错误通常与无法打开或识别 dump 文件有关。错误信息显示文件 '/data/back/exp_dir/jxcmsuer.dmp' 不存在。通过在数据库中修改 aq_tm_processes 参数,将值从 2 更改为 1,并应用更改到内存,问题得到解决,之后数据能够正常导出。
摘要由CSDN通过智能技术生成

   expdp导出数据时候出现报错如下:
[oracle@jxrac1 exp_dir]$ expdp system/Ora_123654abc directory=cis_dir schemas=jxcmsuer  dumpfile=jxcmsuer.dmp logfile=jxcmsuer.log flashback_scn=21750361864 parallel=4
Export: Release 12.1.0.2.0 - Production on Fri Apr 13 16:17:08 2018
Copyright (c) 1982, 2014, Oracle and/or its affiliates.  All rights reserved.
Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Advanced Analytics and Real Application Testing options
FLASHBACK automatically enabled to preserve database integrity.
Starting "SYSTEM"."SYS_EXPORT_SCHEMA_03":  system/******** directory=cis_dir schemas=jxcmsuer dumpfile=jxcmsuer.dmp logfile=jxcmsuer.log flashback_scn=21750361864 parallel=4 
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 132 MB
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/SEQUENCE/SEQUENCE
Processing object type SCHEMA_EXPORT/SEQUENCE/GRANT/OWNER_GRANT/OBJECT_GRANT
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/VIEW/VIEW
Processing object type SCHEMA_EXPORT/TABLE/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/STATISTICS/TABLE_STATISTICS
Processing object type SCHEMA_EXPORT/STATISTICS/MARKER
Processing object type SCHEMA_EXPORT/JOB
. . exported "JXCMSUER"."JXC_PLAN_REPAYMENT"             48.08 MB  664579 rows
ORA-31693: Table data object "JXCMSUER"."JXC_PLAN_REPAYMENT_180307" failed to load/unload and is being skipped due to error:
ORA-31617: unable to open dump file "/data/back/exp_dir/jxcmsuer.dmp" for write
ORA-19505: failed to identify file "/data/back/exp_dir/jxcmsuer.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 "JXCMSUER"."JXC_PLAN_REPAYMENT_0301" failed to load/unload and is being skipped due to error:
ORA-31617: unable to open dump file "/data/back/exp_dir/jxcmsuer.dmp" for write
ORA-19505: failed to identify file "/data/back/exp_dir/jxcmsuer.dmp"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
. . exported "JXCMSUER"."JXC_INVESTMENT_MATCHING"        5.604 MB   34343 rows
. . exported "JXCMSUER"."JXC_U_CREDITORS_RIGHTS_180307"  3.104 MB    3619 rows
. . exported "JXCMSUER"."JXC_HS_AUTO_DEBT_ASSIGNMENT"    1.579 MB   20690 rows
. . exported "JXCMSUER"."JXC_BID_INFO"                   1.198 MB    7414 rows ORA-31693: Table data object "JXCMSUER"."JXC_U_CREDITORS_RIGHTS" 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 "/data/back/exp_dir/jxcmsuer.dmp" for write
ORA-19505: failed to identify file "/data/back/exp_dir/jxcmsuer.dmp"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
修改数据库参数 aq_tm_processes
[oracle@jxrac1 exp_dir]$ sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Fri Apr 13 16:22:00 2018
Copyright (c) 1982, 2014, Oracle.  All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Advanced Analytics and Real Application Testing options
SQL> show parameter aq_tm_processes;
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes                      integer     2
SQL> alter system set aq_tm_processes=1 scope=memory;
System altered.
SQL> show parameter aq_tm_processes;
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes                      integer     1
重新导出数据,报错消失,导出正常。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Oracle 19c的数据泵备份数据库时,可能会遇到ORA-31693ORA-39155错误。ORA-31693错误表示在加载或卸载表数据对象时出现错误,导致跳过该表。而ORA-39155错误则表示在扩展转储文件名时出现错误。这些错误可能是由于文件路径或权限问题导致的。 解决这些错误的方法有多种。根据引用的描述,ORA-31693错误可能是由于无法打开符号链接导致的。这种情况下,可以尝试检查文件路径和权限,并确保文件存在于指定的位置。此外,还可以尝试使用参数"table_exists_action=REPLACE"来替代已存在的表。 引用提到,在导入具有触发器的表时出现ORA-31693ORA-04098错误。尝试过截断表、禁用和删除触发器,但仍然无法导入数据。最后,使用参数"table_exists_action=REPLACE"成功导入数据。 引用中也提到了类似的错误。ORA-31693错误可能是由于无法打开导出文件导致的。需要检查文件路径和权限,并确保文件存在于指定位置。 总结来说,解决ORA-31693ORA-39155错误的方法包括检查文件路径和权限,确保文件存在于指定的位置,并使用适当的参数来处理已存在的表。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [oracle 19c 数据泵备份错误 ORA-31693 ORA-39155 ORA-48128 ORA-19505 ORA-27037](https://blog.csdn.net/huryer/article/details/113757696)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [ORACLE 数据泵impdp导入报错之ORA-31693 ORA-04098](https://blog.csdn.net/www_xue_xi/article/details/125238269)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [19C database expdp impdp error:ORA-39155 ORA-48128](https://blog.csdn.net/murkey/article/details/106242319)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值