Achieving Maximum Benefit with COMPRESS - Advanced SQL Engine - Teradata Database

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
tpf1598412463935.ditamap
dita:ditavalPath
tpf1598412463935.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantage™
Maximum benefit is achieved when the COMPRESS phrase is applied to a column under the following conditions:
  • Enough rows contain a compressible value (for example, null, zero, blank, or constant value) in the compressed field to exceed the break-even point. For details, see Teradata Vantage™ - Database Design, B035-1094.
  • The shortened row length results in the elimination of one or more data blocks.