oracle 31640,理解IMPDP ORA-19505、ORA-31640错误

本文介绍了在Oracle RAC集群环境中,DataPumpWorker进程可能在非发起节点上运行导致的问题,特别是当指定的datapump目录权限不足时。ORA-19505错误可能由此产生。解决方法是使用EXPDP的CLUSTER=NO参数,确保工作进程在具有文件访问权限的单一节点上运行。此外,文章还提到了EXPDP/IMPDP的CLUSTER参数详细说明,以及如何通过调整参数避免性能影响。
摘要由CSDN通过智能技术生成

01fac6460a22031b8af8da5848698a70.png

若在Oracle RAC集群数据库中,则可能Data Pump Worker数据泵工作进程在非发起本Expdp的节点上被分配并工作,除非指定了EXPDP参数CLUSTER=NO。 若启动该Workder进程的节点上相应的data pump目录没有合适的权限,则remote node上的Worker将无法正常工作。 可以利用cluster=no参数来Workaround这个由于RAC引起的ORA-19505错误。

[oracle@lab1 ~]$ oerr ora 19505

19505, 00000, “failed to identify file \”%s\””

// *Cause: call to identify the file returned an error

// *Action: check additional messages, and check if the file exists

关于EXPDP/IMPDP的CLUSTER参数说明如下:

CLUSTER

Default: YES

Purpose

Determines whether Data Pump can use Oracle Real Application Clusters (Oracle

RAC) resources and start workers on other Oracle RAC instances.

Syntax and Description

CLUSTER=[YES | NO]

To force Data Pump Import to use only the instance where the job is started and to

replicate pre-Oracle Database 11g release 2 (11.2) behavior, specify CLUSTER=NO.

To specify a specific, existing service and constrain worker processes to run only on

instances defined for that service, use the SERVICE_NAME parameter with the

CLUSTER=YES parameter.

Use of the CLUSTER parameter may affect performance because there is some

additional overhead in distributing the import job across Oracle RAC instances.

关于该ORA-19505更多信息参考以下Note:

We did expdp on AIX server with mutliple files using filesetsize=10G parameter

and when we are importing into LInux database we are facing below errors:

ORA-31693: Table data object "DBO_ACTIONAL_PROD"."ACT_SUBN_STATS_H_" failed to load/unload and is

being skipped due to error:

ORA-31640: unable to open dump file "/u01/app/oracle/export/utl01p/act04.dmp" for read

ORA-19505: failed to identify file "/u01/app/oracle/export/utl01p/act04.dmp"

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 3

When you are using a cluster database it is possible for datapump workers to start on

any of the available nodes unless you specify cluster=N. If the nodes that start the

workers do not have access to the datapump directory they will be unable to process

the files. This is proved out when you specify cluster=N to remove the other nodes from the equation.

Use cluster=N to run the import from a single node of the RAC cluster which has file access.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值