---
title: "ClickHouse Release 25.4"
description: "ClickHouse 25.4 adds lazy materialization, which defers reading column data until it is needed."
url: "https://swe.quest/articles/clickhouse-release-25-4-70f4ff42cabe956e"
canonical: "https://clickhouse.com/blog/clickhouse-release-25-04"
source: "ClickHouse"
published: "2025-05-09"
difficulty: "medium"
kind: "Release"
reading_minutes: 9
tags: ["analytics","query-engines","performance","sql"]
---

# ClickHouse Release 25.4

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

## Summary

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.

Written by swe.quest, not by the author.

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

## Topics

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

## Prerequisites

- SQL basics ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))
- ClickHouse MergeTree tables ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))

## Keywords

ClickHouse, lazy materialization, Apache Iceberg, AWS Glue, MergeTree, clickhouse-local, correlated subqueries

## Related posts

- [ClickHouse gets lazier (and faster): Introducing lazy materialization](https://swe.quest/articles/clickhouse-gets-lazier-and-faster-introducing-lazy-materialization-c876250ed7371b97.md): ClickHouse · 2025-04-22 · Medium · 18 min read · Query engines, Analytics & OLAP, Performance engineering, Storage engines
  ClickHouse 25.4 adds lazy materialization, which defers reading column data until the query plan actually needs it.
- [ClickHouse Release 26.3](https://swe.quest/articles/clickhouse-release-26-3-ea6c8bff46efb19b.md): ClickHouse · 2026-04-07 · Medium · 15 min read · Analytics & OLAP, Query engines, Storage engines, SQL, WebAssembly
  ClickHouse 26.3 ships 27 features, 40 performance optimizations and 202 bug fixes.
- [ClickHouse Release 25.9](https://swe.quest/articles/clickhouse-release-25-9-512577de2ea7d4de.md): ClickHouse · 2025-10-02 · Medium · 10 min read · Query engines, Analytics & OLAP, Performance engineering, Search, SQL
  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.
- [ClickHouse Release 23.12](https://swe.quest/articles/clickhouse-release-23-12-36e0c0d21cc33770.md): ClickHouse · 2024-01-11 · Medium · 16 min read · Analytics & OLAP, Query engines, SQL, Performance engineering
  ClickHouse 23.12 adds experimental Refreshable Materialized Views, which periodically re-run an arbitrary query and atomically replace the results in a target table.
- [ClickHouse Release 23.8](https://swe.quest/articles/clickhouse-release-23-8-8db1ebb65d969c75.md): ClickHouse · 2023-09-15 · Medium · 10 min read · Analytics & OLAP, Query engines, Data pipelines, Performance engineering
  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.

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)
