Docs Menu

Docs HomeLaunch & Manage MongoDBMongoDB Atlas

Monitor Real-Time Performance

On this page

  • Required Access
  • Enable or Disable the Real-Time Performance Panel
  • Access the Real-Time Performance Panel
  • Graph View
  • Table View

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.

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.

Real-Time Performance Panel is enabled by default. To disable or enable the Real-Time Performance Panel for a project:

1
2

To view the Real-Time Performance Panel:

1
2

If the replica set resides in a sharded cluster, first click the sharded cluster containing the replica set.

3
4

Atlas displays the data as a graph. Click Table to view the data as a table.

5
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 mongostat.
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 mongostat.
Query Execution Times
Displays latency statistics for current read requests, write requests, and other database commands. Available in MongoDB 3.6 or later. See opLatencies at serverStatus for more information.
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.

Note

The change streams cursors that the Atlas Search process (mongot) uses to keep Atlas Search indexes updated can contribute to the query targeting ratio and trigger query targeting alerts if the ratio is high.

Reads & Writes
Displays the number of active reads, queued reads, active writes, and queued writes as reported by mongostat.
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 mongotop. For each hot collection, the table also displays the Utilization Percent for the collection.

Utilization Percent is calculated from the read and write times as reported by mongotop during a sample period. Specifically, the Utilization Percent is the percentage (rounded to the nearest 0.1%) of the read and write times for a collection relative to the read and write times for all collections in the deployment during the sample period. If no read and write operation occur during this period, the Utilization Percent will be 0%.

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.

Note

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.

Note

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.

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.

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 mongostat.
Time / Read
Time / Write
Time / Command
Displays latency statistics for current read requests, write requests, and other database commands. To learn more, see opLatencies in serverStatus.
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 mongostat.
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 mongostat.
←  Monitor Query PerformanceUpdate $text Queries with Atlas Search for Improved Search Performance →