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!

Update Statement taking too long to execute

knayam247Feb 13 2007 — edited Feb 14 2007
I am running an update query on a table that contains approximately 1.5 million rows. Its been 20 minutes now and the query is still running. Its the simplest update statement one could write,

Update TableA Set Column1 = '0'.

This column is indexed. I need to use this statement within a procedure hence the concern. The explain plan looks like this:

UPDATE STATEMENT Optimizer Mode=ALL_ROWS 1 M 43984
UPDATE TABLEA
TABLE ACCESS FULL TABLEQ 1 M 24 M 43984

Any input on how to rectify this would be appreciated. Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 14 2007
Added on Feb 13 2007
10 comments
797 views