Docs Menu
Docs Home
/
MongoDB Manual
/

Schema Design Patterns

Use schema design patterns to optimize your data model based on how your application queries and uses data.

Handle Computed Values
Perform calculations in the database so results are ready when the client requests data.
Group Data
Group data into series to improve performance and account for outliers.
Polymorphic Data
Handle variable document fields and data types in a single collection.
Document and Schema Versioning
Prepare for schema changes to account for changing technical requirements.

Back

Apply Patterns