[oracle@oracle-test ~]$ impdp oracle/oracle directory=expdp dumpfile=G.dmp TABLE_EXISTS_ACTION=REPLACE

Import: Release 10.2.0.4.0 - 64bit Production on Wednesday, 06 November, 2013 13:35:26

Copyright (c) 2003, 2007, Oracle.  All rights reserved.

Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

ORA-39001: invalid argument value

ORA-39000: bad dump file specification

ORA-39142: incompatible version number 3.1 in dump file "/u01/app/oracle/expdp/G.dmp"

解决办法:

[oracle@oracle-test ~]$expdp  oracle/oracle directory=impdir dumpfile=G01.dmp Version=10.2.0.4.0

Export: Release 11.2.0.1.0 - Production on Wed Nov 6 13:26:18 2013

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

Starting "ORACLE"."SYS_EXPORT_SCHEMA_01":  oracle/********@orcl directory=impdir dumpfile=G01.dmp Version=10.2.0.4.0

原因:

因为dmp文件是从11g的oracle中导出,导入到10g的oracle中才出现的。oracle的版本不一致导致的。

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

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐