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

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -