oracle跨版本exdp 从高版本到低版本 从18c到10g

由于工作需要,有时候需要将oracle18c的数据同步到另一个环境的10g版本

测试环境 :

源数据库版本:18.13.0.0

目标数据库版本:10.2.0.4

结论:

1 从低版本导出,导入到高版本,可以,不需要加参数version

2 从高版本导出,导入到低版本,不可以。需要在导出的时候,加上version参数。在导入的时候加参数version无效。

源数据库:

[oracle@dp]$ expdp l5m/l5m directory=DPPATH schemas=TTT file=TTT.dmp version=10.2.0.4

Export: Release 18.0.0.0.0 - Production on Fri Jun 14 10:25:21 2024
Version 18.13.0.0.0

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

Connected to: Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production
Legacy Mode Active due to the following parameters:
Legacy Mode Parameter: "file=TTT.dmp" Location: Command Line, Replaced with: "dumpfile=TTT.dmp"
Legacy Mode has set reuse_dumpfiles=true parameter.

Warning: Oracle Data Pump is exporting from a database that supports long identifiers to a version that does not support long identifiers.

Starting "L5M"."SYS_EXPORT_SCHEMA_03"
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值