Input
- Scenarios
- Business Domain Experts
- Production Logs & Stats
- Data Modeling Experts
Workload
- size data
- quantify ops
- qualify ops
Relationships
- identify
- quantify
- embed or link
Apply Schema Design Patterns
- recognize
- apply
Schema
- Queries
- Indexes
- Data sizing
- Operations
- Assumptions
Recap
- Sharding : because of data size
- Read & Writes
- Ton of operations
- Operations per second
- Required latency
- Pinning attributes queries
=> More collections
1st: Identify your workload 2nd: Embed or Link
One to Many Reference in the One Side

One to Many Reference in the Many Side

Many to Many, Embed in main Side

Many to Many, Reference in main Side




















































































































































