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 were purchased before December 9, 2021, you must upgrade PolarProxy to PolarProxy Enterprise Edition to use the performance monitoring feature. For PolarDB for MySQL clusters that were purchased after December 9, 2021, the performance monitoring feature can be used directly.
  • During the upgrade, new sessions are established to the new PolarProxy. Sessions established to the original PolarProxy are automatically closed 24 hours after the upgrade starts. 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: Upgrade PolarProxy to PolarProxy Enterprise Edition.
    Note For PolarDB clusters that were purchased before December 9, 2021, perform the following steps to upgrade PolarProxy. For PolarDB clusters that were purchased after December 9, 2021, ignore this operation.
    PolarProxy upgrade
    1. On the PolarProxy tab, click Change Specification and then 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 vCPUs of the cluster nodes occupied by PolarProxy. For Standard Enterprise Edition clusters, the number of vCPUs of the cluster nodes occupied by PolarProxy is rounded up from one sixth of the total vCPUs of the cluster nodes. For Dedicated Enterprise Edition clusters, the number of vCPUs of the cluster nodes occupied by PolarProxy is rounded up from one fourth of the total vCPUs of the cluster nodes.

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