impdp时遇到ORA-31693ORA-31640ORA-19505ORA-27037

php中文网
发布: 2016-06-07 15:53:27
原创
3849人浏览过

impdp时遇到ORA-31693ORA-31640ORA-19505ORA-27037

impdp时遇到ora-31693&ora-31640&ora-19505&ora-27037
在impdp时遇到报错:
additional information: 3
. . 导入了 "hq_x1"."t_xx130901":"sp15"  13.99 kb      0 行
. . 导入了 "hq_x1"."t_xx130901":"sp2"  13.99 kb      0 行
ora-31693: 表数据对象 "hq_x1"."temp_year_month" 无法加载/卸载并且被跳过, 错误如下:
ora-31640: 无法打开要读取的转储文件 "/hq_x22.dmp"
ora-19505: 无法识别文件"/hq_x22.dmp"
ora-27037: 无法获得文件状态
linux-x86_64 error: 2: no such file or directory
additional information: 3
我的impdp命令:
nohup impdp hq_x1/hq_x1 dumpfile=hq_x1%u.dmp  transform=oid:n directory=dir1 parallel=8&
看了下官方文档的说法:
the cause of this problem has been identified in unpublished bug 9378256. it is caused by a rac instance not having physical access to the dump file (as indicated by the directory parameter) and using a parallel degree > 1. the problem with this setup is that the pq/px slaves are not constrained to the rac instance from which the impdp operation has been started, and when such a pq/px slave doesn't have access to the dump file, the errors are raised.
the behavior is also reported in unpublished bug 8415620 - data pump does not honor the boundaries of the connected service on rac
datapump rac support is provided in 11.2. prior to 11.2, once you use a service to make the initial connection to the database, an instance is selected and the master process and all worker processes run on that instance.
in 11.2, the new datapump parameter cluster is introduced:
syntax and description : cluster=[y | n]
cluster : default=y
purpose :
determines whether data pump can use oracle real application clusters (rac)
resources and start workers on other oracle rac instances.

The issue has been fixed in the 11.2.0.2 patchset.
Possible workarounds for the 11.2.0.1 release are:
use the CLUSTER or SERVICE_NAME parameters to constrain the IMPDP job never to run on the instance not having access to the dump file
configure the database parameters in such a way that PQ/PX slaves are never started on the instance not having access to the dump file
use the PARALLEL=1 IMPDP command line parameter to disable parallel functionality during import
store all dump files on a local filesystem of one of the RAC nodes and use a parallel degree lower than the number of dump files and import with the CLUSTER=N command line option
mount the cluster filesystem on all nodes and set the parallel degree to be equal to the number of dump files and import with the CLUSTER=N command line option
加上cluster=N解决:
nohup impdp HQ_X1/HQ_X1 DUMPFILE=HQ_X1%u.DMP  transform=oid:n DIRECTORY=dir1 parallel=8 cluster=n&
相比于exp/imp来,expdp/impdp的BUG似乎有点多。

Oracle导入导出expdp IMPDP详解

Oracle 10g expdp导出报错ORA-4031的解决方法

Oracle 10gr2 rac expdp 报错UDE-00008 ORA-31626

Oracle中利用expdp/impdp备份数据库的使用说明

lavender.ai
lavender.ai

销售类电子邮件写作教练

lavender.ai 112
查看详情 lavender.ai

Oracle备份还原(expdp/impdp)

impdp ORA-39002,ORA-39166,ORA-39164的问题及解决 

本文永久更新链接地址

最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号