ClickHouse release 26.9
ClickHouse 26.9 ships 56 new features, 135 performance optimizations and 464 bug fixes. Headline additions are LIMIT boundary conditions (AFTER, UNTIL, ALL) that start and stop output based on values in the ordered result stream, incremental refreshes for append-only materialized views, and disk spilling for high-cardinality DISTINCT. The release also adds DateTime/Time arithmetic governed by date_time_overflow_behavior, and CREATE TOKEN for time-limited credentials restricted to a subset of a user's privileges. PromQL support and the TimeSeries engine are expanded and enter private preview on ClickHouse Cloud. Worked SQL examples, including log analysis on an nginx dataset, show the semantics of each feature.
Related posts
- ClickHouse release 26.8
ClickHouse mediumAdept
ClickHouse 26.8 is a long-term support release with 98 new features, 128 performance optimizations and 556 bug fixes. It adds background queries via run_query_in_background, PostgreSQL-style regex operators, array-of-indices subscripts, round-tripping queries to a JSON AST with an experimental clickhouse_json dialect, CREATE USER ... VALID FOR INTERVAL, and a per-user system.user_query_log. Materialized view POPULATE is now atomic: it takes a snapshot and subscribes to new inserts under a brief exclusive lock, which fixes a race that previously dropped concurrent inserts. The release also brings pipelined SQL, new text tokenizers, wider data lake integrations, and faster Parquet, GROUP BY and joins.
- ClickHouse Release 26.6
ClickHouse mediumAdept
ClickHouse 26.6 ships 56 features, 79 performance optimizations and 366 bug fixes, marking ten years of ClickHouse as open source. Headline additions include session-scoped hypothetical skip indexes evaluated with EXPLAIN WHATIF, which estimate skip ratios before an index is built (92% vs 77% of granules skipped at granularity 1 vs 128 in a London query on ~487M rows). Refreshable materialized views can now cascade via REFRESH DEPENDS ON without separate timers, avoiding drift between stages. Other changes include ALTER ... ADD ENUM VALUES, in-CLI help backed by system.documentation, clickhouse-local listening as a server, about 3x faster analysis of deeply nested queries, and experimental continuous STREAM queries with cursors.
- ClickHouse Release 26.3
ClickHouse mediumAdept
ClickHouse 26.3 ships 27 features, 40 performance optimizations and 202 bug fixes. Headline changes are asynchronous inserts enabled by default, JOIN reordering for ANTI/SEMI/FULL joins, and MATERIALIZED CTEs, which evaluate a WITH subquery once into a temporary table. In a UK property-prices example, materializing the CTE roughly halved query time and cut peak memory from 1.5 GiB to about 88 MiB. The release also adds pretty/compact EXPLAIN output, naturalSortKey, JSONExtract support for the JSON type, and experimental WebAssembly UDFs sandboxed with Wasmtime. TTL DELETE can now use vertical merges, and the post explains how horizontal and vertical merges work and when each is chosen.
- ClickHouse Release 26.4
ClickHouse mediumAdept
ClickHouse 26.4 ships 39 features, 45 performance optimizations and 238 bug fixes, led by SQL-compatibility additions: VALUES as a table expression with column aliases, PostgreSQL-style EXTRACT units, SET TIME ZONE, NATURAL JOIN and compound INTERVAL literals. LIKE '%token%' queries can now scan the text index dictionary instead of the full column, which ran about 3x faster with far less memory on the HackerNews dataset. COUNT DISTINCT (uniqExact) merges all per-thread two-level hash tables in a single pass and stops spawning redundant threads, giving 3-15x speedups on a 288-core machine but nothing on a 12-core laptop. EXPLAIN pretty output is more readable, and a new JSONAllValues function lets a text index cover every leaf value of a JSON column.
- ClickHouse Release 26.1
ClickHouse mediumAdept
ClickHouse 26.1 ships 25 new features, 43 performance optimizations and 176 bug fixes. The headline change makes deduplication of asynchronous inserts work end to end with dependent materialized views. Per-insert dedup hashes are carried through each flushed batch and checked independently against Keeper state for the base table and each view target, so retries no longer double-count transformed data. The release also adds shorthand syntax for indexing projections (PROJECTION ... INDEX col TYPE basic), DISTINCT on LowCardinality columns that operates on the dictionary, and new introspection tools: system.zookeeper_info, a Keeper web UI and HTTP API, a files column in system.parts, and the mergeTreeAnalyzeIndexes table function showing the row ranges that survive index pruning.