ClickhouseAnnouncement
ClickHouse Release 26.5
Summary
ClickHouse 26.5 is a monthly release containing 38 new features, 51 performance optimizations, and 224 bug fixes. It reports a record number of performance optimizations and introduces a filesystem table function for running SQL against a local file system. Its main query-planning examples push ORDER BY … LIMIT through eligible LEFT or RIGHT JOINs when the sort key depends only on the preserved side, allowing ClickHouse to limit rows before joining. In a TPC-H benchmark at scale factor 100, enabling this optimization reduced fastest runtime from 1.878 seconds to 0.092 seconds, peak memory from 1.88 GiB to 10.98 MiB, and data read by 1.5×. Additional changes include a GROUP BY … LIMIT shortcut for eligible unordered queries, an experimental in-browser clickhouse-client, and per-subquery query-cache controls.
Context
The release is presented as the next monthly ClickHouse release, with a record number of performance optimizations alongside new features and bug fixes.
Approach / What changed
ClickHouse adds query-plan optimizations that move eligible ORDER BY … LIMIT work before joins and avoid building unnecessary groups for certain unordered GROUP BY … LIMIT queries. The release also adds a filesystem table function, an experimental in-browser clickhouse-client, and settings for controlling query-cache use and propagation at the subquery level.
Takeaways
ORDER BY … LIMIT pushdown is enabled by the query_plan_top_k_through_join setting and applies to LEFT or RIGHT JOIN queries when the sort key uses only columns from the preserved side.
In the stated TPC-H scale-factor-100 benchmark, the join pushdown reduced fastest runtime 20.4×, lowered peak memory usage by about 175×, and read 1.5× less data.
The experimental Web Terminal is enabled with allow_experimental_webterminal, while query caching can be enabled or disabled for individual subqueries or propagated into all subqueries.
Source and freshness
- Source
- clickhouse.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.