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
plus
Sign in to follow topics
MongoDB Developer Center
chevron-right
Developer Topics
chevron-right
Products
chevron-right
MongoDB
chevron-right

MongoDB Schema Design Best Practices

9 min • Published Apr 18, 2021
MongoDB
Facebook Icontwitter iconlinkedin icon
Rate this video
star-empty
star-empty
star-empty
star-empty
star-empty
✅ Sign-up for a free cluster at: https://mdb.link/free-QAqK-R9HUhc ✅ Get help on our Community Forums: https://mdb.link/community-QAqK-R9HUhc Have you ever wondered, “How do I model my schema for my application?” It’s one of the most common questions devs have pertaining to MongoDB. And the answer is, it depends. This is because document databases have a rich vocabulary that is capable of expressing data relationships in more nuanced ways than SQL. There are many things to consider when picking a schema. Is your app read or write-heavy? What data is frequently accessed together? What are your performance considerations? How will your data set grow and scale? In this video, Joe Karlsson will discuss the basics of data modeling using real-world examples. You will learn common methodologies and vocabulary you can use when designing your database schema on your application. Chapters 📑 0:00 Intro 0:18 Why is schema design important? 1:21 Relational vs. MongoDB schema design 4:16 One to One 4:41 One to many 6:10 One to Squillions 8:02 Many to Many 8:57 Wrap Up 💬 What topics do you want to see covered next? Leave a comment below! 🔗 These ARE the links you are looking for 👋: MongoDB Schema Design Anti-Patterns - Part : https://www.youtube.com/watch?v=8CZs-0it9r4 ------ ✅ Subscribe to our channel: https://mdb.link/subscribeAll MongoDB Videos

Facebook Icontwitter iconlinkedin icon
Rate this video
star-empty
star-empty
star-empty
star-empty
star-empty
Related
Quickstart

Getting Set Up to Run PHP With MongoDB


Aug 29, 2024 | 12 min read
News & Announcements

Improved Error Messages for Schema Validation in MongoDB 5.0


Jun 14, 2023 | 10 min read
Article

Currency Analysis With Time Series Collections #3 — MACD and RSI Calculation


Sep 11, 2024 | 8 min read
Article

Handling MongoDB PHP Errors


Aug 28, 2024 | 7 min read