Prepare for your Next Interview
This is a discussion on Updating 10 million rows within the Oracle forums, part of the Databases category; I have a table having 10 million rows. I need to update one column, last time it is took around 8-10 hours, Is there any other way, so that ...
|
|||
|
Updating 10 million rows
I have a table having 10 million rows. I need to update one column, last time it is took around 8-10 hours, Is there any other way, so that the process can be completed in 3-4 hours?. (Oracle 9i, W2k platform)
|
| The Following User Says Thank You to madivals For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Quote:
hi madi the effort can be reduced to 3-4 hours but there is only one way that you group your task according to common entries and update them one by one....sorry i was joking.. please if you could post a screen shot of your table structures and the task listed then there is some thing whcih can be planned for these...else you can add a column and fill in the new entries and dropping the old column i think that should work.... i will do some research an then will let you know thanks for posting such question |
|
|||
|
Re: Updating 10 million rows
If there are indexes on the table then first drop them and then update ur table with new column.After the update of the table recreate the indexes.
This will reduce lots of time. Reeta |
|
|||
|
Re: Updating 10 million rows
There are not many options to help reduce the updating time.
You may try applying the command multiple times by updating the column for a particular group of records each time. I think this may be faster because the database will not have to update all the records at the same time. This saves some memory (RAM) space and utilizes the same for other operations. ![]()
__________________
Lack of WILL POWER has caused more failure than lack of INTELLIGENCE or ABILITY. -sutnarcha- |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cyclic Updating | JobHelper | Oracle | 2 | 10-13-2007 05:06 AM |
| Rejected rows | JobHelper | Data Warehousing | 3 | 05-14-2007 06:17 AM |
| Updating Java version | Geek_Guest | Java | 1 | 04-16-2007 09:13 AM |
| Updating table with group of line items | Lokesh M | SAP R/3 | 0 | 12-10-2006 06:47 AM |
| India is not a country of 100 million... Quot Mukesh Ambani | Lokesh M | Geeks Lounge | 0 | 10-10-2006 04:26 AM |