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
Recent videos
View all Videos
Open House
Open House 2026: Day 1 Keynote
The latest ClickHouse announcements, featuring real-world use cases from Shopify, Zoox, Visa, and Cisco.

Open House
Fireside Chat: The state of data and AI with Bret Taylor (Sierra) and Aaron Katz (ClickHouse)
Aaron Katz (CEO, ClickHouse) and Bret Taylor (Co-Founder Sierra, Chairman of the Board, OpenAI) have an open conversation on the state of AI.

Open House, ClickHouse
How to build a great database (Alexey Milovidov)
The principles behind building a great database, and the new frontiers shaping the field.

Open House
Fireside Chat: Ecosystem and technology trends (Vercel, dbt Labs, CoreWeave)
Aaron Katz (CEO, ClickHouse), Guillermo Rauch (CEO, Vercel), Tristan Handy (CEO, dbt Labs), and Lukas Biewald (SVP of AI, CoreWeave) discuss how AI is changing the data landscape.