Skip to content

Course

Analytics with ClickHouse

Columnar analytics the way production teams run it — ClickHouse architecture, MergeTree design, ingestion discipline, query optimization, and replacing expensive analytics services without regretting it.

9 lessons

Course Q&A

Reviews

Enrolled members can rate this course.

No reviews yet.

Architecture and the Columnar Model

How ClickHouse stores, scans, merges, and distributes data — the mental model everything else depends on.

  1. 01The Columnar Mental ModelWhy column stores are fast for analytics, why they are miserable as primary application databases, and how to predict query cost before you run it.21mOpen
  2. 02MergeTree, Parts, and Sorting KeysThe storage model behind nearly every serious ClickHouse table: immutable parts, background merges, primary-key ordering, partitions, and why small inserts hurt.24mOpen
  3. 03Sharding, Replicas, and Distributed TablesHow data spreads across a cluster, what replication protects, what Distributed tables do and do not do, and the operational assumptions that bite new operators.23mOpen

Tables, Schemas, and Ingestion

Choosing engines, designing event tables, and loading data in shapes ClickHouse actually likes.

  1. 01Choosing Table Engines Without SuperstitionMergeTree variants, dictionaries, joins, buffers, Kafka, and when a specialized engine is the right tool instead of a shiny complication.22mOpen
  2. 02Schema Design for Event AnalyticsTypes, codecs, low-cardinality dimensions, nested JSON, timestamps, and the practical table shapes that stay fast after a year of product churn.25mOpen
  3. 03Ingestion Patterns and BackpressureBatching, Kafka pipelines, exactly-once myths, idempotent retries, file loading, and what to monitor before producers bury the cluster.24mOpen

Performance and Service Replacement

Reading less data, precomputing the right aggregates, operating the system, and retiring metered analytics vendors.

  1. 01Query Optimization: Read Less, Compute LessPractical ClickHouse tuning: predicates that prune, projections and indexes that match reality, join discipline, memory limits, and reading query plans like evidence.26mOpen
  2. 02Materialized Views, Aggregate States, and ProjectionsPrecomputing expensive answers the ClickHouse way: incremental materialized views, AggregatingMergeTree states, projections, backfills, and correctness tradeoffs.27mOpen
  3. 03Replacing Expensive Analytics ServicesHow to evaluate ClickHouse as a replacement for metered analytics platforms: workload fit, migration sequencing, cost accounting, observability, and avoiding a self-hosted science project.28mOpen