> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/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
```

4バイトのDeltaとレベル10のZSTDでデータを圧縮します。

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