ClickHouse Release 23.11
ClickHouse 23.11 ships 25 features, 24 performance optimisations and 70 bug fixes, headlined by a production-ready S3Queue engine for streaming ingestion from S3 buckets. Experimental t-digest column statistics, stored per part, let multi-stage PREWHERE order filters by selectivity, cutting data read in an example from 240 MB (no PREWHERE) to 160 MB to 80 MB. Window functions now evaluate partitions in parallel, giving a roughly 10% speedup (8.5s to 7.6s) on a 1-billion-row NOAA moving-average query, with gains depending on partition count and work per partition.
Related posts
- ClickHouse Release 23.8
ClickHouse mediumAdept
ClickHouse 23.8 makes file reads much faster by using Parquet row-group min/max statistics to skip data, answering count() from file metadata, and pruning files via the _file virtual column without reading them. On a 126GiB PyPI Parquet dataset in GCS, a count dropped from 26.5s to 11.4s, a time-range filter from 84s to 35s, and a 10% filename sample from 4.6s to 0.6s. The release also adds the S3Queue table engine for streaming ingestion from S3. It tracks processed files in ClickHouse Keeper using an unordered mode (with TTL and file-count limits) or an ordered mode keyed on filenames. Direct querying of zip, tar and 7z archives via the file function is also new.
- ClickHouse Release 23.2
ClickHouse mediumAdept
ClickHouse 23.2 ships 18 features, 30 performance optimisations and 43 bug fixes. Its headline change is multi-stage PREWHERE, which filters columns from smallest to largest uncompressed size so that each step narrows the granules scanned by the next. It is enabled with enable_multiple_prewhere_read_steps=1, ideally alongside move_all_conditions_to_prewhere. The release also adds read support for Apache Iceberg v1 via the iceberg table function and engine (latest snapshot only for now), a corrMatrix aggregate for Pearson correlation matrices, Kafka Connect Sink compatibility with Amazon MSK, and a GA Metabase plugin.
- ClickHouse Release 25.8
ClickHouse mediumAdept
ClickHouse 25.8 ships 45 features, 47 performance optimizations and 119 bug fixes. The headline is an experimental native Parquet reader (v3) that bypasses Apache Arrow. It reads columns within a row group concurrently, prefetches non-PREWHERE columns only after PREWHERE, and adds page-level min/max pruning, averaging 1.81× faster on ClickBench; in the demo a query drops from 1.5s to 0.7s. Also new: Hive-style partitioned writes via the S3 engine, Iceberg insert/delete/update/schema changes (experimental), Delta Lake writes and time travel, catalogs promoted to beta, and the _table virtual column available beyond merge().
- ClickHouse Newsletter March 2023: Contributing to ClickHouse
ClickHouse mediumAdept
ClickHouse v23.2 ships 18 new features, 30 performance optimisations and 43 bug fixes, headlined by multi-stage PREWHERE, read support for Apache Iceberg v1 tables, and correlation matrix computation. The featured query counts cumulative unique contributors to ClickHouse repositories from GitHub events. A first version uses groupArrayDistinct with a window function over monthly arrays. A more concise version passes uniqState sketches from a subquery and merges them cumulatively with uniqMerge in a window, cutting runtime from 32ms to 24ms. The issue closes with a reading list and upcoming webinars and meetups.
- 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).