In this lab, students are asked to profile a MongoDB database. The database profiler collects information about commands executed against a running `mongod` instance. After completing this lab, students will have hands-on experience enabling the database profiler and viewing the collected information.
Successfully complete this lab by achieving the following learning objectives:
- Enable the Database Profiler
Enable the database profiler to collect information on all database operations.
- Identify Slow Queries
test.inventorycollection. Then review the data collected in the
Optionally, add an index based on the profiled data.