query takes so much time to update [message #325359] |
Fri, 06 June 2008 00:25 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
tannad
Messages: 43 Registered: January 2008 Location: mumbai
|
Member |
|
|
I am running the query on oracle 9i sql*plus
/* Formatted on 2008/06/06 10:57 (Formatter Plus v4.8.7) */
UPDATE kone_new a
SET (a.parentid1, a.isparent1, a.childcount1) =
(SELECT b.parentid, b.isparent, b.childcount
FROM konematerial b
WHERE b.zycus_id = a.zycus_id)
In kone_new table there are 5 millions of records ..
what this query running from last 2 days ..but still not updated..
I dropped the indexes on a.parentid1, a.isparent1, a.childcount1
also both tables are in nologging mode..
How to tune this query so that the tables column will updates in less time ,,?
Any suggestion?
If can I analyse the table?
|
|
|
|
|