---
title: "ClickHouse Release 25.9"
description: "ClickHouse 25.9 adds automatic global join reordering, which uses a greedy algorithm plus row-count estimates or manually created column statistics to pick build/probe order across many tables."
url: "https://swe.quest/articles/clickhouse-release-25-9-512577de2ea7d4de"
canonical: "https://clickhouse.com/blog/clickhouse-release-25-09"
source: "ClickHouse"
published: "2025-10-02"
difficulty: "medium"
kind: "Release"
reading_minutes: 10
tags: ["query-engines","analytics","performance","search","sql"]
---

# ClickHouse Release 25.9

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2025-10-02, 10 min read, Release. Original: [https://clickhouse.com/blog/clickhouse-release-25-09](https://clickhouse.com/blog/clickhouse-release-25-09)

## Summary

ClickHouse 25.9 adds automatic global join reordering, which uses a greedy algorithm plus row-count estimates or manually created column statistics to pick build/probe order across many tables. On a six-table TPC-H query at scale factor 100 it cut runtime from over an hour to 2.7 seconds (~1,450×) with ~25× less memory. Secondary indices are now checked granule by granule while data is read, so LIMIT queries stop early; one LIMIT 1 query ran over 4× faster. Other changes include an experimental streaming-friendly text index replacing the FST design, Iceberg write and metadata improvements, arrayExcept, argument-less boolean settings, and S3 storage class selection.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Query engines](https://swe.quest/tags/query-engines.md) (Data & databases)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [Search](https://swe.quest/tags/search.md) (Backend & APIs)
- [SQL](https://swe.quest/tags/sql.md) (Languages)

## Prerequisites

- SQL joins ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- hash join build/probe phases ([easy posts on Build systems](https://swe.quest/tags/build-systems.md?difficulty=easy))
- ClickHouse MergeTree ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))

## Keywords

ClickHouse, TPC-H, Apache Iceberg, bloom filter, MergeTree, Amazon S3

## Related posts

- [ClickHouse Release 25.12](https://swe.quest/articles/clickhouse-release-25-12-e571148b4347f1f0.md): ClickHouse · 2026-01-14 · Hard · 18 min read · Query engines, Analytics & OLAP, Performance engineering, Databases
  ClickHouse 25.12 ships 26 features, 31 performance optimizations and 129 bug fixes, led by three query-engine speedups.
- [How ClickHouse became fast at joins](https://swe.quest/articles/how-clickhouse-became-fast-at-joins-68de042e0ff6c22e.md): ClickHouse · 2026-06-03 · Hard · 15 min read · Query engines, Analytics & OLAP, Performance engineering, SQL
  ClickHouse became 26× faster on the join-heavy TPC-H SF100 workload between 22.4 and 26.4.
- [ClickHouse Release 25.1](https://swe.quest/articles/clickhouse-release-25-1-dbd3d08d261fe532.md): ClickHouse · 2025-02-07 · Medium · 15 min read · Query engines, Analytics & OLAP, Performance engineering, Concurrency
  ClickHouse 25.1 speeds up the default parallel hash join by building N two-level hash tables whose 256 buckets are filled by threads in a non-overlapping way, then merging them in constant time into one shared table.
- [ClickHouse Release 26.7](https://swe.quest/articles/clickhouse-release-26-7-1ce7ef970afa5876.md): ClickHouse · 2026-08-06 · Medium · 30 min read · Query engines, Analytics & OLAP, Performance engineering, Vector search
  ClickHouse 26.7 ships 61 features, 112 performance optimizations and 329 bug fixes, led by a fused ordered-aggregation pipeline that pushes LIMIT into in-order GROUP BY.
- [ClickHouse Release 26.5](https://swe.quest/articles/clickhouse-release-26-5-7752e98141c4074d.md): ClickHouse · 2026-06-01 · Medium · 15 min read · Query engines, Analytics & OLAP, Performance engineering, SQL
  ClickHouse 26.5 ships 38 features, 51 performance optimizations and 224 bug fixes.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
