Cookie

This site uses tracking cookies used for marketing and statistics. Privacy Policy

  • Home
  • FAQs
  • Which MongoDB schema patterns do you cover?

Which MongoDB schema patterns do you cover?

Every canonical MongoDB schema pattern: attribute (variable field names in the same document), computed (pre-calculated values written on update), subset (small hot slice embedded, full collection referenced), extended reference (denormalise the always-shown fields), polymorphic (multiple document shapes in one collection with a discriminator), tree structures (parent reference vs materialised path vs nested set), bucket (time series data in fixed-size buckets), schema versioning (document version field for online migrations), and outlier (special handling for the 1% of documents that break the shape).