Share
OLAP database systems explained from first principles to production: why columnar storage wins on analytical workloads, how OLAP engines are architected, and what it takes to engineer and operate them at scale.
A 65-slide executive technical briefing by Shiv Iyer, Founder and CEO of ChistaDATA Inc. and MinervaDB Inc., for CTOs, data platform leaders, data architects and senior engineers who are choosing, building or running an analytical database.
What the deck covers
S1. Why OLAP is different: OLTP vs OLAP workloads, anatomy of an analytic query, why row stores struggle with scans, thirty years of columnar database history, and today's OLAP landscape (ClickHouse, Apache Druid, Apache Pinot, StarRocks, Snowflake, Google BigQuery, Amazon Redshift, Databricks SQL, Trino with Iceberg, DuckDB).
S2. Columnar storage fundamentals: row vs column layout, I/O arithmetic, dictionary, RLE and delta encoding, LZ4, ZSTD, DoubleDelta and Gorilla codecs, vectorized execution and SIMD, late materialization (PREWHERE), sparse primary indexes, granules, data skipping, and why ORDER BY is the real index in a column store.
S3. OLAP architecture: a five-layer reference architecture, immutable parts and background merges, shared-nothing MPP vs separated storage and compute, distributed query execution, sharding keys and hot shards, replication and consensus with ClickHouse Keeper (Raft), materialized views and projections, joins in OLAP, and the lakehouse with open table formats (Apache Iceberg, Delta Lake).
S4. Engineering: data modelling (wide tables, star schema, dictionaries), sort key design, partitioning for lifecycle, data types and codecs, ingestion from batch files, Kafka and CDC with Debezium, insert batching and the TOO_MANY_PARTS trap, updates and deletes, query optimisation with EXPLAIN, anti-patterns, and honest benchmarking with p95/p99 latency.
S5. Operations: golden signals from system tables, HA and DR topology with RPO/RTO targets, capacity planning and SLOs, ClickHouse LTS upgrades (26.3 to 26.8), cost governance and FinOps, an incident severity model, and an OLAP operational maturity model.
Close: five habits that separate fast analytics platforms from expensive ones, and a 90-day plan from assessment to an operated platform.
Worked examples use ClickHouse 26.8 LTS. The concepts apply to columnar OLAP engines and cloud data warehouses generally. Teaching figures are labelled illustrative in the deck.
ChistaDATA (ClickHouse consulting, support and managed services): chistadata.com
MinervaDB (vendor-neutral database infrastructure): minervadb.com