Skip to content

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

ClickHouse 5 min read Release mediumAdept

ClickHouse 22.11 Release

ClickHouse 22.11 ships 15 new features, 5 performance optimisations and 32 bug fixes, headlined by composite time intervals, recursive ** glob patterns, Spark-compatibility functions, INSERT retries and SELECT support for Apache Hudi and Delta Lake. The new insert_keeper_max_retries setting lets long-running inserts survive Keeper/ZooKeeper reconnections by retrying failed blocks instead of failing the whole request, with 5 recommended for most cases. Recursive ** globs, combined with range expansion and set matching in path-accepting table functions such as s3(), allow queries to read only the relevant files. Worked examples over git-import commit data on S3 show this pruning in practice.

Related posts

  • ClickHouse Newsletter December 2022: Project all your troubles away

    ClickHouse mediumAdept

    ClickHouse Cloud is now generally available, adding SOC 2 Type II compliance, SLAs, AWS Marketplace availability, a Development tier from about $50/month, a SQL console, and support for PostgreSQL/MySQL engines, dictionaries and SQL UDFs. ClickHouse 22.11 brings composite time intervals, recursive `**` globs for filesystem and S3 paths, keeper retries during inserts (`insert_keeper_max_retries`), Hudi and DeltaLake engines, readonly S3 disks, and Object(JSON) nested in other types. A worked projection example on a metrics table cuts a latest-value-per-metric query from 0.9s scanning 220M rows to 7ms scanning 255 rows, with no change to the query or table schema. The issue also lists upcoming workshops and meetups and a holiday reading list.

  • What’s New in ClickHouse 21.12

    ClickHouse mediumAdept

    ClickHouse 21.12 marks ClickHouse Keeper as feature complete: it now supports ZooKeeper's four-letter monitoring commands and works as a drop-in ZooKeeper replacement, with compressed, checksummed logs and no zxid overflow or JVM tuning. The release adds partitioned writes for the File, URL and HDFS engines, glob and parallel reads for INSERT FROM INFILE, INTERVAL steps in ORDER BY WITH FILL, and Identifier query parameters for safely substituting table and database names. It also introduces an experimental Bool type and constraint-based query optimization, where CHECK and new ASSUME constraints rewrite queries to cheaper columns and hypothesis indexes record precomputed conditions. Arrow-family formats read from s3, url and hdfs are now fetched in chunks via range requests above 1 MiB, so large files no longer have to be loaded fully into memory.

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

    ClickHouse mediumAdept

    ClickHouse 23.5 ships 29 new features, 22 performance optimizations and 85 bug fixes. Highlights are a new azureBlobStorage table function and table engine for reading and writing Azure Blob Storage, and a built-in keeper-client for inspecting ClickHouse Keeper. Parquet reading is faster through fewer mutex locks and out-of-order reading by default, which can be reverted with input_format_parquet_preserve_order; one example query dropped from 0.367s to 0.240s. Geo types and functions and the query results cache are now production ready, and compressed marks and indices on disk are enabled by default.

The quest for software engineering knowledge.

Look:
Layout: