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

Home -> Community -> Usenet -> c.d.o.misc -> how to update hundreds of big tables

how to update hundreds of big tables

From: <sbrkic_at_mailexcite.com>
Date: Sat, 26 Dec 1998 23:22:26 GMT
Message-ID: <763r3h$a8h$1@nnrp1.dejanews.com>


I have to update a big number of Oracle tables efficiently. The names of tables and columns to be updated are obtained from a cursor and are based on column data type and schema names. Dynamic SQL is used to create the update statements. 10% of tables are bigger than the biggest rollback segment in the database. My question is: what is the most efficient method to perform this job? Should I use a cursor loop and sequentially update column after column commiting after every N rows? Or maybe create many processes (or threads) using Pro*C and submit these jobs concurrently (how many processes/threads)? Please, provide examples if possible.

Thank you!
Slavisa Brkic

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Sat Dec 26 1998 - 17:22:26 CST

Original text of this message

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