16.20 - Effect of Platform on Storage Size of Distinct UDTs - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
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.