impdp与expdp注意事项

impdp与expdp注意事项,

这里先不介绍如何使用,而是使用时,遇到的错误以及注意事项

源库是11g,目标库是10g,RAC库

expdp时,一定要加上 cluster=n ,以及目标数据库的版本号  version=10.2.0.5,要不然导入时会出现错误。

impdp时,可以不用加这2个条件

源库是10g,目标库是11g,RAC库

expdp时,可以不用加这2个条件,要不然导入时会出现错误。

impdp时,一定要加上 cluster=n ,版本号version=11.2.0.3可以不加,要不然导入时会出错。

还需注意:

11g前数据库,expdp与impdp。在RAC库上不能2个节点一起导出导入,要不然出现:

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, Real Application Clusters, Data Mining and Real Application Testing options
ORA-31626: job does not exist
ORA-31637: cannot create job SYS_EXPORT_TABLE_01 for user CTBW
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPV$FT_INT", line 672
ORA-39147: cannot migrate Data Pump queue table ownership to this instance
这个错误。只能单个节点导出或者导入。

不过11g数据库就支持这个功能了。

猜你喜欢

转载自andyniu.iteye.com/blog/1870748