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!

Purge table having data in Billions

HeisonlineDec 21 2021

Dear Experts ,

Looking for your help :
We have log table having huge data and these tables are being accessed for each processing :
Table & count :
Tran_log ===> 313776046
Trans_key ===>314127519
Trans_Cache ==>511926762

We tried :
Create backup table with same configuration and move data to backup table.
Delete older data from backup table
Truncate original table
move data from backup to original table.
Drop backup table
This operation needs down time and we are working on 24*7 (without good purging mechanism earlier ) , now it's in place but to delete old data take more time to run purge job.
Is there any other way where we can delete the data without impacting daily business operations.

Thank you for your proposals.

Comments
Post Details
Added on Dec 21 2021
11 comments
241 views