ClickHouse/programs/compressor
2020-04-16 04:06:10 +03:00
..
clickhouse-compressor.cpp Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
CMakeLists.txt Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
Compressor.cpp Fix usage of max_parser_depth setting; remove harmful default function arguments 2020-04-16 04:06:10 +03:00
README.md Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +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