Get the App
SLTechnology News&Howtos  ›  Database  › 

Simple monitoring of mongodb itself

Shulou Source: shulou.com Published: 2022-06-01 22:44:47 11月06日 Update

Mongodb provides its own monitoring tools.

Mongostat

Mongostat is a status detection tool that comes with mongodb and is used on the command line. It gets the current running state of mongodb at regular intervals and outputs it. If you find that the database suddenly slows down or has other problems, your first-hand operation should consider using mongostat to check the status of mongo.

Mongotop

Mongotop is also a built-in tool under mongodb, and mongotop provides a way to track an instance of MongoDB to see which time is spent reading and writing data. Mongotop provides statistics at the level of each collection. By default, mongotop returns every second of the value.

Tags: Tools data status time monitoring commands instances situations databases methods levels firsthand statistics problems detection statistics tracking output run Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Tech Info MySQL MariaDB NVidia