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

Home -> Community -> Usenet -> c.d.o.server -> most expeditious way to update a large number of rows

most expeditious way to update a large number of rows

From: <mylesv_at_gmail.com>
Date: 16 Oct 2006 08:11:43 -0700
Message-ID: <1161011502.921384.14640@i3g2000cwc.googlegroups.com>


Hello. I need to update a single column in every row of a large table (671 000 rows.)

In order to prevent the redo logs from filling faster than Oracle can archive them, I set up a loop to update 5000 rows at a time, commit, and then sleep for two seconds.

The log archiver was able to keep up, but I estimate that it'll take about 74 hours for every row to be updated. I cannot use "nolog" as I have a physical standby database that depends on the archived redo logs.

Thanks in advance for any hints!
Myles Received on Mon Oct 16 2006 - 10:11:43 CDT

Original text of this message

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