最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

Oracle9i导出Oracle10g的大字段

来源:懂视网 责编:小采 时间:2020-11-09 12:03:54
文档

Oracle9i导出Oracle10g的大字段

Oracle9i导出Oracle10g的大字段:连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProductionWith the Partitioning, OLAP and Data Minin ############################## 错误现象:######################
推荐度:
导读Oracle9i导出Oracle10g的大字段:连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProductionWith the Partitioning, OLAP and Data Minin ############################## 错误现象:######################

连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProductionWith the Partitioning, OLAP and Data Minin

############################## 错误现象:###############################
用9i的exp导出时错误如下:

F:\Oracle\bin>exp wssw/foresee@cradle203 file=d:\sb_sbxx_zb.dmp tables=sb_sbxx_zb

Export: Release 9.2.0.1.0 - Production on 星期五 5月 27 11:15:24 2011

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.


连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
已导出 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集

即将导出指定的表通过常规路径 ...
. . 正在导出表 SB_SBXX_ZB
EXP-00003: 未找到段 (6,2315) 的存储定义
导出成功终止,但出现警告。

#########################################################################


查看metalink,发现只要是9.2.0.5以前的exp去导出9.2.0.5以后数据库中含有LOB字段的表,都会出现这个错误。
解决办法:
1、升级client端到9.2.0.5以上。
我使用9208/10.1.0.4的exp导出一个含有BLOB和CLOB的表,能导出所有数据!

2、替代解决办法:
在导出前, 连接到SYS用户, 运行以下SQL:


CREATE OR REPLACE VIEW exu9tne (
tsno, fileno, blockno, length) AS
SELECT ts#, segfile#, segblock#, length
FROM sys.uet$
WHERE ext# = 1
UNION ALL
SELECT * FROM SYS.EXU9TNEB

导出完成后,再复原这个view(定义可以通过user_views看到) 对于oracle9i和oracle10g这个定义都相同:

CREATE OR REPLACE VIEW exu9tne (
tsno, fileno, blockno, length) AS
SELECT ts#, segfile#, segblock#, length
FROM sys.uet$
WHERE ext# = 1


在9i中导入时正常导入即可,,不会有任何错误。

linux

文档

Oracle9i导出Oracle10g的大字段

Oracle9i导出Oracle10g的大字段:连接到: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProductionWith the Partitioning, OLAP and Data Minin ############################## 错误现象:######################
推荐度:
标签: 导出 9i 10g
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top