我已经将ORACLE local从12.1.0.2.0升级到12.2.0.1.0,并从12.2.0.1.0中导出了转储,并通过impdp
命令导入该转储,但它显示旧的目标ORACLE版本,错误如下
ORA-39358: Export dump file version 12.2.0 not compatible with target version 12.1.0.2.0
我尝试以管理员身份执行impdp
命令,它显示连接到正确的数据库,但问题是相同的
impdp
的日志文件
;;;
Import: Release 12.2.0.1.0 - Production on Wed Jun 12 15:41:17 2019
Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.
;;;
Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
Master table "NEW_DB"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
ORA-39358: Export dump file version 12.2.0 not compatible with target version 12.1.0.2.0
Job "NEW_DB"."SYS_IMPORT_FULL_01" successfully completed at Wed Jun 12 15:41:26 2019 elapsed 0 00:00:07
Job "NEW_DB"."SYS_IMPORT_FULL_01" successfully completed at Wed Jun 12 15:41:27 2019 elapsed 0 00:00:08
发布于 2019-06-12 19:44:43
使用参数VERSION=12.1开始导出。这将使导出与目标12.1数据库兼容。
expdp system@std12c VERSION=12.1 schemas=...
如果源数据库使用目标数据库中尚未提供的选项,则可能会遇到一些问题。例如:
Warning: Oracle Data Pump is exporting from a database that supports long identifiers to a version that does not support long identifiers
https://stackoverflow.com/questions/56560396
复制相似问题