oracle - Procedure: commit after 10000 records -


create or replace procedure testing begin      insert t3 select * t2;      insert t1 select * t4;  commit; exception when other      rollback; end; 

this work fine

t2 - 3 millions t4 - 3 millions total have 6 million record , due reason temp space gets filled want commit after every 10000 record inserted .

how do?

i use bulk collect , forall.

see incremental commit processing forall , bulk processing bulk collect , forall examples can adapt tp case.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -