OS Manuals

/usr/bin/clickhouse-compressor

Altinity Stable Build for ClickHouse - production-ready releases with extended support, rigorous testing, and 100% compatibility with upstream ClickHouse.

From altinity-clickhouse-26.3 26.3.60.10002_p1-r0 (enterprise-packages), captured 2026-11-08 by running clickhouse-compressor --help (exit 0). permalink

Usage: /usr/bin/clickhouse-compressor [options] < INPUT > OUTPUT
Usage: /usr/bin/clickhouse-compressor [options] INPUT OUTPUT
Allowed options:
  -h [ --help ]     produce help message
  --input INPUT     input file
  --output OUTPUT   output file
  -d [ --decompress ]
                    decompress
  --offset-in-compressed-file arg (=0)
                    offset to the compressed block (i.e.
                    physical file offset)
  --offset-in-decompressed-block arg (=0)
                    offset to the decompressed block (i.e.
                    virtual offset)
  -b [ --block-size ] arg (=1048576)
                    compress in blocks of specified size
  --hc              use LZ4HC instead of LZ4
  --zstd            use ZSTD instead of LZ4
  --codec arg       use codecs combination instead of LZ4
  --level arg       compression level for codecs specified
                    via flags
  --threads arg (=1)
                    number of threads for parallel
                    compression
  --none            use no compression instead of LZ4
  --no-checksum-validation
                    disable checksum validation
  --stat            print block statistics of compressed
                    data
  --stacktrace      print stacktrace of exception


See also: https://clickhouse.com/docs/en/operations/utilities/clickhouse-compressor/
Options (11)
OptionDescriptionSource
-hproduce help messagehelp
--input INPUTinput filehelp
--output OUTPUToutput filehelp
--hcuse LZ4HC instead of LZ4help
--zstduse ZSTD instead of LZ4help
--codec arguse codecs combination instead of LZ4help
--level argcompression level for codecs specified via flagshelp
--noneuse no compression instead of LZ4help
--no-checksum-validationdisable checksum validationhelp
--statprint block statistics of compressed datahelp
--stacktraceprint stacktrace of exceptionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.