Data Models

Data in MongoDB has a flexible schema. Collections do not enforce document structure. Although you may be able to use different structures for a single data set in MongoDB, different data models may have significant impacts on MongoDB and application performance. Consider Data Modeling Considerations for MongoDB Applications for a conceptual overview of data modeling problems in MongoDB, and the Data Modeling Patterns documents for examples of different approaches to data models.

See also

Use Cases for overviews of application design, including data models, with MongoDB.