Database Reference
In-Depth Information
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 pro-
filing 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 col-
lection.
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 of the database engine. Although MongoDB is designed for hori-
zontal scaling, rather than vertical scaling, these considerations can help administrators im-
prove the performance of a database engine.
Search WWH ::




Custom Search