Database Reference
In-Depth Information
Utilizing the built-in reporting tools
MongoDB installs some built-in reporting and management tools while installing the data-
base engine. These tools are useful to get a brief report from the database engine, such as
operations that are currently running.
mongotop
The mongotop utility is a tool you can use to get real-time statistics of MongoDB.
This utility reports the current read/write operations of an available instance. The mongo-
top utility shows the report per database and collection so that you can track them easily.
In order to use this utility, you can issue the following command in the command-line inter-
face:
mongotop
The following screenshot shows a simple output of this utility:
The mongotop utility emits the report at a specified interval and refreshes the command-
line environment automatically.
mongostat
The mongostat tool gives you a real-time report of the MongoDB performance statistics.
The mongostat tool is a useful to check the performance of a currently running Mon-
goDB instance. It shows the count of operations per database with different types of opera-
tions such as query, insert, update, or delete.
Search WWH ::




Custom Search