Skip to content

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

ClickHouse 8 min read Release mediumAdept

ClickHouse Release 23.3

ClickHouse 23.3 LTS adds parallel replicas, which let multiple replicas of the same shard each process distinct data ranges assigned by an initiator node. This allows query speed to scale by adding replicas, especially on shared object storage, without resharding. Dynamic shards via parallel_replicas_custom_key split work with modulo or range predicates, which can skip the final GROUP BY merge. Lightweight deletes are now GA but only remove rows from disk during later merges, so mutations remain the choice for immediate space recovery or compliance. The release also adds MySQL-compatible parseDateTime and Joda-syntax parsing, plus Grafana visualization of query traces from opentelemetry_span_log.

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 Newsletter April 2023: Lightweight Deletes

    ClickHouse mediumAdept

    ClickHouse 23.3 makes lightweight deletes (DELETE FROM with a row condition) generally available and the preferred way to remove data, and also adds trace visualization to the Grafana plugin and parallel replicas that split a shard's data across replicas. Lightweight deletes simplify incremental updates of denormalized, JOIN-materialized tables. Instead of copying the whole target table while excluding changed ids and then swapping it in with EXCHANGE, changed rows go into a temporary table, are deleted from the target by id, and are re-inserted. The dbt-clickhouse plugin now recommends this approach for incremental materializations.

  • ClickHouse Release 23.7

    ClickHouse mediumAdept

    ClickHouse 23.7 ships 31 features, 16 performance optimisations and 47 bug fixes. Parquet export is up to 6x faster, with a UK house price export dropping from 19.9s to 11.6s. Sparse column serialization is now on by default (ratio_of_defaults_for_sparse_serialization = 0.9375): columns dominated by default values store only non-default values plus an offset stream, improving compression and ClickBench results. PRQL, a pipelined language that compiles to SQL, arrives as an experimental query language.

  • ClickHouse Release 25.4

    ClickHouse mediumAdept

    ClickHouse 25.4 adds lazy materialization, which defers reading column data until it is needed. On a Top-N query over Amazon reviews it cut runtime from 219s to 0.139s, with 40× less I/O and 300× less memory. Other additions are MergeTree tables on read-only object storage that refresh parts, allowing one writer and unlimited readers for data sharing, and a CPU workload scheduler. The scheduler uses CPU resources and hierarchical workloads with max_concurrent_threads and weights. The release also brings experimental correlated subqueries in EXISTS, Apache Iceberg time travel via snapshot timestamps, a table-level default compression codec, persistent databases in clickhouse-local, and SSH access to the public playground.

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

The quest for software engineering knowledge.

Look:
Layout: