Blog19.2K views1,359 votes0 replies3,399 following
ReplacingMergeTree: Update & Deduplication in ClickHouse
ReplacingMergeTree lets you push updates into ClickHouse as new rows; the engine deduplicates older records during background merges. This post explains how it works, shows a hands‑on example, and outlines trade‑offs for OLAP workloads.
replacingmergetree
clickhousedata-deduplicationTasadduq Burneyowner34.8K rep · 27 Jan 2026, 02:46 UTC