Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 30 min read Release mediumAdept

ClickHouse Release 26.7

ClickHouse 26.7 ships 61 features, 112 performance optimizations and 329 bug fixes, led by a fused ordered-aggregation pipeline that pushes LIMIT into in-order GROUP BY. On TPC-H SF100 it made a Top-N order-summary query 313× faster with 592× less memory by stopping reads once N groups complete. JOIN gains include runtime filters from the build side that skip probe-side granules via primary-key and skip-index analysis (6.2× faster on a selective TPC-H join), compact 8-byte row references in hash tables (median 12% faster, 15% less memory), and a new dpsub join-ordering algorithm that can chain with greedy as a fallback. Vector search also improves through QBit additions such as Int8 support, strided storage, randomized Hadamard rotations and quantization codecs, alongside phrase search, EXPLAIN ANALYZE and unified URL access.

Related posts

  • ClickHouse Release 26.5

    ClickHouse mediumAdept

    ClickHouse 26.5 ships 38 features, 51 performance optimizations and 224 bug fixes. The headline optimization pushes ORDER BY … LIMIT below LEFT/RIGHT joins when the sort key uses only the preserved side, giving 20.4× faster runtime and ~175× less memory on a TPC-H SF100 query. A second one, for GROUP BY … LIMIT without ORDER BY, caps the aggregation hash table at LIMIT+OFFSET groups and was 11.9× faster with ~185× less memory. The release also adds a `filesystem` table function for querying local directories, a `url_base` setting for the url table function, and negative LIMIT BY.

  • ClickHouse Release 25.10

    ClickHouse mediumAdept

    ClickHouse 25.10 focuses on JOIN performance, adding lazy columns replication (an index column pointing at the original data instead of copying duplicated values), runtime Bloom filters built from the right-side join keys and applied as PREWHERE on the left side for parallel hash joins, push-down of OR conditions that reference both join sides, and automatic column statistics via auto_statistics_types to feed join reordering. Benchmarks on an m6i.8xlarge show a self-join over 20× faster with lazy replication, a TPC-H join 2.1× faster with ~7× less memory using runtime filters, and 24× faster with 60× less memory from disjunction push-down. The release also introduces the QBit bit-sliced vector type for query-time precision tuning, plus SQL additions such as general support for the <=> operator.

  • How ClickHouse became fast at joins

    ClickHouse hardMaster

    ClickHouse became 26× faster on the join-heavy TPC-H SF100 workload between 22.4 and 26.4. In the first year (4.4×) parallel hash join became the default, build and probe phases were optimized and two-table reordering was added. In the second year (another 6× with default settings) four changes landed: decorrelation of correlated subqueries, lazy column replication, runtime filters and statistics-based join reordering. Lazy replication represents repeated join outputs as dictionary indexes instead of copying wide strings (1.9× faster in a self-join benchmark). Runtime bloom/min-max filters built from build-side keys are applied as PREWHERE on the probe side (2.1× faster, peak memory cut from 1.24 GiB to 185 MiB).

  • ClickHouse Release 25.9

    ClickHouse mediumAdept

    ClickHouse 25.9 adds automatic global join reordering, which uses a greedy algorithm plus row-count estimates or manually created column statistics to pick build/probe order across many tables. On a six-table TPC-H query at scale factor 100 it cut runtime from over an hour to 2.7 seconds (~1,450×) with ~25× less memory. Secondary indices are now checked granule by granule while data is read, so LIMIT queries stop early; one LIMIT 1 query ran over 4× faster. Other changes include an experimental streaming-friendly text index replacing the FST design, Iceberg write and metadata improvements, arrayExcept, argument-less boolean settings, and S3 storage class selection.

  • ClickHouse Release 25.12

    ClickHouse hardMaster

    ClickHouse 25.12 ships 26 features, 31 performance optimizations and 129 bug fixes, led by three query-engine speedups. Top-N queries (ORDER BY … LIMIT N) now compare the running threshold against granule-level min/max skip-index metadata to skip granules before reading, cutting data read by one to two orders of magnitude and speeding queries 5–10×. Lazy materialization moved from row-by-row column fetches to a batched join-style step (JoinLazyColumnsStep), making a LIMIT 100,000 query about 75× faster (38.7s to 0.51s), and its default limit was raised from 10 to 10,000. An experimental DPsize dynamic-programming join reordering algorithm for INNER JOINs explores more join orders than the greedy approach and produces a better plan on a TPC-H eight-table query.

The quest for software engineering knowledge.

Look:
Layout: