Deletion of records from big table [message #230260] |
Wed, 11 April 2007 06:02  |
jaydba
Messages: 86 Registered: September 2006 Location: UK
|
Member |

|
|
I have archived some tables in archive area in another schema. Now I would like to remove millions of records (old or historical) from A schema of the concern table. These records are preserved in an archive area.
I tried the follwing statement for big table but it takes so much time to process this data and it does not respond anything.
DELETE FROM J55 WHERE D1 IN (SELECT D1 FROM B.J55)
What is the best way to remove records faster.
1) DO I need to set large rollback segments
2) DO I need to set a parallel DML session
3) Do I need to set a large retention period
4) Do I need to use script for removing records by setting interval for commit
I am confused here to remove millions of records from the big table. Please suggest me the best approch to fulfill my requirement.
Your help would be highly appreciated.
|
|
|
|
|
|
|