All Products
Search
Document Center

ApsaraDB for MongoDB:Real-time performance

Last Updated:Jul 03, 2023

This topic describes how to view real-time monitoring statistics of an ApsaraDB for MongoDB instance, such as read/write latency, queries per second (QPS), operations, connections, and network traffic.

Prerequisites

A standalone instance, a replica set instance, or a sharded cluster instance that adopts the MongoDB protocol type is used.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.

  2. In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances based on the instance type.

  3. In the upper-left corner of the page, select the resource group and region to which the instance belongs.

  4. Click the ID of an instance, or click More icon in the Actions column corresponding to the instance and select Manage.

  5. In the left-side navigation pane of the instance details page, choose CloudDBA > Real-time Performance.

  6. You can view the real-time trends of performance metrics and mongostat command.

    Note

    When you refresh or access the Real-time Performance page again, the real-time charts and mongostat output are recorded again, and the Remaining Refreshes in the upper-right corner is reset.

    • Real-time Charts

      On the Real-time Charts tab, line charts are refreshed every 5 seconds to provide up-to-date performance trends.

      Note

      You can move the pointer over 2023-05-11_18-24-58..png to view the detailed information of performance parameters.

    • Mongostat

      On the Mongostat tab, you can view mongostat command outputs. A new line of real-time performance data is added every 5 seconds. The tab can contain up to 999 lines of data. Mongostat v0.1 is used for ApsaraDB for MongoDB. For more information about mongostat command outputs, see mongostat.