---
title: "Bring high-performance analytics to your lakehouse with ClickHouse and Amazon S3 Tables"
description: "Organizations keep data in open table formats like Apache Iceberg but often copy it into separate systems for fast analytics, incurring cost, staleness, governance sprawl, and lock-in. Amazon S3 Tables provide fully managed Iceberg storage, and ClickHouse offers high-performance real-time analytics. This post demonstrates connecting ClickHouse to S3 Tables through the Iceberg REST endpoint using the DataLakeCatalog database engine, enabling in-place querying and writing without data migration. ClickHouse reads only relevant Parquet objects from S3 and commits writes via atomic pointer swaps through the catalog. The same read-transform-write pattern extends to AI agent workloads needing fast iterative access to analytical results."
---

# Bring high-performance analytics to your lakehouse with ClickHouse and Amazon S3 Tables

[Clickhouse](https://yomu.fyi/company/clickhouse) · AWS · Nov 11, 2026

**Type:** Tutorial

## Summary

Organizations keep data in open table formats like Apache Iceberg but often copy it into separate systems for fast analytics, incurring cost, staleness, governance sprawl, and lock-in. Amazon S3 Tables provide fully managed Iceberg storage, and ClickHouse offers high-performance real-time analytics. This post demonstrates connecting ClickHouse to S3 Tables through the Iceberg REST endpoint using the DataLakeCatalog database engine, enabling in-place querying and writing without data migration. ClickHouse reads only relevant Parquet objects from S3 and commits writes via atomic pointer swaps through the catalog. The same read-transform-write pattern extends to AI agent workloads needing fast iterative access to analytical results.

## Context

Organizations store transactional and operational data in open table formats like Apache Iceberg but often need to copy data into separate systems for fast analytics, which introduces cost, staleness, governance sprawl, and lock-in.

## Approach / What changed

Connect ClickHouse to Amazon S3 Tables through the Iceberg REST endpoint using the DataLakeCatalog database engine, enabling in-place querying and writing of Iceberg tables without data migration.

## Takeaways

- ClickHouse connects to Amazon S3 Tables via the Iceberg REST endpoint using the DataLakeCatalog database engine, allowing in-place querying and writing without data migration.
- On a read, ClickHouse resolves the current Iceberg snapshot via the catalog and reads only relevant Parquet objects from S3; on a write, it commits by atomically updating the table’s root metadata pointer.
- S3 Tables automatically handle compaction (default target 512 MB), snapshot expiry, and unreferenced file cleanup, while ClickHouse provides columnar processing and parallel query execution.

## FAQ

### How does ClickHouse read and write data to S3 Tables?

ClickHouse reads only the relevant Parquet objects directly from S3 after resolving the current table metadata and snapshot via the Iceberg REST catalog. On a write, it commits by updating the table's root metadata pointer to the new snapshot through the catalog, ensuring atomic pointer swaps.

### What are the namespace and drop table limitations?

S3 Tables support single-level namespaces through their Iceberg REST endpoint, so tables are addressed as namespace.table\_name. The endpoint only supports DROP TABLE with purge=true; otherwise, a 400 Bad Request may occur.

### When should I materialize data instead of querying in place?

Querying Iceberg tables in place on object storage has different latency and throughput than local MergeTree tables. For exploration and batch transforms, query in place; for low-latency high-concurrency dashboards, materialize data into MergeTree.

**Tags:** [Analytics](https://yomu.fyi/topic/analytics), [Apache Iceberg](https://yomu.fyi/topic/apache-iceberg), [AWS](https://yomu.fyi/topic/aws), [ClickHouse](https://yomu.fyi/topic/clickhouse), [S3](https://yomu.fyi/topic/s3)

- Source: [Clickhouse](https://clickhouse.com/blog/clickhouse-amazon-s3-tables)
- Source URL: https://clickhouse.com/blog/clickhouse-amazon-s3-tables
- Ingested by Yomu: 2026-11-12T15:00:12.438Z

[Read original post](https://clickhouse.com/blog/clickhouse-amazon-s3-tables)
