Skip to content

Vol 5: Databases and Data Systems ​

This volume starts with the relational model and continues through indexes, execution, transactions, replication, messaging, and search. Consistency and recovery contracts come before throughput; otherwise the benchmark may look healthy while the data quietly resigns.

Prerequisites ​

  • Bring basic programming, file I/O, and data-structure knowledge. Storage and execution lessons also use caching, complexity, and concurrency concepts.
  • Start with a separate SQLite 3.37.0+ practice database. For PostgreSQL, MySQL, RocksDB, and other products, follow the environment notes in the relevant lesson.

Coverage ​

Chapters 1–3 establish querying and modeling; 4–10 cover storage and execution; 11–16 address transactions and distributed constraints; 17–20 examine messaging, architecture, caching, and search.

Chapter 1 ​

Chapter 2 ​

Chapter 3 ​

Chapter 4 ​

Chapter 5 ​

Chapter 6 ​

Chapter 7 ​

Chapter 8 ​

Chapter 9 ​

Chapter 10 ​

Chapter 11 ​

Chapter 12 ​

Chapter 13 ​

Chapter 14 ​

Chapter 15 ​

Chapter 16 ​

Chapter 17 ​

Chapter 18 ​

Chapter 19 ​

Chapter 20 ​

Outcomes ​

  • Write queries that preserve join cardinality and NULL semantics, and check keys, foreign keys, and transaction boundaries.
  • Use execution plans and amplification measurements to locate storage or query bottlenecks and explain optimization costs.
  • Define acknowledgment, expiry, retry, and recovery conditions for replication, messaging, caching, and search.

How to use this map ​

For a first pass, complete the querying, modeling, and storage sequence in Chapters 1–5, then study transactions. For a slow query, start at 8.2 and follow the relevant index or execution lesson. For duplicate consumption or stale cache values, use 17.2 and 19.1 to inspect acknowledgment and invalidation. Each route should leave a query result, plan, or failure record you can check.

Built with VitePress | Software Systems Atlas