oracle导出6550,exp/imp导入导出版本问题和ORA-6550报错

前几天有位同事问到exp/imp是否涉及到版本问题,我认为,只要是软件,都会涉及到高低版本的兼容性问题,Oracle也是软件,自然也是这样。

简单的实验:

exp工具版本:10g

导出的source数据库版本:9i

bash-4.1$ exp x/x@x tables=T file=/home/x/t.dmp

Export: Release 10.2.0.4.0 - Production on Wed Dec 11 15:17:05 2013

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

EXP-00056: ORACLE error 6550 encountered

ORA-06550: line 1, column 41:

PLS-00302: component 'SET_NO_OUTLINES' must be declared

ORA-06550: line 1, column 15:

PL/SQL: Statement ignored

EXP-00000: Export terminated unsuccessfully

从报错看,好像是有个组件未定义,导致导出失败。

从MOS上看到一篇文章,有个介绍exp/imp版本兼容性问题的经典总结:

Export client compatibility:

Always use a version of the EXPORT utility that is equal to the lowest version of either the source or the target database.

导出客户端兼容性:建议使用和源数据库或目标数据库中最低版本一致的EXPORT工具版本。

Import client compatibility:

Always use a version of the IMPORT utility that is equal to the version of the target database.

导入客户端兼容性:建议使用和目标数据库版本一致的IMPORT工具版本。

这里很明显为我们实际中需要exp/imp导入导出指明了方向。

下面是导入导出的一个版本矩阵:

6159ae266b61c8d240fc138a70b9b6a8.png

Import data into an older release (desupported) target database.

793c81b2d83351293037450815f150e7.png

Import data into Oracle8i or higher release database.

相关阅读:

0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值