ClickHouse 22.2 Released
ClickHouse 22.2 makes projections production-ready: alternate sort orders and aggregations stored in the same data parts, updated atomically with the main table and chosen automatically by the query optimizer, unlike materialized views. Other additions include settings for append, truncate or new-file behavior when exporting to file/S3/HDFS (Parquet and S3 can't append), custom insert deduplication tokens for exactly-once inserts, EPHEMERAL columns that feed DEFAULT/MATERIALIZED expressions, and automatic repair of broken disks from replicas without a restart. An experimental soft/hard memory limit scheme lets queries exceed a guaranteed limit when memory is free, and kills the most overcommitted query under pressure.
Related posts
- ClickHouse Release 25.6
ClickHouse mediumAdept
ClickHouse 25.6 (25 features, 32 performance optimizations, 105 bug fixes) can take a single consistent storage snapshot across all subqueries and CTEs in a SELECT, controlled by enable_shared_storage_snapshot_in_query. Snapshots rely on immutable data parts that a query references until it finishes. Multiple projections can now be combined to prune parts for one query, building on index-like projections that store only the sort key plus _part_offset to cut storage duplication, though pruning is part-level only for now. Other additions include reading Parquet's logical JSON type back as ClickHouse JSON, experimental Time/Time64 types, and new system.codecs and iceberg_history system tables.
- 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.
- ClickHouse 22.3 LTS Released
ClickHouse mediumAdept
ClickHouse 22.3 is a long-term support release (supported through March 2023) focused on maturity and reliability. ClickHouse Keeper, a Jepsen-tested drop-in ZooKeeper replacement, is now production ready. So are AArch64 builds, which already give better price/performance in major clouds, and MergeTree/ReplicatedMergeTree on S3, though zero-copy replication is not yet ready and GCP has known issues. The release also adds reproducible hermetic builds, X.509 authentication, more fuzzing with randomized settings and backward-compatibility tests, and an experimental JSON type that stores inferred dynamic subcolumns in columnar form. Other changes include up to 2x faster MergeTree inserts, up to 3x faster large IN lists, and a hybrid RAM/disk cache for remote filesystems.
- 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 24.3
ClickHouse mediumAdept
ClickHouse 24.3 enables the new query analyzer by default (beta), which fixes nested CTE/join column resolution, allows multiple ARRAY JOIN clauses, treats tuple elements like columns, and supports lambda aliases; the old implementation is slated for removal in 24.4/24.5. ATTACH PARTITION can now copy parts from a remote disk such as a web-hosted table, which is faster than INSERT…SELECT because it skips deserialization. The release also adds S3 Express One Zone support. In a 1-trillion-row Parquet count it ran about 7x faster than standard S3, at roughly 7x the storage cost ($0.16 vs $0.023 per GB).