2.1 Partitioning Overview. Partitioning provides a technique to subdivide objects into smaller pieces. Partitioning allows a table, index, or index-organized table to be subdivided into smaller pieces, where each piece of such a database object is called a partition.
Composite partitioning is a combination of the basic data distribution methods; a table is partitioned by one data distribution method and then each partition is further subdivided into subpartitions using a second data distribution method.
Subpartitioning—also known as composite partitioning—is the further division of each partition in a partitioned table.
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.
EXCHANGE PARTITION command can exchange partitions in a LIST , RANGE or HASH partitioned table. The structure of the source_table must match the structure of the target_table in that both tables must have matching columns and data types. The data in the table must adhere to the partitioning constraints.
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.
Oracle Database creates this partition automatically via an autonomous transaction, separate from the INSERT transaction. So, the partition stays, even if you roll back the operation. The automatic list-partitioning strategy is only for partitions; it cannot be used for a subpartitioning clause.
Table partitioning is a data organization scheme in which table data is divided across multiple storage objects called data partitions ing to values in one or more table columns. Each data partition is stored separately.