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

Home -> Community -> Mailing Lists -> Oracle-L -> How to do a bulk bind to load data into a table

How to do a bulk bind to load data into a table

From: <rick_at_dormir.org>
Date: Wed, 13 Feb 2002 13:07:20 -0800
Message-ID: <F001.0040EA77.20020213130436@fatcity.com>

I'm looking at a way to speed up a huge insert (100K records at a time). In looking at FORALL, it looks like it could do what I want, but I'm not sure how to set it up correctly. What I currently do is:

set up a cursor, selecting the rows from table a for cursor_rec in cursor_data loop

   insert into table b
   commit evey 2K rows
end loop

Is there a better way to do this?

Thank you for your help.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: rick_at_dormir.org

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 Wed Feb 13 2002 - 15:07:20 CST

Original text of this message

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