---
title: "No more disks: the architecture behind stateless compute in ClickHouse Cloud"
description: "ClickHouse Cloud compute nodes are now fully stateless and diskless."
url: "https://swe.quest/articles/no-more-disks-the-architecture-behind-stateless-compute-in-clickhouse-cloud-196ae85c7a09008f"
canonical: "https://clickhouse.com/blog/clickhouse-cloud-stateless-compute"
source: "ClickHouse"
published: "2025-07-09"
difficulty: "hard"
kind: "Deep dive"
reading_minutes: 18
tags: ["analytics","distributed-databases","storage-engines","caching","cloud"]
---

# No more disks: the architecture behind stateless compute in ClickHouse Cloud

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2025-07-09, 18 min read, Deep dive. Original: [https://clickhouse.com/blog/clickhouse-cloud-stateless-compute](https://clickhouse.com/blog/clickhouse-cloud-stateless-compute)

## Summary

ClickHouse Cloud compute nodes are now fully stateless and diskless. The last local dependency, database metadata stored as .sql files, has been removed by a new in-memory Shared database engine backed by a versioned Shared Catalog in Keeper. The architecture got there in stages: SharedMergeTree moved table data to object storage, a distributed cache plus a userspace page cache replaced node-local caching, and the Shared Catalog replaced the Atomic and Replicated database engines. Centralized metadata enables fast bootstrapping without warm-up and DROP operations that don't require every node to be online. It also adds new DDL such as atomic INSERT … SELECT, cross-database RENAME and UNDROP, with selective invalidation of conflicting DDLs instead of a global lock, and extends stateless compute to Iceberg and Delta Lake.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Distributed databases](https://swe.quest/tags/distributed-databases.md) (Data & databases)
- [Storage engines](https://swe.quest/tags/storage-engines.md) (Data & databases)
- [Caching](https://swe.quest/tags/caching.md) (Backend & APIs)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- ClickHouse MergeTree engines ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- object storage ([easy posts on Storage systems](https://swe.quest/tags/storage-systems.md?difficulty=easy))
- distributed coordination (ZooKeeper/Keeper)
- database DDL and catalogs ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))

## Keywords

ClickHouse Cloud, Shared Catalog, SharedMergeTree, ClickHouse Keeper, Replicated database engine, Iceberg, Delta Lake

## Related posts

- [ClickHouse Cloud boosts performance with SharedMergeTree and Lightweight Updates](https://swe.quest/articles/clickhouse-cloud-boosts-performance-with-sharedmergetree-and-lightweight-updates-60af5576ecb3ec04.md): ClickHouse · 2023-08-17 · Medium · 24 min read · Storage engines, Replication, Analytics & OLAP, Cloud platforms, Scaling
  SharedMergeTree is a new ClickHouse Cloud table engine that replaces ReplicatedMergeTree (and its zero-copy replication variant) by moving both data and part metadata off the servers into shared object storage and ClickHouse Keeper.
- [Introducing Warehouses: Compute-compute separation in ClickHouse Cloud](https://swe.quest/articles/introducing-warehouses-compute-compute-separation-in-clickhouse-cloud-1fc38498daa39db3.md): ClickHouse · 2025-01-27 · Medium · 10 min read · Analytics & OLAP, Multi-tenancy, Cloud platforms, Distributed databases
  ClickHouse Cloud Warehouses let multiple services, each with its own endpoint, compute nodes, sizing, idling and network access rules, read and write the same data, isolating workloads such as ingestion, BI dashboards and ad-hoc analysis.
- [ClickHouse Keeper: A ZooKeeper alternative written in C++](https://swe.quest/articles/clickhouse-keeper-a-zookeeper-alternative-written-in-c-982cab848c27cdde.md): ClickHouse · 2023-09-27 · Medium · 16 min read · Consensus, Distributed systems, Performance engineering, Analytics & OLAP, C & C++
  ClickHouse Keeper is a C++ drop-in replacement for ZooKeeper with the same client protocol and data model.
- [Ten years of ClickHouse in open source](https://swe.quest/articles/ten-years-of-clickhouse-in-open-source-271aa2e036084367.md): ClickHouse · 2026-06-15 · Easy · 12 min read · Analytics & OLAP, Storage engines, Open source, C & C++
  ClickHouse marks ten years as open source, with more than 2000 contributors and the stated aim of being a fully open project: public roadmap, CI, code review and a learning resource for C++ and database engineering.
- [chDB Durable Layer for agent memory](https://swe.quest/articles/chdb-durable-layer-for-agent-memory-f44e23c2b52592d1.md): ClickHouse · 2026-09-28 · Medium · 14 min read · AI agents, Analytics & OLAP, Storage systems, Replication, Python
  chDB Durable Layer wraps the embedded chDB (ClickHouse) OLAP engine so a local MergeTree working copy can be published to object storage you own (S3, GCS, Azure) and recovered on another host.

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)
