Relational Primary Index | Resource Usage Macros/Tables | Teradata Vantage - 17.00 - Relational Primary Index - Teradata Database

Teradata Vantage™ - Resource Usage Macros and Tables

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Administration
User Guide
featnum
B035-1099-170K

All resource usage tables have the same nonunique primary index of TheDate, TheTime, and NodeID columns.

The primary index is nonunique because:
  • Of rows that will appear with the same timestamp during daylight savings time.
  • Some tables have multiple rows per logging period.
  • Rows that have duplicate timestamps can be distinguished by the GmtTime column.

Because the primary index is nonunique, all resource usage tables are created as MULTISET tables. This prevents the system from checking for duplicate rows.

For more information on MULTISET tables, see “CREATE TABLE (Table Kind Clause)” in Teradata Vantage™ - SQL Data Definition Language Syntax and Examples, B035-1144 or “Duplicate Rows in Tables” in Teradata Vantage™ - SQL Fundamentals, B035-1141.