Beyond the basic embed-vs-reference decision, MongoDB has established data modeling patterns — proven solutions for common scenarios like large arrays, polymorphic data, and relationships. Knowing them helps you design effective schemas for real situations.
The Bucket pattern — group time-series/related data
{
: ,
: (),
: [
{ : , : },
{ : , : }
]
}
