Backfilling materialized views in ClickHouse: A practical guide

Previous videoLive Q&A with Clever: Analyzing 150 TB Logs per Month with ClickHouseNext videoQuerying Apache Iceberg tables via AWS Glue catalog
Mark Needham
Learn how to properly backfill historical data when adding materialized views to existing ClickHouse tables.
This tutorial walks you through a common challenge when working with large datasets and shows you how to maintain data consistency across your analytics pipeline.
In this video, you'll discover:
- How to create efficient materialized views for aggregating data
- Why backfilling is necessary when adding views to tables with existing data
- A step-by-step approach using temporary tables for backfilling large datasets
- Practical techniques to avoid memory issues with large backfill operations
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.

