Course
MongoDB in Practice
Document databases for engineers who intend to run them in production — schema design, indexing, aggregation, replication, and a clear-eyed view of when relational is still the right tool.
Reviews
Enrolled members can rate this course.
No reviews yet.
Document Modeling
Schema design for documents — embedding, referencing, access patterns, and evolution.
- 01Documents Are Access PatternsThe real unit of design in MongoDB is not the noun in your domain model; it is the screen, job, or query that reads and writes it.20mOpen
- 02Embedding, Referencing, and BucketingThe three structural moves in document design, the growth patterns they tolerate, and why unbounded arrays are production incidents waiting patiently.22mOpen
- 03Validation, Evolution, and Migration Without DramaHow to keep flexible documents honest with `$jsonSchema`, evolve shapes safely, and migrate production data without taking the system down.21mOpen
Indexes and Query Performance
How MongoDB executes queries, how compound indexes really work, and how to diagnose slow paths before users find them.
- 01Explain Before You TuneReading `explain()` output is the difference between database performance work and superstition-driven index creation.20mOpen
- 02Compound Indexes and the ESR RuleEquality, sort, then range — the practical ordering rule behind most compound indexes, with the exceptions that scar tissue teaches.23mOpen
- 03Indexing Pitfalls That Only Appear in ProductionSelectivity, write amplification, regex scans, skip pagination, TTL, partial indexes, and the operational cost of every extra key.24mOpen
Scale and Correctness
Aggregation pipelines, replication, transactions, and the boundary where relational databases win.
- 01Aggregation Pipeline CraftPipelines are query programs — stage order, memory limits, `$lookup`, `$facet`, and the difference between analytics and application logic.25mOpen
- 02Replication, Write Concern, and Failover RealityReplica sets are a correctness system, not just uptime plumbing — write concern, read concern, elections, rollbacks, and what `majority` actually buys.26mOpen
- 03Transactions and the Relational BoundaryMulti-document transactions in MongoDB are real but not free; use them for genuine invariants and know when relational consistency is the better database.27mOpen