Backfilling materialized views in ClickHouse: A practical guide
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

User stories, Meetups
ClickHouse at DoorDash
How DoorDash monitors TCP and DNS traffic helping their observability team take care of their kubernetes infrastructure.

Open House
Open House NYC: Keynote
Keynote from Open House Roadshow NYC 2025.

Open House
Open House NYC: ClickHouse for AI/ML
Zach Naimon, Principal Product Manager at ClickHouse
Products
Resources
© 2025 ClickHouse, Inc. HQ in the Bay Area, CA and Amsterdam, NL.