exp/imp导入导出版本问题和ORA-6550报错
2013-12-16 12:05
344 查看
前几天有位同事问到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导入导出指明了方向。
下面是导入导出的一个版本矩阵:
Import data into an older release (desupported) target database.
Import data into Oracle8i or higher release database.
简单的实验:
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导入导出指明了方向。
下面是导入导出的一个版本矩阵:
Import data into an older release (desupported) target database.
Import data into Oracle8i or higher release database.
相关文章推荐
- exp/imp 导入导出数据库 报错:ORA-12154: TNS: 无法解析指定的连接标识符
- 在exp/imp导入导出的时候遇到的问题
- Oracle数据库imp/exp导入导出问题
- 在pl/sql中使用exp/imp工具实现oracle数据导出/导入
- exp/imp导出导入功能对job的的影响
- exp/imp导出导入工具的使用
- exp/imp碰到的两则问题处理(ORA-00904和the objects were exported by ABC not by you)
- Oracle中用exp/imp命令快速导入导出数据
- 比较数据泵和exp/imp对相同数据导出/导入的性能差异
- exp/imp导出导入工具的使用
- ORACLE数据导出与导入专题(3)——使用exp/imp工具进行数据导入导出
- oracle 10g exp/imp导出导入工具的使用
- exp/imp导出导入工具的使用
- ORACLE数据导入导出里的EXP/IMP 命令参数
- oracle下逻辑的导入导出工具exp/imp
- Oracle中用exp/imp命令快速导入导出数据
- 比较数据泵和exp/imp对相同数据导出/导入的性能差异
- Oracle 中用 imp 和 exp 命令导入导出数据库(附问题及解决办法)
- exp/imp导出导入工具的使用
- Oracle 数据库备份与恢复总结-exp/imp (导出与导入装库与卸库)