Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.

Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

MongoDB Developer
MongoDB Developer Center
chevron-right
Developer Topics
chevron-right
Products
chevron-right

Schema

plus Follow
Sign in to follow topics
Logically order and understand your data via data modeling

Featured

Video

How to Run MongoDB in Docker: A Complete Guide #developertutorial #databasetutorial

Stop struggling with complex database setups! This video makes getting a local MongoDB instance simple and fast with Docker. Follow along as we show you how to use a single Docker command to get a self-hosted MongoDB up and running for your development and testing needs. We'll cover setting up data persistence and securing your instance. For even easier management, we'll also explore how to leverage Docker Compose to streamline your workflow. Get ready to develop with ease!...
MongoDBSchema

Jul 30, 2025 | 2 min
Article

Building with Patterns: The Single Collection Pattern

MongoDB thumbnail image

Jan 27, 2025 | 4 min read
Article

The Cost of Not Knowing MongoDB

MongoDB thumbnail image

Nov 11, 2024 | 23 min read
Schema Articles
All Schema Articles
Article

Building with Patterns: The Single Collection Pattern

MongoDB thumbnail image

Jan 27, 2025 | 4 min read
Article

The Cost of Not Knowing MongoDB

MongoDB thumbnail image

Nov 11, 2024 | 23 min read
Article

Paginations 2.0: Why I Would Choose MongoDB

Paginations - John Page's thoughts and tips.

Jul 12, 2024 | 4 min read
All Schema Articles
Schema Tutorials
All Schema Tutorials
Tutorial

Building with Patterns: The Subset Pattern

MongoDB thumbnail image

Sep 23, 2022 | 3 min read
Tutorial

Building with Patterns: The Outlier Pattern

MongoDB thumbnail image

May 16, 2022 | 3 min read
Tutorial

Building with Patterns: The Bucket Pattern

MongoDB thumbnail image

May 16, 2022 | 3 min read
All Schema Content
search
  • Latestcheck
  • Highest Rated
Video

How to Run MongoDB in Docker: A Complete Guide #developertutorial #databasetutorial

Stop struggling with complex database setups! This video makes getting a local MongoDB instance simple and fast with Docker. Follow along as we show you how to use a single Docker command to get a self-hosted MongoDB up and running for your development and testing needs. We'll cover setting up data persistence and securing your instance. For even easier management, we'll also explore how to leverage Docker Compose to streamline your workflow. Get ready to develop with ease!
MongoDB thumbnail image
Play Button

Jul 30, 2025
Article

Building with Patterns: The Single Collection Pattern

This blog post series examines the common Schema Design Patterns that work well in MongoDB.
MongoDB thumbnail image

Jan 27, 2025
Daniel Coupal
Article

The Cost of Not Knowing MongoDB

The focus of this series is to show how much performance you can gain when using MongoDB properly, following the best practices, studying your application needs, and using it to model your data.
MongoDB thumbnail image

Nov 11, 2024
Artur Costa
Article

Case-Insensitive Queries Without Case-Insensitive Indexes

Don't fall into the trap of this MongoDB Schema Design Anti-Pattern: Case-Insensitive Queries Without Case-Insensitive Indexes
MongoDB thumbnail image

Oct 01, 2024
Lauren Schaefer (+1)
Article

Unnecessary Indexes

Don't fall into the trap of this MongoDB Schema Design Anti-Pattern: Unnecessary Indexes
MongoDB thumbnail image

Oct 01, 2024
Lauren Schaefer (+1)
Article

7 Things I Learned While Modeling Data for YouTube Stats

We developed an app that pulls daily stats from the YouTube API, stores them in an Atlas database, and displays them in a MongoDB Charts dashboard.
MongoDB thumbnail image

Oct 01, 2024
Lauren Schaefer
Article

Separating Data That is Accessed Together

Don't fall into the trap of this MongoDB Schema Design Anti-Pattern: Separating Data That is Accessed Together
MongoDB thumbnail image

Oct 01, 2024
Lauren Schaefer (+1)
Article

Bloated Documents

Don't fall into the trap of this MongoDB Schema Design Anti-Pattern: Bloated Documents
MongoDB thumbnail image

Oct 01, 2024
Lauren Schaefer (+1)
Article

Massive Number of Collections

When happens when you have a massive number of collections? Turns out, they're not great. In this post, we'll examine why.
MongoDB thumbnail image

Oct 01, 2024
Lauren Schaefer (+1)
Tutorial

MongoDB Schema Design: Data Modeling Best Practices

Have you ever wondered, "How do I model a MongoDB database schema for my application?" This post answers all your questions!
MongoDB thumbnail image

Oct 01, 2024
Joe Karlsson