Default Table-Level Retention Setting |Retentiondays - Default Table-Level Retention Setting - Teradata Vantage

Teradata® Open Table Format for Apache Iceberg and Delta Lake User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Vantage
Release Number
20.00
Published
October 2025
ft:locale
en-US
ft:lastEdition
2026-06-17
dita:mapPath
qrj1749167830193.ditamap
dita:ditavalPath
lli1749584660955.ditaval
dita:id
bsr1702324250454

A new option is added to the CREATE and MODIFY statements for DATABASE, USER, and PROFILE to allow setting a default table-level retentiondays value. This default is automatically applied when new tables are created under the corresponding database, user, or profile, unless a table explicitly specifies its own retentiondays.

The updated syntax is shared here:

DEFAULT RETENTIONDAYS = { retention_days | NULL }

Where retention_days represents table-level retention days for an OFS or MOTF table. It is an unsigned integer value between 1 and 90.