DELETE hugh data from very big table [message #186644] |
Tue, 08 August 2006 17:12 |
poratips
Messages: 345 Registered: April 2005 Location: IL
|
Senior Member |
|
|
Hi,
I am using oracle 9i and I have a very big table and needs to be delete almost 24M data. What's the best way to delete the data? I have index on my load_date which i am using in my where criteria.
Thanks,
|
|
|
|
|
Re: DELETE hugh data from very big table [message #186768 is a reply to message #186647] |
Wed, 09 August 2006 07:31 |
poratips
Messages: 345 Registered: April 2005 Location: IL
|
Senior Member |
|
|
Thanks. You are right that partition is the best method but this is first time we are going to delete the data and re-writing method to eliminate more reocrds after deleting.
I know there is CTAS method cam alos help but i was wondering if I run straight DELETE or including into pl/sql will be better any another way as i tried to run straight DELETE and after two hrs I have to stop it.
Thanks,
|
|
|