Learning path
Databases
How databases store, index, replicate and scale data, and what each design choice costs when traffic grows or nodes fail.
- 4 topics
- 16 lessons
Each topic is taught in 4 lessons. Fundamentals includes a narrated visual journey beneath the query: how data is stored, indexed, replicated and recovered when a node fails.
Where to start. Start with PostgreSQL if you want the transaction and indexing model other stores are compared against. Take MongoDB or Cassandra next to see how document and wide-column designs trade that model for flexibility or write scale, and Elasticsearch when search relevance is the problem.
- 01
Relational database engine — MVCC concurrency, indexing, query planning, transactions, WAL durability, and streaming replication.
- 02
Document database — flexible schemas, indexing, the aggregation pipeline, multi-document transactions, replication, and sharding.
- 03
Wide-column store — partitioning, replication, tunable consistency, the gossip protocol, and compaction across a masterless cluster.
- 04
Full-text search engine — inverted indexes, relevance scoring, sharding, and near-real-time distributed search at scale.