we introduced exporting in parallel to multiple files for spend up , but throw some error. my db and rac ars 11.2.0.3.
#cat dmp.sh
expdp system/"xxxx" directory=datapump tables=anbob.t1,ocs_anbob.return_step_detail_t filesize=1G dumpfile=ocs%U.dmp logfile=ocs.log parallel=4
#chmod +x dmp.sh
#nohup ./dmp.sh > longjobs.out 2>&1 &
[1] 7799188
#jobs
[1] + Running nohup ./dmp.sh > longjobs.out 2>&1 &
error output
# tail -f longjobs.out
Export: Release 11.2.0.3.0 - Production on Wed Dec 31 22:54:01 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_TABLE_01": system/******** directory=datapump tables=anbob.t1,ocs_anbob.return_step_detail_t filesize=1G dumpfile=ocs%U.dmp logfile=ocs.log parallel=4
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 3.866 GB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
ORA-31693: Table data object "ANBOB"."T1":"PART_1" failed to load/unload and is being skipped due to error:
ORA-31617: unable to open dump file "/dsg/datapump/ocs02.dmp" for write
ORA-19505: failed to identify file "/dsg/datapump/ocs02.dmp"
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/AUDIT_OBJ
ORA-31693: Table data object "ocs_anbob"."return_step_detail_t":"PART_1" failed to load/unload and is being skipped due to error:
ORA-31617: unable to open dump file "/dsg/datapump/ocs02.dmp" for write
ORA-19505: failed to identify file "/dsg/datapump/ocs02.dmp"
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
database monitoring
select INST_ID,sid, serial#,program from gv$session s, dba_datapump_sessions d where s.saddr = d.saddr;
above will be show the expdp job cross 2 nodes.
Solution:
1. Create a directory object on clustered file system
2. Export without using parallel clause
expdp xx/xx dumpfile=test_%u.dmp logfile=test.log directory=temp_expdp schemas=test
3. Use CLUSTER option in expdp CLI
expdp xx/xx dumpfile=test_%u.dmp logfile=test.log directory=temp_expdp schemas=test cluster=n
This option will to constrain the job to run on the instance where it is started
references oraclehandson note
#cat dmp.sh
expdp system/"xxxx" directory=datapump tables=anbob.t1,ocs_anbob.return_step_detail_t filesize=1G dumpfile=ocs%U.dmp logfile=ocs.log parallel=4
#chmod +x dmp.sh
#nohup ./dmp.sh > longjobs.out 2>&1 &
[1] 7799188
#jobs
[1] + Running nohup ./dmp.sh > longjobs.out 2>&1 &
error output
# tail -f longjobs.out
Export: Release 11.2.0.3.0 - Production on Wed Dec 31 22:54:01 2014
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Starting "SYSTEM"."SYS_EXPORT_TABLE_01": system/******** directory=datapump tables=anbob.t1,ocs_anbob.return_step_detail_t filesize=1G dumpfile=ocs%U.dmp logfile=ocs.log parallel=4
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 3.866 GB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
ORA-31693: Table data object "ANBOB"."T1":"PART_1" failed to load/unload and is being skipped due to error:
ORA-31617: unable to open dump file "/dsg/datapump/ocs02.dmp" for write
ORA-19505: failed to identify file "/dsg/datapump/ocs02.dmp"
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/AUDIT_OBJ
ORA-31693: Table data object "ocs_anbob"."return_step_detail_t":"PART_1" failed to load/unload and is being skipped due to error:
ORA-31617: unable to open dump file "/dsg/datapump/ocs02.dmp" for write
ORA-19505: failed to identify file "/dsg/datapump/ocs02.dmp"
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
database monitoring
select INST_ID,sid, serial#,program from gv$session s, dba_datapump_sessions d where s.saddr = d.saddr;
above will be show the expdp job cross 2 nodes.
Solution:
1. Create a directory object on clustered file system
2. Export without using parallel clause
expdp xx/xx dumpfile=test_%u.dmp logfile=test.log directory=temp_expdp schemas=test
3. Use CLUSTER option in expdp CLI
expdp xx/xx dumpfile=test_%u.dmp logfile=test.log directory=temp_expdp schemas=test cluster=n
This option will to constrain the job to run on the instance where it is started
references oraclehandson note
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
评论
相关阅读
Oracle RAC 一键安装翻车?手把手教你如何排错!
Lucifer三思而后行
559次阅读
2025-04-15 17:24:06
【纯干货】Oracle 19C RU 19.27 发布,如何快速升级和安装?
Lucifer三思而后行
480次阅读
2025-04-18 14:18:38
Oracle SQL 执行计划分析与优化指南
Digital Observer
456次阅读
2025-04-01 11:08:44
XTTS跨版本迁移升级方案(11g to 19c RAC for Linux)
zwtian
451次阅读
2025-04-08 09:12:48
墨天轮个人数说知识点合集
JiekeXu
451次阅读
2025-04-01 15:56:03
【ORACLE】记录一些ORACLE的merge into语句的BUG
DarkAthena
442次阅读
2025-04-22 00:20:37
Oracle数据库一键巡检并生成HTML结果,免费脚本速来下载!
陈举超
418次阅读
2025-04-20 10:07:02
【ORACLE】你以为的真的是你以为的么?--ORA-38104: Columns referenced in the ON Clause cannot be updated
DarkAthena
417次阅读
2025-04-22 00:13:51
Oracle 19c RAC更换IP实战,运维必看!
szrsu
397次阅读
2025-04-08 23:57:08
【活动】分享你的压箱底干货文档,三篇解锁进阶奖励!
墨天轮编辑部
371次阅读
2025-04-17 17:02:24
热门文章
移除DataGuard Standby配置导致Primary启动失败
2023-08-17 21300浏览
使用dblink产生的”SELECT /*+ FULL(P) +*/ * FROM XXXXX P ” 解析
2023-06-20 20895浏览
Troubleshooting 'ORA-28041: Authentication protocol internal error' change password 12c R2 DB
2020-04-08 13647浏览
浅谈ORACLE免费数据库Oracle Database XE (Express Edition) 版
2018-10-31 7595浏览
High wait event ‘row cache mutex’ in 12cR2、19c
2020-08-14 5577浏览