YOUR DATABASES PATH
Learn Databases.
Understand it. Practice it. Debug it.
27 lessons on relational fundamentals, NoSQL trade-offs, scaling, real database choices, query performance, and data safety - with real SQL executed against a fresh SQLite instance per run.
PHASE 01
Relational Fundamentals
Tables, the relational model, normalization, SQL, joins, transactions, and isolation.
What is a Database (and Why Not a File?)
The Relational Model: Tables, Keys, and Foreign Keys
After What is a Database (and Why Not a File?)
Normalization: Tradeoffs, Not Rules
After The Relational Model: Tables, Keys, and Foreign Keys
SQL Fundamentals: SELECT, INSERT, UPDATE, DELETE
After Normalization: Tradeoffs, Not Rules
Joins in Depth: Inner, Left, and Dropped Rows
After SQL Fundamentals: SELECT, INSERT, UPDATE, DELETE
Transactions and ACID: Why Bank Transfers Break
After Joins in Depth: Inner, Left, and Dropped Rows
Isolation Levels and Concurrency: Real Tradeoffs
After Transactions and ACID: Why Bank Transfers Break
PHASE 02
NoSQL and the Real Decision Framework
Why NoSQL exists, its major shapes, the honest 2026 SQL-vs-NoSQL framework, and CAP theorem.
Why NoSQL Exists: Solving Specific Scaling Pains
After Isolation Levels and Concurrency: Real Tradeoffs
The Major NoSQL Shapes: Document, Key-Value, Column, Graph
After Why NoSQL Exists: Solving Specific Scaling Pains
SQL vs NoSQL: The Honest 2026 Decision Framework
After The Major NoSQL Shapes: Document, Key-Value, Column, Graph
CAP Theorem and Consistency Models: Trading Guarantees
After SQL vs NoSQL: The Honest 2026 Decision Framework
PHASE 03
Scaling a Database for Real
Vertical vs horizontal, replication, sharding, caching, and connection pooling.
Vertical vs. Horizontal Scaling: The Fundamental Tradeoff
After CAP Theorem and Consistency Models: Trading Guarantees
Replication: Leader, Followers, and Read Replicas
After Vertical vs. Horizontal Scaling: The Fundamental Tradeoff
Sharding: Shard Keys, Cross-Shard Queries, and Reality
After Replication: Leader, Followers, and Read Replicas
Caching Layers: Redis, Cache-Aside, and Invalidation
After Sharding: Shard Keys, Cross-Shard Queries, and Reality
Connection Pooling: Why Connection-per-Request Dies
After Caching Layers: Redis, Cache-Aside, and Invalidation
PHASE 04
Choosing and Comparing Real Databases
PostgreSQL vs MySQL, MongoDB, vector databases, and specialized stores.
PostgreSQL vs MySQL: Why Postgres Became the 2026 Default
After Connection Pooling: Why Connection-per-Request Dies
MongoDB: When Document Storage Genuinely Fits
After PostgreSQL vs MySQL: Why Postgres Became the 2026 Default
Vector Databases: Embeddings, Similarity Search, and AI
After MongoDB: When Document Storage Genuinely Fits
Specialized Stores: Time-Series and Graph Databases
After Vector Databases: Embeddings, Similarity Search, and AI
PHASE 05
Writing Fast Queries, Not Just Correct Ones
Indexes, query plans, N+1, composite indexes, and deliberate denormalization.
Indexes and B-Trees: The Cost on Every Write
After Specialized Stores: Time-Series and Graph Databases
Reading a Query Plan: EXPLAIN and Full Table Scans
After Indexes and B-Trees: The Cost on Every Write
The N+1 Problem: Diagnosing and Eliminating It
After Reading a Query Plan: EXPLAIN and Full Table Scans
Composite and Covering Indexes: Beyond Single Columns
After The N+1 Problem: Diagnosing and Eliminating It
Denormalization as a Deliberate Choice: Planned Duplication
After Composite and Covering Indexes: Beyond Single Columns
PHASE 06
Keeping Data Safe
Backups and recovery, and zero-downtime migrations.