VariableCOMPRESSION_TYPE
Description Sets default compression levels for segments and minisegments
Value Typestring
Defaulthigh
Valid ValuesextremeCompress using Zstd in the digest pipeline; use Zstd when merging segments.
 fastCompress using LZ4 in the digest pipeline; use LZ4 when merging segments.
 highCompress using LZ4 in the digest pipeline; use Zstd when merging segments.

Sets the compression level in the digest and segment pipelines. Extreme is not recommended as the extra compression is not worth the extra CPU time spent.

ini
COMPRESSION_TYPE=high
COMPRESSION_LEVEL=9
COMPRESSION_LEVEL_MINI=0
#VALUE_DEDUP_LEVEL=COMPRESSION_LEVEL

Recommended setting depends on the hardware and use case. The rule of thumb is that high provides a two-times compression ratio over fast at the cost of using more CPU time for decompressing while searching. See also VALUE_DEDUP_LEVEL.