15.10 - BLOCKCOMPRESSION - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

Specifies whether the data in the table should be block-compressed, including compression that occurs based on the temperature of the cylinders on which the data is stored. The definitions of the various thresholds are determined by the DBS Control setting TempBLCThresh. For details, see Utilities, B035-1102.

You cannot specify this option to modify the definitions of global temporary tables or volatile tables.

For details, see “CREATE TABLE (Table Options Clause)” in SQL Data Definition Language - Detailed Topics, B035-1184.

AUTOTEMP
The file system determines the block-level compression setting for the table based on its Teradata Virtual Storage temperature.
DEFAULT
The table uses the block-level compression setting in the DBS Control setting DefaultTableMode. For details, see Utilities, B035-1102.
MANUAL
Block level compression is applied based on the default for the table at the time the table is created. Tables can be compressed or uncompressed at any time after loading by using the Ferret COMPRESS and UNCOMPRESS commands. Data inserted into the existing table inherits the current compression status of the table at the time the data is inserted.
NEVER
The table and its subtables are not block-level compressed, even if a query band or the applicable DBS Control block compression settings indicate otherwise.