有兩種解決方法 :
1:
EXP數(shù)據(jù)時出現(xiàn)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.
在網(wǎng)上找找,說是因為用低版本導(dǎo)高版本數(shù)據(jù)庫數(shù)據(jù)造成的,將compress=y就可以解決,試了compress=y后,順利導(dǎo)出。
引用 :http://www.cnblogs.com/kevinsun/archive/2008/01/04/1025590.html
2:
1、升級client端到9.2.0.5以上。
我使用9208/10.1.0.4的exp導(dǎo)出一個含有BLOB和CLOB的表,能導(dǎo)出所有數(shù)據(jù)!
2、替代解決辦法:
在導(dǎo)出前, 連接到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
導(dǎo)出完成后,再復(fù)原這個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
七匹狼 閱讀(4591)
評論(0) 編輯 收藏