有兩種解決方法 :
1:
EXP數(shù)據(jù)時(shí)出現(xiàn)exp-00003錯(cuò)誤,具體如下
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.
在網(wǎng)上找找,說(shuō)是因?yàn)橛玫桶姹緦?dǎo)高版本數(shù)據(jù)庫(kù)數(shù)據(jù)造成的,將compress=y就可以解決,試了compress=y后,順利導(dǎo)出。
引用 :http://www.cnblogs.com/kevinsun/archive/2008/01/04/1025590.html
2:
1、升級(jí)client端到9.2.0.5以上。
我使用9208/10.1.0.4的exp導(dǎo)出一個(gè)含有BLOB和CLOB的表,能導(dǎo)出所有數(shù)據(jù)!
2、替代解決辦法:
在導(dǎo)出前, 連接到SYS用戶, 運(yùn)行以下SQL:
tsno, fileno, blockno, length) AS
SELECT ts#, segfile#, segblock#, length
FROM sys.uet$
WHERE ext# = 1
UNION ALL
SELECT * FROM SYS.EXU9TNEB
導(dǎo)出完成后,再?gòu)?fù)原這個(gè)view(定義可以通過(guò)user_views看到) 對(duì)于oracle9i和oracle10g這個(gè)定義都相同:
tsno, fileno, blockno, length) AS
SELECT ts#, segfile#, segblock#, length
FROM sys.uet$
WHERE ext# = 1
引用 :http://www.newbooks.com.cn/info/171749.html