The CoalescingMergeTree table engine

Mark Needham
The ClickHouse Merge Tree family just got a new member, and it's pretty exciting! In this video, we dive into the Coalescing Merge Tree engine, a fresh addition designed to handle partial row updates efficiently. If you've ever wanted to keep only the most up-to-date and complete version of each entity in your data, without the overhead of full row overwrites, this engine might be what you're looking for.
We'll walk you through:
- How the Coalescing Merge Tree engine works and when to use it
- A practical example using electric car telemetry data
- Creating and querying a Coalescing Merge Tree table in ClickHouse
- Comparing query results before and after merges
- Tips for optimizing your data storage and retrieval
This video is for you if you're dealing with IoT data, user profiles, or any scenario where you need to update and consolidate partial information efficiently.
Recent videos
View all Videos
How to
Inspect incoming data with INSERT … RETURNING in ClickHouse
Use INSERT … RETURNING in ClickHouse 26.11 to inspect generated values, sample incoming rows, find invalid ratings, and summarise an ingestion batch.

How to
Reading and writing Vortex files with ClickHouse (26.11)
Query and export Vortex files with ClickHouse 26.11, using a FineWeb dataset containing just over a million web pages.

