EXP-00008的解决

在做EXP时出现如下错误, 

EXP-00008: ORACLE 错误 1555 发生
ORA-01555: snapshot too old: rollback segment number 52 with name "RBS51" too small
汇出作业顺利终止, 但含有警告 

网上搜到的解法均是增加回滚段的大小,可是我已经增加的很大了,仍报这个错.看来是要导出的数据量太大,分段导出试试,修改EXP指令为exp its/its@it tables=(BARCODE_INFO) file=(barcode2.dmp,barcode3.dmp,barcode4.dmp,barcode5.dmp,barcode6.dmp,barcode7.dmp,barcode8.dmp,barcode9.dmp,barcode10.dmp,barcode11.dmp) filesize=2000m constraints=n buffer=131072 recordlength=64000 triggers=n log=logsfis.log indexes=n compress=n feedback=1000 parfile=exp.txt 

Parfile.txt

query="WHERE make_date BETWEEN TO_DATE ('2006-01-01 00:00:01','yyyy-mm-dd hh24:mi:ss') AND TO_DATE ('2007-01-01 00:00:00','yyyy-mm-dd hh24:mi:ss')"

其实,在导出的过程中仍遇到问题,后来取消了direct=y后正常,估计direct=y不能和query共存.

posted @ 2006-09-15 18:15  土鸟  阅读(2007)  评论(0编辑  收藏  举报