PolarProxy Enterprise Edition allows you to monitor a variety of performance metrics and view monitoring data at intervals of seconds. You can monitor the status of your clusters and locate faults based on fine-grained monitoring data.

Precautions

  • For PolarDB for MySQL clusters that you purchase before December 9, 2021, to use the performance monitoring feature, you must upgrade PolarProxy to PolarProxy Enterprise Edition. For PolarDB for MySQL clusters that you purchase after December 9, 2021, you can directly use the performance monitoring feature.
  • During the upgrade from PolarProxy to PolarProxy Enterprise Edition, a transient disconnection of 30 seconds occurs for cluster endpoints and custom cluster endpoints. The connection to primary endpoints is not affected. We recommend that you perform this upgrade operation during off-peak hours and make sure that your applications can automatically reconnect to the database service.

Procedure

  1. Enter the monitoring page of PolarProxy.
    1. Log on to the PolarDB console.
    2. In the upper-left corner of the console, select the region in which the cluster that you want to manage is deployed.
    3. Find the cluster and click the cluster ID.
    4. In the left-side navigation pane, choose Diagnostics and Optimization > Monitoring.
    5. On the Monitoring page, click PolarProxy.
  2. Optional:(Optional) Upgrade PolarProxy to PolarProxy Enterprise Edition.
    Note For PolarDB clusters that you purchase before December 9, 2021, perform the following steps to upgrade PolarProxy. For PolarDB clusters that you purchase after December 9, 2021, ignore this operation.
    1. On the PolarProxy tab, click Upgrade Now or Upgrade in Maintenance Window.
      If you select Upgrade in Maintenance Window, you can view the details about the task or cancel the task on the Scheduled Tasks page. For more information, see View or cancel a scheduled task.
    2. In the dialog box that appears, click OK.
  3. View the monitoring data of the PolarProxy performance metrics.
    On the PolarProxy tab, you can view the PolarProxy monitoring metrics based on your business requirements. Performance monitoring

    CPU Utilization indicates the usage of CPU cores of the cluster nodes occupied by PolarProxy. For Standard Enterprise Edition clusters, the number of CPU cores of the cluster nodes occupied by PolarProxy is one sixth of the total cores of the cluster nodes. For Dedicated Enterprise Edition clusters, the number of CPU cores of the cluster nodes occupied by PolarProxy is 25% of total cores of the cluster nodes and is rounded up.

    For example, a Dedicated Enterprise Edition cluster has two nodes, and each node has four CPU cores. In this case, PolarProxy occupies two CPU cores.