estimateCompressionRatio
Introduced in: v25.4.0 Estimates the compression ratio of a given column without compressing it.For the examples below, the result will differ based on the default compression codec of the server.
See Column Compression Codecs.
codec— String containing a compression codec or multiple comma-separated codecs in a single string.Stringblock_size_bytes— Block size of compressed data. This is similar to setting bothmax_compress_block_sizeandmin_compress_block_size. The default value is 1 MiB (1048576 bytes). Maximum allowed value is 256 MiB (268435456 bytes).UInt64
column— Column of any type.Any
Float64
Examples
Basic usage with default codec
Query
Response
Query
Response
Query
Response