ITPub博客

首页 > Linux操作系统 > Linux操作系统 > ORA-39142 incompatible version

ORA-39142 incompatible version

Linux操作系统 作者:royevictory 时间:2016-01-07 11:09:09 0 删除 编辑
今天在将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。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29302187/viewspace-1973072/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-08-06

  • 博文量
    195
  • 访问量
    558543