Creating Partitioned Tables with Range, Hash or List Partition Methods
Last modified: October 23, 2019
Creating a Range-Partitioned Table
- Click the New Database Object button on the Devart - Standard toolbar.
- Select the Table type in the dialog.
- Input the table name.
- Click Create. If specified table name is unique, the table editor appears.
- Add columns to the table.
- Optionally, you can alter the table name, change the database (owner), or set comment for the table.
- Go to the Partitioning tab.
- In the Partitioning Type drop down list, click Range.
- Select Partition columns.
- Add required partitions and set values for partitions’ bounds for all partition columns.
- Set tablespace names for partitions if required.
- Save the document.
Creating a List-Partitioned Table
- Click the New Database Object button on the Devart - Standard toolbar.
- Select the Table type in the dialog.
- Input the table name.
- Click Create. If specified table name is unique, the table editor appears.
- Add columns to the table.
- Optionally, you can alter the table name, change the database (owner), or set comment for the table.
- Go to the Partitioning tab.
- In the Partitioning Type drop down list, click List.
- Select Partition columns.
- Add required partitions and set values for partitions’ bounds for all partition columns.
- Set tablespace names for partitions if required.
- Save the document.
Creating a Hash-Partitioned Table
- Click the New Database Object button on the Devart - Standard toolbar.
- Select the Table type in the dialog.
- Input the table name.
- Click Create. If specified table name is unique, the table editor appears.
- Add columns to the table.
- Optionally, you can alter the table name, change the database (owner), or set comment for the table.
- Go to the Partitioning tab.
- In the Partitioning Type drop down list, click Hash.
- Select Partition columns.
- Add required partitions and set values for partitions’ bounds for all partition columns.
- Set tablespace names for partitions if required.
- Save the document.
Was this page helpful?