ClickHouse/dbms/programs/compressor
2018-12-28 21:15:26 +03:00
..
clickhouse-compressor.cpp Squashed #2471 2018-06-05 23:09:51 +03:00
CMakeLists.txt Fix cyclic lib depend (make clickhouse_compression lib) 2018-12-28 20:27:53 +03:00
Compressor.cpp Fix cyclic lib depend ppart 2: clean 2018-12-28 21:15:26 +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