I think that you would be pleasantly surprised by the benefits of not doing the operation as an update.
You could instead try "CTAS" -- create table ... as select ...
You can make the desired update changes as part of the select, and with the "nologging" option you will generate very little redo log (I don't believe that an update performed against a "nologging" table will cut down on the amount of logging performed).
You can then rename the old table, rename the new table ,apply indexes, constraints, grants etc.
Originally posted by slimdave I think that you would be pleasantly surprised by the benefits of not doing the operation as an update.
You could instead try "CTAS" -- create table ... as select ...
You can make the desired update changes as part of the select, and with the "nologging" option you will generate very little redo log (I don't believe that an update performed against a "nologging" table will cut down on the amount of logging performed).
You can then rename the old table, rename the new table ,apply indexes, constraints, grants etc.
It will be much faster.
I think that the suggestion above is very good; do follow it.
Oracle Certified Master
Oracle Certified Professional 6i,8i,9i,10g,11g
email: ocp_9i@yahoo.com
Bookmarks