Teradata partitions allow you partition table data by range, case, or column. PowerDesigner models partitions as extended sub-objects with a stereotype of Partition.
You can create a partition in any of the following ways:
You can modify an object's properties from its property sheet. To open a partition property sheet, double-click its Browser entry in the Partitions folder under its parent table.
Name |
Description |
---|---|
Table |
Specifies the parent table of the partition. Scripting name: ParentObject |
Type |
Specifies the type of the partition:
Scripting name: PartitionType, AllBut |
Expression |
Specifies the partitioning expression for partitions of type Range n or Case n. Scripting name: Expression |
Column Groups |
Lists the groups of columns that will be partitioned for
partitions of type Column. Select an item in the list and click
the Properties tool to define its type,
and the columns of the parent table to which it applies. You can
specify partitioning by:
Scripting name: PartitionColumns |
Add |
Specifies that the maximum number of partitions for a partitioning level is the number of partitions it defines plus the value of the BIGINT constant value specified in this field. Scripting name: AddConstant |
Partition sql |
Specifies the SQL statement that defines the partition. You can enter SQL in this field to generate appropriate PowerDesigner objects or create the objects and have them generate the SQL in this field. Changes to objects or the SQL are synchronized with the other. Scripting name: Gen |