Skip to content

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

ClickHouse 14 min read Release mediumAdept

ClickHouse Release 24.2

ClickHouse 24.2 ships 18 features, 18 performance optimisations and 49 bug fixes. Headline changes include automatic file-format detection for file/url/s3/hdfs/azureBlobStorage table functions, SQL SECURITY DEFINER views that let users query a view without access to the underlying table, and readable-quantity comments in Pretty output. The cosineDistance, dotProduct and L2Distance functions are now vectorized with AVX-512 FMA on x86 and auto-vectorization on ARM, cutting a 2.1M-vector GloVe nearest-neighbour scan by over 25%. Removing redundant const-argument copies made dotProduct up to 270x faster, so normalizing vectors at insert time and querying with 1 - dotProduct is now a viable shortcut. Adaptive asynchronous inserts are also introduced.

Related posts

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

  • ClickHouse Release 26.2

    ClickHouse mediumAdept

    ClickHouse 26.2 ships 25 features, 43 performance optimizations and 183 bug fixes, and promotes the text index and QBit vector data type to production-ready. A new input_format_max_block_wait_ms setting, used with input_format_connection_handling, flushes streaming inserts on a time interval rather than block size. RIGHT and FULL OUTER JOINs now generate unmatched right-side rows in parallel, one thread per hash-table bucket, giving a 3.2× speedup (35s to 11s) on a self-join benchmark. Other changes include faster JSON parsing (1.2–2.8×), batched uniq and vectorized minmax index computation on insert, automatic minmax indexes for temporal columns, a primes table function, and the ClickStack UI embedded in the server binary.

  • ClickHouse Release 24.1

    ClickHouse mediumAdept

    ClickHouse 24.1 ships 26 features, 22 performance optimisations and 47 bug fixes. Highlights include an experimental Variant type, a discriminated union of nested columns that lets maps, arrays and CSV schema inference hold mixed types, read back per type with variantElement. New Damerau-Levenshtein, Jaro and Jaro-Winkler similarity functions join the existing Levenshtein distance, demonstrated by finding typosquatting domains in the 7M-row Tranco list. The release also adds a vertical algorithm that speeds up FINAL queries on ReplacingMergeTree tables.

  • pg_clickhouse 0.11.1: Now with pgvector, UPDATE, DELETE pushdown

    ClickHouse mediumAdept

    pg_clickhouse 0.11.1 maps pgvector's vector type to ClickHouse Array(Float32/Float64) columns. It pushes pgvector distance operators down to ClickHouse functions such as L2Distance and cosineDistance, and reports in EXPLAIN whether a ClickHouse vector_similarity HNSW index applies. It also pushes UPDATE and DELETE down as ClickHouse lightweight updates and deletes on MergeTree tables, along with TRUNCATE; lightweight updates need block number/offset settings enabled and suit changes to under about 10% of a table. Other changes include regr_* aggregate pushdown, OrNull aggregates that match Postgres NULL semantics, JSONB subscript pushdown, session timezone alignment, and Decimal(76,38) for unconstrained numeric.

  • ClickHouse Release 25.5

    ClickHouse mediumAdept

    ClickHouse 25.5 ships 15 new features, 23 performance optimizations and 64 bug fixes. The headline change is the HNSW vector similarity index moving from experimental to beta, with pre- and post-filtering for hybrid search. Other additions include Hive metastore catalog support for querying Iceberg tables, an implicit `table` in clickhouse-local so SELECT/FROM can be omitted for stdin input, an `introduced_in` field in system.functions, and correct parsing of Geo types from Parquet. Each feature comes with a runnable SQL example.

The quest for software engineering knowledge.

Look:
Layout: