Monitor Real-Time Performance
On this page
Only available on M10+ clusters
The Real-Time Performance Panel (RTPP) monitors and displays current network traffic, database operations on the machines hosting MongoDB in your clusters, and hardware statistics about the hosts. Use RTPP to visually identify relevant database operations, evaluate query execution times and the ratio of documents scanned to documents returned, monitor network load and throughput, and discover potential replication lag on secondary members of replica sets.
Note
RTPP might not work if your
workload triggers db.currentOp()
output that is greater than
the RTPP maximum size of 4MB per
sample.
Required Access
To enable or disable Real-Time Performance Panel for a
project, you must have Project Owner
access. Users with
Organization Owner
access must add themselves
to the project as a Project Owner
.
Enable or Disable the Real-Time Performance Panel
Real-Time Performance Panel is enabled by default. To disable or enable the Real-Time Performance Panel for a project:
In Atlas, go to the Project Settings page.
If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
Next to the Projects menu, expand the Options menu, then click Project Settings.
The Project Settings page displays.
Access the Real-Time Performance Panel
To view the Real-Time Performance Panel:
In Atlas, go to the Clusters page for your project.
If it's not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.
If it's not already displayed, select your desired project from the Projects menu in the navigation bar.
If it's not already displayed, click Clusters in the sidebar.
The Clusters page displays.
Graph View
Chart/Location | Description |
---|---|
Connections, Network In, Network Out (Top of panel) | Displays the number of current connections to the machine
hosting MongoDB and the number of inbound and outbound bytes as
reported by |
CPU, Disk IOPS, and Sys Mem (Top of panel) | Displays the currently used percentage of CPU, disk read and write operations per second, and the total physical memory usage, excluding buffers and swap space, of the machine hosting MongoDB. |
Operations | Displays the number of operations as reported by
|
Query Execution Times | Displays latency statistics for current read requests, write
requests, and other database commands. Available in MongoDB 3.6
or later. See |
Query Targeting | Displays the ratio of documents and objects scanned to documents and objects returned in current queries. These statistics are useful in determining if and how a query uses an index. See Analyze Query Performance for more information. The change streams cursors that the Atlas Search
process ( |
Reads & Writes | Displays the number of active reads, queued reads, active
writes, and queued writes as reported by |
Replication Lag | Available only for secondary members of a replica set. Displays the time required to replicate operations from the primary to the secondary members of a replica set. See Replica Set Secondary Members for more information. |
Hottest Collections | Displays the collections with the most operations as reported by
Utilization Percent is calculated from the read and
write times as reported by The hottest collections correspond to the most current time displayed in the charts. That is, if the display is running (i.e. not paused), the collections correspond to the hottest collections at the current timestamp. If the display is paused, the collections correspond to the hottest collections at the paused time. If you have Queryable Encryption enabled for a collection, the RTPP doesn't display the collection in this location. Atlas redacts this information. |
Slowest Operations | Displays the slowest operations as reported by db.currentOp(). The operations correspond to the most current time displayed in the charts. That is, if the display is running (i.e. not paused), the operations correspond to the slowest operations at the current timestamp. If the display is paused, the operations correspond to the slowest operations at the paused time. Select one of the operations to open the Operation Details panel, where you can terminate the selected operation using the Kill Op button. The Kill Op button issues the db.killOp() method on the selected operation. If you have Queryable Encryption enabled for a collection, the RTPP hides the JSON view of the query if it involves encrypted fields. Atlas redacts this information. |
Read Exact Metrics from Graph View
If you pause the Graph view of the Real-Time Performance Panel, you can hover over a line graph to see its exact value, along with the slowest operations and hottest collections, at a given moment in time.
Pausing the Performance Panel does not affect the collection of the underlying data. When you resume the Graph view, the line graphs restart from an empty display.
Table View
Click to hide or display fields from the table.
Fields | Description |
---|---|
Commands Queries Updates Deletes Inserts GetMores | Displays the number of the specified operations (commands,
queries, etc.) as reported by |
Time / Read Time / Write Time / Command | Displays latency statistics for current read requests, write
requests, and other database commands. To learn more, see
|
Scanned / Returned Scanned Objects / Returned | Displays the ratio of documents and objects scanned to documents and objects returned in current queries. These statistics are useful in determining if and how a query uses an index. To learn more, see Analyze Query Performance. |
Active Readers Active Writers Queued Readers Queued Writers | Displays the number of active reads, queued reads, active
writes, and queued writes as reported by |
Lag Time | Available only for secondary members of a replica set. Displays the time required to replicate operations from the primary to the secondary members of a replica set. To learn more, see Replica Set Secondary Members. |
CPU Disk IOPS Sys Mem | Displays the currently used percentage of CPU, disk read and write operations per second, and the total physical memory usage, excluding buffers and swap space, of the machine hosting MongoDB. |
Connections Bytes In Bytes Out | Displays the number of current connections to the machine
hosting MongoDB and the number of inbound and outbound bytes as
reported by |