Schema Design Patterns
noun
say it: “SKEE-muh dih-ZYNE PAT-ernz” /ˈskimə dɪˈzaɪn ˈpætərnz/
Proven ways to shape MongoDB documents for common needs, such as the subset, computed and extended reference patterns.
What is Schema Design Patterns?
MongoDB schema design patterns are proven document shapes for common needs: bucket (group time-series readings), subset (keep recent items embedded), computed (store precalculated totals) and more.
In a sentence
- “The bike shop's catalog uses three schema design patterns at once.”
- “Each of the schema design patterns trades some extra work on writes for faster reads.”
Level: Master · More MongoDB terms at this level
Updated