Row Partitioning Transaction-Time Tables - Analytics Database - Teradata Vantage

Temporal Table Support

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-10-30
dita:mapPath
eud1628112402879.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
fif1472244754791
lifecycle
latest
Product Category
Teradata Vantage™

The following partitioning expression is recommended for a transaction-time table, where ttcolumn represents the transaction-time column.

   PARTITION BY CASE_N (END(ttcolumn) >= CURRENT_TIMESTAMP, NO CASE)

By using the recommended physical partitioning for a transaction-time table, the physical partitions are as follows:

  1. The current partition has rows that are or were open as of the last resolved CURRENT_TIMESTAMP value for the partitioning expression.
  2. The history partition has rows that were closed as of the last resolved CURRENT_TIMESTAMP value for the partitioning expression.