Defining Teradata Join Indexes

The following properties are applicable to a Teradata Join Index object.

Tab

Property

Description

Additional Information

  Name Specifies the name of the join index  
  Database Specifies the database or user to which the join index belongs  
  Checksum Specified the level of integrity checking for disk I/O.

Default: Indicates that the system-wide default DBS Control checksum setting is applied to the table

On: Indicates that the entire disk block is sampled to calculate a checksum

Off: Indicates that checksum disk I/O integrity checks is disabled

  Block Compression Specifies the block-level compression technique to be used

AutoTemp: Indicates that the file system determines the block-level compression setting for the join index based on its Teradata Virtual Storage temperature

Default: Indicates that the join index uses the compression option setting (MANUAL, AUTOTEMP, or NEVER) of the DBS Control parameter DefaultTableMode

Manual: Indicates that block-level compression is applied based on the default for the join index at the time the join index is created

Never: Indicates that the join index is not compressed even if the DBS Control block compression settings indicate otherwise

  Fallback Protection Specifies the type of fallback protection for the join index

Fallback: Indicates that a secondary copy of the object is created and stored for protection

No Fallback: Indicates that no fallback protection is configured

  Valid-Time Qualifier Specifies the valid-time qualifier to define temporal properties

Current Valid-Time: Indicates that the query applies to only data that is currently in effect

Sequenced Valid-Time: Indicates that the query applies to only data that is in effect for a specified time period

Non-Sequenced Valid-TIme: Indicates that the tables are treated as non-temporal, and valid-time dimension is ignored

 

Transaction-Time Qualifier

Specifies the transaction-time qualifier to define temporal properties

Current Transaction-Time: Indicates that the query applies to only data that is currently open

Non-Sequenced Transaction-Time: Indicates that the tables are treated as non-temporal, and transaction-time dimension is ignored

Available only when Valid-Time Qualifier is Current.

 

Map

Specifies a contiguous or sparse map for the index

 

 

Colocate

Specifies the colocation name for the index

 

 

Generate

Specifies whether a DDL statement is generated for the object during Forward Engineering

 

Select Available Tables and Views Specifies a list of available tables and views Under Available Tables and Views, select the columns that you want to define as view column. Then, click .
Columns Specifies the columns selected from the available tables and views
Select Type Specifies the expression type to indicate whether duplicate rows are returned

All: Indicates that the statement returns all rows in the table

Distinct: Indicates that the statement discards duplicate rows and returns only the remaining rows

Select Top Rows Specifies the number of top rows to select  
Alias Specifies a temporary name given to a table, column, or expression present in a query based on the selected column  
Expression Specifies the expression for a selected column Available only when the selected column is a user-defined function expression
From Available Tables and Views Specifies a list of available tables and views  
From Specifies the selected tables and views  
Alias Specifies an alternate name for the selected table or view  

Where

 

 

 

Where

Specifies a conditional expression to eliminate all rows from the SELECT clause query that do not evaluate to TRUE

 

Group By

Specifies a clause to group aggregate index rows on the AMP

 

Having

Specifies a clause to filter the aggregate index rows grouped by the GROUP BY function

 

Order

Specifies a clause to order index rows on the AMP

 

User Defined SQL

 

User-Defined SQL

Specifies whether a user-defined SQL code is to be used

 

 

Specifies a user-defined SQL to be used for the object

 

SQL

 

Specifies the SQL code to be used for the object

 

Partition

 

 

 

Column Partitioned Table Specifies whether the table is column-partitioned

 

Enable Auto Compress Specifies whether auto-compression is applied to the table rows

 

 

Available only if the table is column-partitioned

Additional Partition Number Specifies additional partition numbers to add partitions to the partitioning level at a later time
Partition Groups Specifies the available partition groups

Statistics

 

 

Name Specifies the statistics applicable to the table

 

Is Summary Specifies whether the statistics is SUMMARY statistics

 

Is Unnamed Specifies whether the statistics is on an unnamed object