Welcome 微信登录

首页 / 数据库 / MySQL / exp/imp导入导出版本问题和ORA-6550报错

前几天有位同事问到exp/imp是否涉及到版本问题,我认为,只要是软件,都会涉及到高低版本的兼容性问题,Oracle也是软件,自然也是这样。简单的实验:exp工具版本:10g导出的source数据库版本:9ibash-4.1$ exp x/x@x tables=T file=/home/x/t.dmpExport: Release 10.2.0.4.0 - Production on Wed Dec 11 15:17:05 2013Copyright (c) 1982, 2007, Oracle.  All rights reserved.EXP-00056: ORACLE error 6550 encounteredORA-06550: line 1, column 41:PLS-00302: component "SET_NO_OUTLINES" must be declaredORA-06550: line 1, column 15:PL/SQL: Statement ignoredEXP-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导入导出指明了方向。下面是导入导出的一个版本矩阵:Import data into an older release (desupported) target database.Import data into Oracle8i or higher release database.相关阅读:Oracle ORA-01555 快照过旧 说明 http://www.linuxidc.com/Linux/2012-08/66997.htmORA-01078 和 LRM-00109 报错解决方法 http://www.linuxidc.com/Linux/2012-07/66044.htmORA-01555超长的Query Duration时间 http://www.linuxidc.com/Linux/2013-12/93901.htmORA-00471 处理方法笔记 http://www.linuxidc.com/Linux/2013-09/90017.htmORA-00314,redolog 损坏,或丢失处理方法 http://www.linuxidc.com/Linux/2013-09/90646.htmORA-00257 归档日志过大导致无法存储的解决办法 http://www.linuxidc.com/Linux/2013-09/90594.htm更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12DB2日志的管理MySQL迁移工具在生产环境下的使用相关资讯      EXP/IMP  ORA-6550 
  • exp/imp与expdp/impdp区别  (08月03日)
  • 以交互方式使用exp/imp的演示  (11/21/2014 13:04:01)
  • EXP/IMP迁移数据库的时候注释乱码  (10/10/2013 19:36:58)
  • EXP/IMP 导出生产库表的指定数据到  (04/03/2015 09:43:35)
  • 探索Oracle之 EXP/IMP过程中的字符  (09/14/2014 10:30:09)
  • EXP/IMP迁移数据  (05/04/2013 08:30:41)
本文评论 查看全部评论 (0)
表情: 姓名: 字数