Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Which is faster??
I have the following scripts:
insert into table
select * from table2
;
So if use the about bulk statement in my application, and the table2 is big, say 10 million records, my concern is that it's going to fail because of the possible rollback segments failure. So then I have to use PL/SQL to create a cursor and commit every 50000 records. What's the disadvantage of this?Will it be much slower than a bulk insert?
Can I do it another way: create a stored procedure for this bulk insert, then pin this procedure in memory, does it still have RBS problem?
Anyone has similar experience?
Thanks in Advance,
Chris
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Mar 22 2001 - 21:25:37 CST
![]() |
![]() |