ClickHouse/dbms/programs/compressor
2020-01-11 17:51:33 +08:00
..
clickhouse-compressor.cpp Squashed #2471 2018-06-05 23:09:51 +03:00
CMakeLists.txt Attempt to fix "splitted" build 2019-07-10 14:46:37 +03:00
Compressor.cpp Fix some spelling mistakes 2020-01-11 17:51:33 +08:00
README.md Fix readme 2019-04-01 19:36:46 +03:00

ClickHouse compressor

Simple program for data compression and decompression.

Examples

Compress data with LZ4:

$ ./clickhouse-compressor < input_file > output_file

Decompress data from LZ4 format:

$ ./clickhouse-compressor --decompress < input_file > output_file

Compress data with ZSTD at level 5:

$ ./clickhouse-compressor --codec 'ZSTD(5)' < input_file > output_file

Compress data with Delta of four bytes and ZSTD level 10.

$ ./clickhouse-compressor --codec 'Delta(4)' --codec 'ZSTD(10)' < input_file > output_file