Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying The Official MongoDB Guide
  • Table Of Contents Toc
The Official MongoDB Guide

The Official MongoDB Guide

By : Rachelle Palmer, Jeffrey Allen, Parker Faucher, Alison Huh, Lander Kerbey, Maya Raman, Lauren Tran
close
close
The Official MongoDB Guide

The Official MongoDB Guide

By: Rachelle Palmer, Jeffrey Allen, Parker Faucher, Alison Huh, Lander Kerbey, Maya Raman, Lauren Tran

Overview of this book

Delivering secure, scalable, and high-performance applications is never easy, especially when systems must handle growth, protect sensitive data, and perform reliably under pressure. The Official MongoDB Guide addresses these challenges with guidance from MongoDB’s top subject matter experts, so you learn proven best practices directly from those who know the technology inside out. This book takes you from core concepts and architecture through to advanced techniques for data modeling, indexing, and query optimization, supported by real-world patterns that improve performance and resilience. It offers practical coverage of developer tooling, IDE integrations, and AI-assisted workflows that will help you work faster and more effectively. Security-focused chapters walk you through authentication, authorization, encryption, and compliance, while chapters dedicated to MongoDB Atlas showcase its robust security features and demonstrate how to deploy, scale, and leverage platform-native capabilities such as Atlas Search and Atlas Vector Search. By the end of this book, you’ll be able to design, build, and manage MongoDB applications with the confidence that comes from learning directly from the experts shaping the technology. *Email sign-up and proof of purchase required
Table of Contents (12 chapters)
close
close
10
Other Books You May Enjoy
11
Index

Database profiling

To round out your system analysis strategy, MongoDB provides the database profiler, which logs detailed information about database commands against a running mongod instance to a capped collection called system.profile. This feature is off by default but can be activated by setting the operationProfiling.mode parameter to the appropriate integer value in your mongod.conf.

When activated, the profiler introduces some performance and storage overhead. When you use the profiler as part of your testing strategy in a staging environment, these considerations can be balanced on the fly. If you want to perform database profiling in a production environment, it’s important to carefully evaluate your needs and priorities before enabling the profiler.

For most use cases where database profiling is desirable, consider setting the profiling level to 1. If you use a slowms time threshold, set it to the maximum value your system can wait on a given event. If you...

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
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon