My Oracle Support Banner

How to Use Interval Partitioning with a Rolling Partition Window and Avoid ORA-14758 (Doc ID 1590833.1)

Last updated on FEBRUARY 21, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Goal

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."

 

Solution

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
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.