数据库:oracle 11.2.0.4
系统:centos 7.9
问题描述:将dmp文件执行impdp导入时报错ORA-39142:版本号5.1 (在转储文件 "/tmp/DUMP1.DMP" 中)不兼容,如下所示:
[oracle@hisdb1 ~]$ impdp system/oracle_4U@192.168.133.160:1521/orcl directory=imp_dir dumpfile=DUMP1.DMP schemas=rmlis remap_tablespace=%:USERS cluster=n logfile=imprm.log
Import: Release 11.2.0.4.0 - Production on Tue Aug 9 22:36:53 2022
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-39142: incompatible version number 5.1 in dump file "/tmp/DUMP1.DMP"
异常原因:导致此错误的原因为oracle高版本导出,低版本导入造成.
解决方案:在源端加上version=版本号导出,如version=11.2
以下为MOS文档相关信息:
Data Pump file version.
=======================<
ORA-39142 ORA-39000 转储文件不兼容
最新推荐文章于 2025-01-02 08:00:00 发布
在尝试使用impdp导入Oracle 11.2.0.4数据库的DMP文件时,遇到ORA-39142错误,原因是高版本导出的DMP文件无法在低版本中导入。解决方案是在源端使用Export Data Pump的VERSION参数指定目标数据库的版本(如version=11.2)。这样可以确保DMP文件与目标数据库兼容,避免导入错误。


6133

被折叠的 条评论
为什么被折叠?



