Oracle回滾段滿,提交問題解決辦法

 1: 加大回滾段(可以給500M甚至1G)
2:分段commit

 

 

 

iCount :=1;
for rec in cur_name loop
  insert into  table_name (.....);//DML Lanaguage
if iCount =2000 then
   commit;
   iCount:=0;
else
  iCount:= iCount +1;
end if;


end loop;

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章