How to Use Interval Partitioning with a Rolling Partition Window and Avoid ORA-14758
(Doc ID 1590833.1)
Last updated on APRIL 30, 2022
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 to 126.96.36.199 [Release 11.2 to 12.1]
Information in this document applies to any platform.
You want to use interval partitioning for a specific number of partitions (N) and then drop the oldest one with you get to N+1. For example, you have created a partitioned table with interval partitioning using an interval of 1 day. You want to keep 30 days of data and on day 31, drop the oldest partition. However, when you do that, you get an "ORA-14758: Last partition in the range section cannot be dropped."
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document