MongoDB Profiler
Generally, When data grows with any type of database, we see performance issues. The workaround would be simply rewriting the problematic query or analyze/optimize the database schema could make drastic performance improvements. MongoDB provides a couple features to analyze the performance of problematic queries or overall database performance issues and that would help DBAs, like Query Profiler, Mongostat, Mongotop and good logging support. Configure or Enable the MongoDB Profiler The internal collection "systems.profile", which stores all the profiler related information into it and you can queried anytime like another collection. Profiler has 3 levels of profiling Level 0, Level 1 and Level2. By default the profiler level is set to Level 0. Level 0 -> Profiler will not log any data. Level 1 -> Profiler will log only slow operations above some threshold. Level 2 -> Profiler will log all the operations.