有两种解决方法 :
1:
EXP数据时出现exp-00003错误,具体如下
C:\>exp its/oracle@orcl tables=barcde compress=n trigger=y files=barcode.dmp log=exp.log
Export: Release 8.1.7.4.1 - Production on Fri Jan 4 11:15:52 2008
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit
Production
With the Partitioning, OLAP and Data Mining options
Export done in WE8ISO8859P1 character set and UTF8 NCHAR character set
server uses ZHT16BIG5 character set (possible charset conversion)
About to export specified tables via Conventional Path ...
. . exporting table BARCODE
EXP-00003: no storage definition found for segment(151, 45497)
Export terminated successfully with warnings.
在网上找找,说是因为用低版本导高版本数据库数据造成的,将compress=y就可以解决,试了compress=y后,顺利导出。
引用 :http://www.cnblogs.com/kevinsun/archive/2008/01/04/1025590.html
2:
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
引用 :http://www.newbooks.com.cn/info/171749.html
posted on 2008-01-05 10:51
七匹狼 阅读(4585)
评论(0) 编辑 收藏