今天发现生产的RAC环境expdp计划任务出现报错

之前一度认为是备份目录权限的问题

官方文档:

MOS参考文档:DataPump Export (EXPDP) Fails With Errors ORA-31693 ORA-31617 ORA-19505 ORA-27037 In a RAC Environment (文档 ID 1597395.1)

Using PARALLEL During An Export In An Oracle RAC Environment

In an Oracle Real Application Clusters(Oracle RAC) environment, if an export operation has PARALLEL=1, then all Data Pump processes reside on the instance where the job isstarted. Therefore, the directory object can point to local storage for thatinstance.

If the export operation has PARALLEL set to a value greater than 1, then Data Pump processes can resideon instances other than the one where the job was started. Therefore, the directoryobject must point to shared storage that is accessible by all instances of theOracle RAC.

导出文件的目录不是两个节点共享的原因,/bak只在节点1上挂载,并没用共享到节点2。如果/bak在两个节点共享,就不会出现这样的错误。但是现在只能在单实例上操作。查看expdp的help,发现有个参数cluster。这个参数可以控制是否采用多实例导出。设置cluster=no后(有的版本值是N,详见help说明),即:

expdp test/test1 parallel=4 cluster=no directory=BAK1 dumpfile=test20201118.dmp logfile=test20201118.log schemas=test1,test2

再次执行导出后正常。

最新文章

  1. webpack配置别名alias出现的错误匹配
  2. 使用C#代码部署SharePoint 2013开发包简单总结(一)
  3. js学习笔记3---自定义属性
  4. HTTP协议开发应用-HTTP&XML协议栈开发
  5. 在Main中定义student的结构体,进行年龄从大到小依次排序录入学生信息。(结构体的用法以及冒泡排序)
  6. hdu Waiting ten thousand years for Love
  7. 关于css中列表(ul ol)存在默认间距的问题
  8. 深入学习Struts2
  9. ajax开发框架和XMLhttpRequest、responseText、responseXml和JSON的应用
  10. C语言实现OOP 版本3 :简化代码
  11. yii2不用composer使用redis
  12. ios 概况了解
  13. eclipse换工作空间站快捷键失效解决
  14. Python内置模块之序列化模块
  15. eureka服务注册发现流程和核心参数
  16. 六种方式读取properties资源文件
  17. MyEclipse 2014 for Mac 在Yosemite怎樣安裝
  18. python 字符串和整数,浮点型互相转换
  19. JSP、Servlet中get请求和post请求的区别总结
  20. BZOJ4732. [清华集训2016]数据交互(树链剖分+线段树+multiset)

热门文章

  1. 一文搞定Spring Task
  2. [cocos2d-x]从源码角度思考convertToWorldSpace()与convertToWorldSpaceAR()坐标系的转换
  3. 华为运动健康服务Health Kit 6.9.0版本新增功能揭秘!
  4. 反馈电路的Bode分析法
  5. angular+ZORRO中nz-table 大小屏幕自适应、滚动条、点击事件
  6. 【学习笔记】C/C++ 设计模式 - 工厂模式(下)
  7. RAM算法原理
  8. Pytest插件pytest-assume多重断言
  9. idea debug---启动超级慢,提示”Method breakpoints may dramatically slow down debugging“的解决办法
  10. Navicat 15 or 16 永久版本(window和Mac)