MongoDB
MongoDB Developer Centerchevron-right
Developer Topicschevron-right
Productschevron-right
MongoDBchevron-right

MongoDB Schema Design Best Practices

Published Apr 18, 2021
MongoDB
Copy Link
facebook icontwitter iconlinkedin icon
Rate this video
star-empty
star-empty
star-empty
star-empty
star-empty
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 MongoDB ►►► https://bit.ly/3bpg1Z1 Connect with MongoDB: Website: https://bit.ly/2LjtNBZ Twitter: https://bit.ly/3fH87gR Facebook: https://bit.ly/3fEaIsd LinkedIn: https://bit.ly/2SY9w90 Instagram: https://bit.ly/3bn9bDv Community Forums: https://bit.ly/2I8VCi5 TikTok: https://bit.ly/3fHoqdJ Connect with Joe ✨👨🏻‍💻✨: * Follow Joe on Twitter 🐤: https://twitter.com/JoeKarlsson1 * Checkout Joe's code on GitHub 👨🏻‍💻: https://github.com/JoeKarlsson * Watch Joe's YouTube Videos 🎥: https ://www.youtube.com/c/JoeKarlsson * Connect with Joe on LinkedIn 👩‍💼👨‍💼: https://www.linkedin.com/in/joekarlsson * Checkout Joe's Website 👨🏻‍💻: https://www.joekarlsson.com * Binge Joe's TikTok's 🕺: https://www.tiktok.com/@joekarlsson
All MongoDB Videos

Copy Link
facebook icontwitter iconlinkedin icon
Rate this video
star-empty
star-empty
star-empty
star-empty
star-empty
Related
Quickstart
MongoDB Cheat Sheet

May 13, 2022
Tutorial
How to Import Data into MongoDB with mongoimport

Sep 23, 2022
Podcast
Making Diabetes Data More Accessible and Meaningful with Tidepool and MongoDB

May 16, 2022
Quickstart
Getting Started with MongoDB and Starlette

Sep 23, 2022