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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How To Merge a big table to another Big table

Rajan SwFeb 14 2025

Hi Experts,

I have two tables Tab1 and Tab2. Both are having around 10Billion records, and both the tables are partitioned on a date called entry_Date week wise.

Each table has 20 Columns.

Currently I am moving each partition wise from Tab1 to Tab2 and each partition is taking around 10Minutes for 10 Million records for a week.
Is there a better approach for this can Create a third table

Create table3 as select from Tab1 union all Select * form Tab2, once done can I rename the table3.

Please share me some good approach.

I am using Oracle 19c Exadata.

Comments
Post Details
Added on Feb 14 2025
8 comments
127 views