Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Which is faster??

Re: Which is faster??

From: C.S.Venkata Subramanian <csvenkata_at_lycos.com>
Date: Thu, 22 Mar 2001 19:50:51 -0800
Message-ID: <F001.002D5A01.20010322194023@fatcity.com>

 You can try the Bulk insert feature of Oracle. It is available from Oracle 8i onwards. It really reduces time.

--

On Thu, 22 Mar 2001 18:35:21  
 CC Harvest wrote:

>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
>
>
>__________________________________________________
>Do You Yahoo!?
>Get email at your own domain with Yahoo! Mail.
>http://personal.mail.yahoo.com/
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: CC Harvest
> INET: ccharvest_at_yahoo.com
>
>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).
>
Get 250 color business cards for FREE! at Lycos Mail http://mail.lycos.com/freemail/vistaprint_index.html -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: C.S.Venkata Subramanian INET: csvenkata_at_lycos.com 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:50:51 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US