17.10 - Effect of Platform on Storage Size of Distinct UDTs - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1184-171K
Language
English (United States)

The size of a distinct UDT value is often larger for byte-aligned format systems than it is for byte-packed format systems. This depends on the predefined type used to define the distinct UDT. The size of some predefined types, such as all the numeric types, is not affected by the underlying platform.

The size of a distinct UDT on a byte-packed format platform is never larger than the same underlying type on byte-aligned format systems. For details, see Teradata Vantage™ - Database Design, B035-1094.