Skip to content

Backfilling materialized views in ClickHouse: A practical guide

YouTube Video: CHMjJQr3j-4

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

YouTube Video: e-NnqMTY_3A

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.

YouTube Video: BsmTK-pa5ks

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.

Follow us

XBlueskySlackGithubTelegramMeetupRSS