Automated Range Partition

>>Script Language and Platform: Oracle

Interval partitioning is a new partitioning feature introduced in Oracle 11g. This is an extension to range partitioning in which Oracle creates a partition automatically when the inserted value exceeds all other partition ranges.

Internal partition adds new partitions automatically, but does not drop any old partitions.

This script will automate adding new partitions and dropping the oldest partitions to a
table partitioned by range.

This script was tested in Oracle 10g.

Author: JP Vijaykumar

Download Script:
AutomatedRangePartition.sql



Disclaimer:
We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…

Disclaimer Continued

Back to Database Journal Home

Get the Free Newsletter!

Subscribe to Cloud Insider for top news, trends & analysis

Latest Articles