Knowledge base · Studio 3T Desktop IDE

How to Monitor Your MongoDB Server Status

By Graham Thomson · Updated

In this post, we’ll show you how to monitor the status of your MongoDB servers using Studio 3T’s Server Status Charts feature. Try it today.

Watch the video on Vimeo

Introduction

Server Status Charts shows real-time updates of what’s happening on a MongoDB server or database making it easier to monitor production, development, test, or local instances. Server Status Charts uses statistics returned by the MongoDB serverStatus () command to provide insights into database health and the status of an instance, including operations and connections metrics.

View real-time server operations for MongoDB instances in Studio 3T's Status Server Charts to monitor database health

Open Server Status Charts

You can open a Server Status Charts tab by right-clicking on a connection (or database, or collection) and selecting Server Status Charts from the Server Info menu.

Right-click on a MongoDB connection, database, or collection and choose Server Info then Server Status Charts to monitor the health of your instance

Choose your charts

You can customize which charts Studio 3T shows by clicking on Select Charts in the upper right side of the Server Status Charts tab:

You can customize which charts you want to show in Server Status Charts

For example, if you want to focus on Operation Counts, Current Connections, and Current Network Traffic, select only those charts and Studio 3T lays them out intelligently for you:

You can choose to show only selected Server Status Charts, for example operation counts, current connections, or current network traffic, relevant to your team's MongoDB deployment

What the MongoDB performance metrics mean

In this section, we’ll explain the information shown on each chart.

Note that the information displayed in the charts may be:

Cumulative

Charts show information since the start of a particular point until the present moment, for example all events of a particular type since the database started

Per Update Period

Charts show information about a particular event that occurred during an update period, for example if we set ‘Update frequency’ to ‘2 sec’, then the chart shows all events of that particular type that occurred within 2 second periods

Point in Time

Charts show information about a particular event as it was at the point in time that the MongoDB server status was requested from the database

– where the charts show information from the start of a particular point until the present moment, for example all events of a particular type since the database started.

The table below details each of the MongoDB server status charts:

Operation Counts
Per Update Period
The number of database operations by type during the update period.
Active Clients
Point in Time
The number of the active client connections performing read and write operations.
Current Queue
Point in Time
The number of operations that are currently queued and waiting for the read or write lock.
Current Connections
Point in Time / Per Update Period
The number of incoming connections from clients to the database server.
‘In use’ and ‘Available’ report the point in time values, ‘Total created’ shows values per update period.
Current Network Requests
Per Update Period
The number of distinct requests that the server has received during the update period.
Current Network Traffic
Per Update Period
The number of bytes that reflects the amount of network traffic received by and sent from this database during the update period.
Total Connections Created
Cumulative
Count of all incoming connections created to the server. This number includes connections that have since closed.
Total Network Requests
Cumulative
The total number of distinct requests that the server has received.
Total Network Traffic
Cumulative
The total number of bytes that reflects the amount of network traffic received by and sent from this database.

You can find more detailed information about the counters used in the chart data in the MongoDB documentation.


Want more MongoDB performance and optimization tools? Check out Studio 3T’s other tools:

  • Query Profiler – Identify and investigate slow running queries on your MongoDB databases
  • Index Manager – Find out what indexes you have on a MongoDB collection and see how often indexes are used
  • Visual Explain – Show the stages MongoDB takes to run a query and detect missing indexes or spot uneven shard loads

With your consent, we and third-party providers use cookies and similar technologies on our website to analyse your use of our site for market research or advertising purposes, including personalized advertising (“performance”), to provide you with additional functions (“functional”), and to show content from social media platforms, such as embedded videos (“social media”). This may result in the creation of pseudonymous usage profiles and the transfer of personal data to third countries, including the USA, which may have no adequate level of protection for the processing of personal data. Please choose for which purposes you wish to give us your consent and store your preferences by clicking on “Accept selected”. You can find further information in section 9 of our Privacy Policy.

Manage consent preferences