ORA-39001: invalid argument value 数据泵导入因版本不一致报错
因为dmp文件是从11g的oracle中导出,导入到10g的oracle中才出现的。oracle的版本不一致导致的。
[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"
解决办法:
重新导出加上参数version
[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
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341