The basic syntax for creating a table partitioned by RANGE COLUMNS is shown here: CREATE TABLE table_name PARTITION BY RANGE COLUMNS( column_list ) ( PARTITION partition_name VALUES LESS THAN ( value_list ), PARTITION partition_name VALUES LESS THAN ( value_list ), ... )
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.
Partitioning addresses key issues in supporting very large tables and indexes by letting you decompose them into smaller and more manageable pieces called partitions.
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.