ClickHouse/dbms/programs/compressor
2018-12-26 23:53:39 +03:00
..
clickhouse-compressor.cpp Squashed #2471 2018-06-05 23:09:51 +03:00
CMakeLists.txt Better link and deps (#3631) 2018-11-21 22:20:27 +03:00
Compressor.cpp Update Compressor.cpp 2018-12-26 23:53:39 +03:00
README.md Add multiple codecs to compressor 2018-12-26 18:01:26 +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 --level 5 < input_file > output_file

Compress data with ZSTD level 10, LZ4HC level 7 and LZ4.

$ ./clickhouse-compressor --codec ZSTD --level 5 --codec LZ4HC --level 7 --codec LZ4 < input_file > output_file