Navigation
This version has reached end of life on October 2016. Learn more about upgrading your version of MongoDB.

Data Models

Data in MongoDB has a flexible schema. Collections do not enforce document structure. This flexibility gives you data-modeling choices to match your application and its performance requirements.

You can download this section in PDF form as Data Model Design for MongoDB.

Data Modeling Introduction
An introduction to data modeling in MongoDB.
Data Modeling Concepts
The core documentation detailing the decisions you must make when determining a data model, and discussing considerations that should be taken into account.
Data Model Examples and Patterns
Examples of possible data models that you can use to structure your MongoDB documents.
Data Model Reference
Reference material for data modeling for developers of MongoDB applications.