Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

use of APPEND hint in UPDATE

516501Dec 10 2007 — edited Dec 11 2007

Hi,

Plz suggest me One of my UPDATE statement is taking 6 hrs and updating 108888 rows.

UPDATE MODULETREE 
        SET MODULECODE='USPRJ.COL'|| SUBSTR(MODULECODE,14,LENGTH(MODULECODE)) 
WHERE   MODULECODE LIKE 'USPRJ.APT.COL%'

Can u plz suggest how do we tune this update statement. Will use of APPEND hint will impact on performance. One index is used by the Query which has only one column MODULECODE. If for tuning purpose, we have to remove UNDO generation, we an do it.

Thanx.. Ratan

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 8 2008
Added on Dec 10 2007
4 comments
4,859 views