ADD (column_name ) AUTO COMPRESS - Teradata Database

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Database
Release Number
20.00
Published
June 2025
ft:locale
en-US
ft:lastEdition
2026-09-23
dita:mapPath
mbm1747160743883.ditamap
dita:ditavalPath
jlp1749501702948.ditaval
dita:id
mdr1472255012272
lifecycle
latest

Add autocompression for the column partition. You can add compression to a set of existing columns whether or not the table is empty or contains data. You can only specify autocompression for column-partitioned tables. 

You cannot modify the autocompression or partition storage for a column partition more than once in the same ALTER TABLE request.


AUTO COMPRESS
Applies autocompression to the column or column partition. AUTO COMPRESS is the default. The system applies autocompression for a physical row on a per container basis. For efficiency, the system may use the autocompression method chosen for the previous container, including not using autocompression, if that is more effective.
NO AUTO COMPRESS
The column partition containing the column is not autocompressed.