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备份数据库的使用说明
Oracle备份还原(expdp/impdp)
impdp ORA-39002,ORA-39166,ORA-39164的问题及解决
本文永久更新链接地址:
,
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
C++高性能并发应用_C++如何开发性能关键应用
Java AI集成Deep Java Library_Java怎么集成AI模型部署
Golang后端API开发_Golang如何高效开发后端和API
Python异步并发改进_Python异步编程有哪些新改进
C++系统编程内存管理_C++系统编程怎么与Rust竞争内存安全
Java GraalVM原生镜像构建_Java怎么用GraalVM构建高效原生镜像
Python FastAPI异步API开发_Python怎么用FastAPI构建异步API
C++现代C++20/23/26特性_现代C++有哪些新标准特性如modules和coroutines
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号