Phase 15 Interactive Simulators(11)

Browse all 11 labs →
🗄️ OLTP vs OLAP Scan Economics — full guide →

OLTP Row Store vs OLAP Columnar Scan

Compare physical I/O of the same SQL against row pages and compressed column chunks.

Row-Oriented OLTP (PostgreSQL)

Volcano iterator reads every byte of every row: full pages of addresses, JSON payloads and tax fields are loaded then discarded.

Bytes read
91.55 GB
Est. latency
6.6 min
Columnar OLAP (ClickHouse)

Projection pruning reads only referenced column chunks; RLE / dictionary / delta encoding feeds AVX-512 SIMD batches of 2,048 values per operator call.

Bytes read
762.9 MB
Est. latency
554.3 ms
I/O eliminated
93.3%
projection pruning + compression
Aggregation winner
OLAP columnar
scans favour column stores
Rows in scan
100M
SIMD batches of 2,048
Wasted bytes (OLTP)
6.10 GB
loaded and discarded
PHASE 15 CURRICULUM

Data at Scale

Progress0 of 11 (0%)

Phase 15 is a comprehensive masterclass in architecting data infrastructure at planetary scale.

Key Architectural Domains & Syllabus
Explore the physical and architectural differences between Row-Oriented OLTP (ACID transactions, B-Trees) and Columnar OLAP (Parquet, SIMD vectorization, dictionary encoding)
the revolution from legacy ETL to cloud-native ELT with dbt and the Medallion Architecture
open Data Lakehouses with Apache Iceberg, Delta Lake, and S3 object storage
foundational distributed computation from Dean & Ghemawat MapReduce to Apache Spark in-memory DAG execution
distributed filesystems (HDFS / GFS) with 128MB block sizing and 3x rack-aware replication
query pruning optimizations (partitioning, clustering, and multi-dimensional Z-Ordering)
real-time analytics with ClickHouse, Kafka, and on-insert Materialized Views in Kappa architectures
personalized recommendation engines featuring Two-Tower neural vector embeddings and real-time Feature Stores
full-text search engine internals with web crawlers, inverted indexes, Lucene segments, and Okapi BM25 ranking
multi-channel notification fan-out systems (APNs, FCM, Twilio, SES) with deduplication guards
Push vs Pull communication delivery paradigms with natural backpressure
11 In-Depth Topics ~88 Minutes Reading Time Interactive Quizzes & Assessments

All Topics in Phase 15

0 of 11 completed

Examine database processing paradigms: Row-oriented ACID transactional stores (PostgreSQL, MySQL) versus Columnar analytical execution engines (ClickHouse, Snowflake, BigQuery), storage formats, compression algorithms, and SIMD vectorization.

9 min read•2 Quiz Questions

Explore data transformation architectures: Extract-Transform-Load (legacy ETL) vs Extract-Load-Transform (modern ELT with dbt, Snowflake, and BigQuery), Change Data Capture (CDC), and the Medallion data architecture.

9 min read•2 Quiz Questions

Unify open data storage architecture: The Apache Parquet columnar file format, Apache Iceberg and Delta Lake table formats, transactional metadata layers (Snapshots, Manifests), ACID commits on object storage, and time-travel querying.

9 min read•2 Quiz Questions

Understand large-scale distributed computation: Jeffrey Dean and Sanjay Ghemawat’s MapReduce architecture, the Map phase, Shuffle & Sort network mechanics, the Reduce phase, and the evolution to Apache Spark DAG memory execution.

9 min read•2 Quiz Questions

Architect petabyte-scale distributed file storage: Master/NameNode in-memory metadata management, ChunkServer/DataNode block storage, 128MB large block sizing physics, 3x rack-aware pipelined replication, and the Small Files Problem.

9 min read•2 Quiz Questions

Optimize analytical query pruning: Directory-level partition pruning, multi-dimensional Clustering Keys (Z-Ordering, Hilbert curves), Min/Max metadata skipping, avoiding partition explosion, and query cost reduction in Snowflake and BigQuery.

9 min read•2 Quiz Questions

Architect high-throughput, sub-second analytical streaming pipelines: Apache Kafka event ingestion, ClickHouse MergeTree storage engines, streaming Materialized Views, SIMD vectorization, and Kappa architecture.

9 min read•2 Quiz Questions

Architect large-scale personalized recommendation engines: Collaborative Filtering, Matrix Factorization, Two-Tower Deep Neural Networks, Vector Search (HNSW / IVF-PQ), Real-Time Feature Stores, and Multi-Stage Ranking Pipelines.

9 min read•2 Quiz Questions

Architect large-scale distributed search engines: Web crawling frontiers and politeness policies, Inverted Index data structures (Finite State Transducers, Postings Lists), Okapi BM25 relevance ranking, Lucene immutable segments, and Elasticsearch distributed sharding.

9 min read•2 Quiz Questions

Architect large-scale multi-channel notification engines: Push notifications (Apple APNs / Google FCM), SMS (Twilio), Email (AWS SES / SendGrid), in-app WebSockets, user preference matrices, rate-limiting spam guards, and dead-letter queues.

9 min read•2 Quiz Questions

Analyze data delivery paradigms: Server-Initiated Push (WebSockets, Server-Sent Events, Webhooks, RabbitMQ) versus Consumer-Initiated Pull (HTTP Long Polling, Apache Kafka, Batch ETL), backpressure mechanics, and hybrid fan-out architectures.

9 min read•2 Quiz Questions