Skip to content

An intro to column-based storage

YouTube Video: a7rmLeGK1v8

Mark Needham

In this video, we explore column storage, the backbone of column stores or column databases like ClickHouse. We compare the concept to the more familiar row-based storage used in many relational databases, using a practical example of weather data to illustrate the differences.

Column storage isn't just a different way to organize data; it's a game-changer for analytical queries and data compression. We'll explore why this approach is particularly well-suited for modern data analysis needs and how it aligns with current CPU architectures.

Key points covered:

  • Comparison of row-based vs. column-based storage layouts
  • Advantages of column storage for data compression and efficient querying
  • Examples of compression techniques like dictionary encoding and delta encoding
  • How column storage enables faster analytical queries and aggregations
  • The benefits of column storage for CPU cache usage and SIMD 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