Range partitioning is a convenient method for partitioning historical data. The boundaries of range partitions define the ordering of the partitions in the tables or indexes. Interval partitioning is an extension to range partitioning in which, beyond a point in time, partitions are defined by an interval.
To create a composite partitioned table, you start by using the PARTITION BY RANGE | LIST clause of a CREATE TABLE statement. Next, you specify a SUBPARTITION BY RANGE | LIST | HASH clause that follows similar syntax and rules as the PARTITION BY RANGE | LIST | HASH clause.
After selecting the partitioning column and any other options, select Next. On the Select a Partition Function page, under Select partition function, select either New partition function or Existing partition function. If you choose New partition function, enter the name of the function.
Use the ALTER TABLE ADD PARTITION statement to add a new partition to the "high" end (the point after the last existing partition). To add a partition at the beginning or in the middle of a table, use the SPLIT PARTITION clause.
You cannot explicitly add a partition to an interval-partitioned table. The database automatically creates a partition for an interval when data for that interval is inserted.