oracle11g的数据导入到oracle10g (转)

原作者 http://tolilong.itpub.net/post/42781/529364

今天在将oracle11g的数据导入到oracle10g的时候,出现了如下错误.
ORA-39142 incompatible version 错误!!!


今天在将oracle11g的数据导入到oracle10g的时候,出现了如下错误.
ORA-39142 incompatible version 错误!!!
[oracle@oracle10g u01]$ impdp meso/oracle directory=temp_dir dumpfile=meso.dmp
Import: Release 10.2.0.1.0 - 64bit Production on Tuesday, 23 October, 2012 17:08:48
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-39142: incompatible version number 3.1 in dump file "/u01/meso.dmp"
---======================================
在网上查询,折腾了一会之后,发现需要在expdp中加入version=10.2.0.1.0参数
操作如下:
[oracle@localhost ~]$ expdp meso/founder2012 directory=temp_dir dumpfile=meso.dmp version=10.2.0.1.0
再在impdp中导入:
[oracle@oracle10g ~]$ impdp meso/oracle directory=temp_dir dumpfile=/u01/meso.dmp remap_tablespace=meso_data:meso
发现一切ok。

猜你喜欢

转载自frank1998819.iteye.com/blog/1750931
今日推荐