> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-detect-table-modification.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Документация по ClickHouse Compressor

# clickhouse-compressor

Простая программа для сжатия и распаковки данных.

<div id="examples">
  ### Примеры
</div>

Сожмите данные с помощью LZ4:

```bash theme={null}
$ ./clickhouse-compressor < input_file > output_file
```

Распакуйте данные в формате LZ4:

```bash theme={null}
$ ./clickhouse-compressor --decompress < input_file > output_file
```

Сжимайте данные с помощью ZSTD на уровне 5:

```bash theme={null}
$ ./clickhouse-compressor --codec 'ZSTD(5)' < input_file > output_file
```

Сожмите данные с помощью Delta с размером 4 байта и ZSTD уровня 10.

```bash theme={null}
$ ./clickhouse-compressor --codec 'Delta(4)' --codec 'ZSTD(10)' < input_file > output_file
```
