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!

Partition table by monthly and older than 24 months partitions to be dropped

New RootsAug 2 2024 — edited Aug 2 2024

Hi Experts,

We have an existing table with about 3 billion records without partition. The plan is to create a new table to insert last 2 years of data with monthly wise partitioned. so our reporting will be extracted much faster.

The structure of the table1 and table2 to be same and table2 is inserted from table1 records on daily basics through job. In table 2 the partition to be dropped suppose it exceeds 2 years. Please guid me how to achive this . how to create the table 2 with 2 years data? and how to auto partion name?

Comments
Post Details
Added on Aug 2 2024
2 comments
374 views