Creating Partitioned Tables with Composite Partition Methods

In composite partitioned table partitions are divided into subpartitions. Subpartitions can be set individually for each partition. You can set subpartition template that can be used for setting subpartitions for new partitions without manually set subpartitions.

Creating a Composite Range-Hash Partitioned Table

  1. Click the New Database Object button on the Standard toolbar and specify an object.
  2. Select the Table type in the dialog.
  3. Input the table name.
  4. Click Create. If specified table name is unique, the table editor appears.
  5. Add columns to the table.
  6. Optionally, you can alter the table name, change the database (owner), or set comment for the table.
  7. Go to the Partitioning tab.
  8. In the Partitioning Type drop-down list, click Range.
  9. Select Partition and Sub-partition columns.
  10. Add required partitions and set values for partitions’ bounds for all partition columns.
  11. Set sub-partitions template if required.
  12. Add sub-partitions manually if required, or set their quantity for partitions.
  13. Set tablespace names for partitions and sub-partitions if required.
  14. Save the document.

Creating a Composite Range-List Partitioned Table

  1. Click the New Database Object button on the Standard toolbar, and specify an object.
  2. Select the Table type in the dialog.
  3. Input the table name.
  4. Click Create. If specified table name is unique, the table editor appears.
  5. Add columns to the table.
  6. Optionally, you can alter the table name, change the database (owner), or set comment for the table.
  7. Go to the Partitioning tab.
  8. In the Partitioning Type drop-down list, click List.
  9. Select Partition and Sub-partition columns.
  10. Add required partitions and set values for partitions’ bounds for all partition columns.
  11. Set sub-partitions template if required.
  12. Add sub-partitions manually if required, or set their quantity for partitions.
  13. Set tablespace names for partitions and sub-partitions if required.
  14. Save the document.