RE: How to speed up an update
Date: Thu, 5 Mar 2009 14:47:53 -0500
And see what Greg Rahn wrote recently about adding a column with a default value - if you've got the space and can allow the nologging operation that (CTAS, etc.) may well be the fastest way.
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of genegurevich_at_discover.com Sent: Thursday, March 05, 2009 1:23 PM
Subject: How to speed up an update
I am trying to tune the following update:
update TABLE set column = decode (column, vlaue1..);
The TABLE has about 13mil rows and a primary key. I am thinking of dropping
the PK and running the update
with higher degree of parallelism and rebuilding the PK after the update. Is there anything else I should consider? I am running oracle 10.2.0.2
Please consider the environment before printing this email.
http://www.freelists.org/webpage/oracle-l Received on Thu Mar 05 2009 - 13:47:53 CST