代码改变世界

expdp ORA-31693 ORA-31617 ORA-19505 ORA-27037

  abce  阅读(3470)  评论(0编辑  收藏  举报

使用expdp并行导出数据的时候报如下错误:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 "SYSTEM"."SYS_EXPORT_SCHEMA_01":  system/******** schemas=test directory=expdp_dir dumpfile=test_%u.dmp filesize=10g parallel=4 logfile=expdpfull.log
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 32.85 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/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
ORA-31693: Table data object "test"."WF_HIST" failed to load/unload and is being skipped due to error:
ORA-31617: unable to open dump file "/home/oracle/dump/test_03.dmp" for write
ORA-19505: failed to identify file "/home/oracle/dump/test_03.dmp"
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3

  

原因和解决方法:
在rac环境使用并行导出时,系统会尝试同时写文件到rac中的节点。如果导出目录是本地磁盘的话,导出时候就会报错,出现上面的现象。

解决方法:导出的时候添加参数cluster=no

编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2015-12-30 error nr.1045 access denied for user 'root'@'localhost' (using passwd:no)
点击右上角即可分享
微信分享提示