15.10 - BLOCKCOMPRESSION - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Teradata Database
Release Number
December 2015
Content Type
Programming Reference
Publication ID
English (United States)
Last Update

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.

The file system determines the block-level compression setting for the table based on its Teradata Virtual Storage temperature.
The table uses the block-level compression setting in the DBS Control setting DefaultTableMode. For details, see Utilities, B035-1102.
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.
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.