Module 03: Data Modeling
In this module, we shift our mindset from “Relational” to “Document-Oriented.” You will learn that while MongoDB is schema-less, your application is not.
Chapters
Understand the physics of disk I/O and why embedding data drastically improves read performance compared to SQL joins.
Master the Cardinality Spectrum. Learn when to embed (1:Few) and when to reference (1:Squillions) to avoid the 16MB document limit.
Implement “Governed Schemas” using JSON Schema validation to enforce data integrity without sacrificing flexibility.
Test your knowledge with flashcards and review the modeling cheat sheet.
Module Chapters
Chapter 01
Schema Design: The "Together" Rule
Schema Design: The “Together” Rule
Start Learning
Chapter 02
Relationships: Embed or Reference?
Relationships: Embed or Reference?
Start Learning
Chapter 03
Defensive Modeling: Schema Validation
Defensive Modeling: Schema Validation
Start Learning
Chapter 04
Module Review: Data Modeling
Module Review: Data Modeling
Start Learning