Book Image

MongoDB High Availability

By : Afshin Mehrabani
Book Image

MongoDB High Availability

By: Afshin Mehrabani

Overview of this book

Table of Contents (17 chapters)
MongoDB High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we reviewed basic approaches to profiling, analyzed the database engine, and you learned how to boost the performance of a database. First, we introduced the profiling feature, which is a method to analyze and find slow operations in a database. Then, you learned how to enable and use profiler logs in MongoDB to find slow operations. Next, you learned other profiling functions and methods to find the in-progress operations in MongoDB or get a report from a specific query. Furthermore, we reviewed an example of using profiling for slow operations and how to find them in the system.profile collection.

Next, you discovered how to use indexing, projection, and limiting features to limit the database output to a specific subset of data and perform operations faster than before. Also, we demonstrated an example of indexing, projection, and limiting features.

At the end of chapter, we reviewed some hardware considerations that can be used to boost the overall performance...