- Memory data chunk being written to becomes full
- System compression timeout (
disk_auto_optimize_timeout) is reached
- Compression explicitly defined on the column (
compresscolumn property) - Compression explicitly defined on the column’s table at the time of its
creation, applying to any columns on that table with no explicit compression
definition of their own (
compression_codectable property) - Global default column compression (
compression_codec)
For example, to apply the following column compression during table creation:
- LZ4 compression on the
first_name - zstd compression on the
last_name - Snappy compression on all other columns
Limitations and Cautions
-
Columns with any of the following characteristics are not eligible for
column compression:
- Member of a filtered view or join view
- Member of a logical external table or SQL view
- The column compression of an existing column cannot be modified directly.