Database Design · 18 phases · 88 topics · ~12 h
The Database Design Roadmap
Every phase is labelled by level so you can start where you are. Each topic opens with a real-life analogy, then commands and code you run yourself, then questions with reveal answers. Progress is saved as you go.
Where should I start?
Pick a path for your goal
Foundations (0–2 years)
You use a database daily and want to design schemas and queries properly.
- 10 · Foundations and the Design Mindset
- 21 · Relational Data Modeling
- 32 · Keys, IDs and Constraints
- 43 · Normalization, Denormalization and Access Patterns
- 54 · SQL from Fundamentals to Advanced
- 65 · Transactions, Isolation and Concurrency
Then Phase 7 to design indexes from your queries.
Interview-ready (2–5 years)
You need to design and defend database architectures in interviews.
- 15 · Transactions, Isolation and Concurrency
- 27 · Indexes and the Query Planner
- 39 · Replication, Partitioning and Sharding
- 410 · Distributed Data: Consistency, Transactions and Change Streams
- 511 · NoSQL and Specialised Databases
- 616 · Domain Database Designs
- 717 · Interview Preparation and Hands-On Labs
Finish with timed mocks from the Phase 17 problem bank.
Senior / Staff
You own production databases or lead data architecture.
- 16 · PostgreSQL Internals and Storage Engines
- 29 · Replication, Partitioning and Sharding
- 310 · Distributed Data: Consistency, Transactions and Change Streams
- 413 · Operations: Migrations, Backup, Disaster Recovery and Multi-Region
- 514 · Security, Privacy and Multi-Tenancy
- 615 · Production Engineering: Observability, Performance, Failure, Capacity and Cost
- 716 · Domain Database Designs
The full curriculum
NoSQL and Specialised Databases
Intermediate ~60 min0/7 · 0%Choosing key-value, document, wide-column, graph and search stores; MongoDB document modeling; Cassandra query-first design; DynamoDB single-table design; Elasticsearch; Redis as a database; time-series and OLAP warehouses.
- Choosing a Data Store: Key-Value, Document, Wide-Column, Graph, Search
- MongoDB: Embedding, Referencing and Document Patterns
- Cassandra: Query-First Modeling, Consistency Levels and Tombstones
- DynamoDB: Keys, GSIs and Single-Table Design
- Elasticsearch: Inverted Indexes, Relevance and Reindexing
- Redis as a Database: Structures, Persistence and Limits
- Time-Series Databases and OLAP Warehouses
Domain Database Designs
Advanced ~69 min0/8 · 0%Complete schemas with keys, indexes, transactions and scaling for inventory, payments and double-entry ledgers, e-commerce, social feeds, chat, booking, ride sharing and notification platforms.
- Inventory: Stock, Reservations and Overselling Prevention
- Payments and Banking: Double-Entry Ledgers
- E-Commerce: Catalogue, Cart, Orders, Payments and Shipping
- Social Media: Follows, Posts, Likes and Feeds
- Chat: Conversations, Messages, Delivery and Read State
- Booking: Availability, Holds and Double-Booking Prevention
- Ride Sharing: Locations, Matching and Trips
- Notification Platform: Preferences, Templates, Delivery and Retries