Skip to content

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

ClickHouse 15 min read Release mediumAdept

ClickHouse Release 26.5

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.

Assumes: SQL joins and aggregationquery execution plans

Related posts

  • ClickHouse Release 26.7

    ClickHouse mediumAdept

    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.

  • 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.

  • 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 26.10

    ClickHouse mediumAdept

    ClickHouse 26.10 ships 104 features, 225 performance optimizations and 739 bug fixes. Headline additions include a `|` function composition operator with `_`/`_1` placeholders, which the analyzer rewrites into ordinary lambdas, and a `written_rows` quota for capping ingestion. Also new are array and map functions such as arrayMinIndex, arrayRemoveAt, mapRemove and mapContainsKeyValue, plus an opt-in `sql_compatible_division_for_integers` setting for PostgreSQL-style truncating division. IN subqueries can now spill their sets to disk via `max_bytes_before_external_set`, so a query that fails under a 512 MiB limit can complete. The release also brings faster GROUP BY, more flexible JOIN conditions and an experimental columns cache.

  • 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).

The quest for software engineering knowledge.

Look:
Layout: