------解决思路---------------------- 版本问题,11g数据导入10,高版本导入低版本肯定有问题的 ------解决思路---------------------- --注意低版本是不能导入高版本 比如我的数据库是11gR2 对方是11gr1 需要指定版本号11.1.0.6.0
expdp username/password directory=dump_test dumpfile=data.dmp version=11.1.0.6.0 ------解决思路---------------------- 版本问题,oracle有bug
Datapump import fails with the following errors when importing into an 11g database from a 10g export:
ORA-39006: internal error
ORA-39113: Unable to determine database version
ORA-04052: error occurred when looking up remote object SYS.DBMS_UTILITY@<tns alias>
ORA-00604: error occurred at recursive SQL level 3
ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [55916]
ORA-02063: preceding 2 lines from <tns alias>
ORA-39097: Data Pump job encountered unexpected error -4052
ORA-39006: internal error
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
ORA-06512: at "SYS.DBMS_DATAPUMP", line 3444
ORA-06512: at "SYS.DBMS_DATAPUMP", line 5233
ORA-06512: at line 2
CAUSE
This is due to unpublished Bug 4511371 fixed in 11.1 and 10.2.0.2, where an interoperability issue occurs during remote PLSQL lookup of an object between 10g and 11g, as documented in Note:4511371.8.
SOLUTION
Apply the latest patchset to the 10g database, e.g.: 10.2.0.4 or 10.1.0.5. ------解决思路----------------------