1、 ORA-31693、RA-31640、 ORA-19505、ORA-27037报错
ORA-31693: Table data object "CBMAIN"."KDPY_JBXINX" failed to load/unload and is being skipped due to error:
ORA-31640: unable to open dump file "/oracle/oracledata/hxdb/hxdb2018021203.dmp" for read
ORA-19505: failed to identify file "/oracle/oracledata/hxdb/hxdb2018021203.dmp"
ORA-27037: unable to obtain file status
这是由于rac环境下,开启并发进程,会在多节点执行,由于我的备份目录是本地,导致另外一个节点无法找到对应目录,故而报错。
两种解决办法:
1、使用共享目录
2、添加参数cluster=no
2、限制到处对象
使用include、exclude
EXCLUDE=[object_type]:[name_clause],[object_type]:[name_clause] -->排出特定对象
INCLUDE=[object_type]:[name_clause],[object_type]:[name_clause] -->包含特定对象
常用表达式:
EXCLUDE=SEQUENCE,VIEW --过滤所有的SEQUENCE,VIEW