Advanced Schema Design Patterns
Single Collection Pattern
The single collection pattern groups related documents of different types into a single collectio...
Subset Pattern
a book have N reviews only embed 3 reviews to the book Code Summary: Subset Pattern To apply th...
Bucket Pattern
The bucket pattern: groups pieces of information into buckets keep documents size predictable re...
Outlier Pattern
used when some documents are different and needs a different method to interact. example: most of...
Archive Pattern
Move data no longer needed to a different place so performance is not dragged. archive book revi...