Skip to content

Projections in ClickHouse

Mark Needham

Discover how to dramatically improve query performance in ClickHouse using projections - a powerful feature that creates query-optimized copies of your data.

This video demonstrates projections using a real-world example with 30 million UK property price records. Watch as we reduce query time from 53 milliseconds to just 4 milliseconds by creating a projection for calculating average house prices by county.

What You'll Learn:

  • What projections are and how they work as hidden tables that update atomically
  • Three main use cases: reordered datasets, subset of columns filtering, and pre-computed aggregations
  • Step-by-step process to create and materialize projections
  • How to verify projections are being used with EXPLAIN queries
  • Understanding the storage trade-offs and space requirements

Recent videos

YouTube Video: GwCRcRa8f3A

Open House

Open House 2026: Day 1 Keynote

The latest ClickHouse announcements, featuring real-world use cases from Shopify, Zoox, Visa, and Cisco.

YouTube Video: ZtvlCz7Ukg4

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.

YouTube Video: FmS7VopaqNg

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.

Follow us

XBlueskySlackGithubTelegramMeetupRSS