clickhouse-compressor
简单的数据压缩和解压缩程序。
示例
使用 LZ4 压缩数据:
从 LZ4 格式解压缩数据:
在级别 5 使用 ZSTD 压缩数据:
使用四字节的 Delta 和 ZSTD 级别 10 压缩数据。
简单的数据压缩和解压缩程序。
使用 LZ4 压缩数据:
$ ./clickhouse-compressor < input_file > output_file
从 LZ4 格式解压缩数据:
$ ./clickhouse-compressor --decompress < input_file > output_file
在级别 5 使用 ZSTD 压缩数据:
$ ./clickhouse-compressor --codec 'ZSTD(5)' < input_file > output_file
使用四字节的 Delta 和 ZSTD 级别 10 压缩数据。
$ ./clickhouse-compressor --codec 'Delta(4)' --codec 'ZSTD(10)' < input_file > output_file
Was this page helpful?