Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
The Official MongoDB Guide

You're reading from   The Official MongoDB Guide Resilience, scalability, security and performance

Arrow left icon
Product type Paperback
Published in Sep 2025
Publisher Packt
ISBN-13 9781837021970
Length 368 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (7):
Arrow left icon
Rachelle Palmer Rachelle Palmer
Author Profile Icon Rachelle Palmer
Rachelle Palmer
Jeffrey Allen Jeffrey Allen
Author Profile Icon Jeffrey Allen
Jeffrey Allen
Parker Faucher Parker Faucher
Author Profile Icon Parker Faucher
Parker Faucher
Alison Huh Alison Huh
Author Profile Icon Alison Huh
Alison Huh
Lander Kerbey Lander Kerbey
Author Profile Icon Lander Kerbey
Lander Kerbey
Maya Raman Maya Raman
Author Profile Icon Maya Raman
Maya Raman
Lauren Tran Lauren Tran
Author Profile Icon Lauren Tran
Lauren Tran
+3 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Introduction to MongoDB 2. MongoDB Architecture FREE CHAPTER 3. Developer Tools 4. Data Modeling and Index Optimization 5. Queries 6. Database Operations 7. Security 8. MongoDB Atlas 9. Atlas Search 10. Other Books You May Enjoy
11. Index

Data Modeling and Index Optimization

Choosing how to organize and model your data is one of the most important steps to ensuring that your application is efficient and performant. One of the main causes of poor performance in MongoDB is poor schema design. Poor schema design not only negatively impacts application performance but also makes the data model difficult to scale and maintain. By properly planning and designing your schema, you ensure that your application can quickly access the information it needs. MongoDB’s flexible data model lets you store your data to match your data access patterns, meaning all necessary data can be accessed with a single query. Designing your schema based on your application’s access patterns avoids the need for slow multi-table join operations commonly found in relational databases. This chapter outlines best practices to plan and maintain your MongoDB schema and how to create indexes to optimize query performance.

In this chapter...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
The Official MongoDB Guide
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon