Define Teradata Tables
You can use the Teradata Table Editor to create new tables (entities) and to modify properties on existing tables in a Teradata physical model.
To define Teradata tables
- Click Tables on the Model menu.
The Teradata Table Editor opens.
- Select a table and work with the following options:
Note: Click New
on the toolbar to create a new table. Use the Enter filter text text box to filter a very large list of tables to quickly locate the one you want to work with.
- Physical Name
Specifies the physical name of the table. Change the physical name of the table in this field.
- Database
Specifies the database or user to which the table belongs. Select the schema from the drop-down list.
- Teradata Type
Specifies the type of the entity. Select from the drop-down list. Valid values are: Permanent, Global Temporary, Global Temporary Trace, or Queue Table.
- Physical Only
Lets you specify whether the table should be suppressed from a logical model and appear in a physical model only.
- Generate
Generates DDL for this object during Forward Engineering.
- Complete the following fields on the General tab:
- Checksum
Defines the level of integrity checking for disk I/O. Select from the drop-down list. Valid values are: All, Default, Low, Medium, High, and None.
- Data Block Size Type
Specifies the data block size type. Select from the drop-down list. Valid values are: Minimum, Maximum, or Specified.
- Data Block Size
Specifies the data block size. Data can include Bytes or Kilobytes designation following the value.
- Fallback Protection
Specifies the type of fallback protection for the database. Select from the drop-down.
- Free Space
Specifies the amount of free space.
- Logging
Specifies whether logging of changes to the data occurs.
- Row Control
Specifies if duplicate rows are allowed in the table. Select from the drop-down list. Valid values are: Set or Multiset.
- Commit Type
Specifies what happens to the data in a temporary or volatile table when the transaction completes. Select from the drop-down list. Valid values are: Delete or Preserve.
- Replication Group (Teradata 13 only)
Specifies the name of the replication group to which the selected table is to be added. Select a replication group from the drop-down list or click New to open the Teradata Replication Group Editor.
- Has No Primary Index (Teradata 13 only)
Specifies that the table has no primary index.
- Work with the other tabs in the editor to access additional design features, for example:
- Specify volumetrics options on the Volumetrics tab.
- Preview the forward engineering script for a table in the SQL tab.
- Specify journal options for a selected table on the Journal tab.
- Define constraints for a selected table on the Validation tab.
- Generate an error table for a selected table on the Error Table tab.
- Specify statistics options on the Statistics tab.
- Associate permissions with the selected table on the Permission tab.
- Associate styles with the selected table on the Style tab.
- Associate icons with the selected table on the Icon tab.
- Change the object creation order on the Object Creation Order tab.
- (Optional) Click the Comment tab and enter any comments that you want to associate with the object.
- (Optional) Click the Where Used tab to view where the object is used within the model.
- (Optional) Click the UDP tab to work with user-defined properties for the object.
- (Optional) Click the History tab to view the history information for the object.
- (Optional) Click the Notes tab to view and edit user notes.
- Click Close.
The Teradata Table Editor closes.
Define Data Movement Rules
You can use the Data Movement Rule tab to specify or view data movement rules on a table in a Teradata physical model.
Note: This tab displays only if the Data Movement option is selected for the model. To set the Data Movement option, right-click the Model on the Model Explorer, select Properties. Click the General tab and select the Data Movement check box under Modeling Features.
You can also use the Data Movement tab in the Teradata Table Editor to create a new data movement rule and apply it to a table.
To define a data movement rule for a Teradata table
- Click Tables on the Model menu. You can also right-click a table in the Model Explorer and select Properties.
The Teradata Table Editor opens.
- Select the table you want to work with and click the Data Movement Rule tab.
The Data Movement Rule tab opens.
- From the drop-down list, select data movement rules for the Refresh, Append, Backup, Recovery, Archive, and Purge rules.
You can also click New
to create new data movement rules using the Data Movement Rule editor.
- Click Close.
The Teradata Table Editor closes.
Copyright © 2019 erwin, Inc.
All rights reserved.
|
|