All Products
Search
Document Center

PolarDB:Performance monitoring

Last Updated:Apr 18, 2024

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. You can also create alert rules for PolarProxy to notify you of monitoring data exceptions for PolarProxy in a timely manner and troubleshoot such exceptions.

Note

  • For clusters that were purchased before December 9, 2021, you must upgrade PolarProxy to PolarProxy Enterprise Edition to use the performance monitoring feature. For 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.

View performance monitoring data

  1. Enter the monitoring page of PolarProxy.

    1. Log on to the PolarDB console.

    2. In the left-side navigation pane, click Clusters.

    3. In the upper-left corner, select the region in which the cluster that you want to manage is deployed.

    4. Find the cluster and click its ID.

    5. In the left-side navigation pane, choose Performance Monitoring.

    6. On the Performance Monitoring page, click PolarProxy.

  2. (Optional) Upgrade PolarProxy.

    Note

    For clusters that were purchased before December 9, 2021, perform the following steps to upgrade PolarProxy. For clusters that were purchased 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 of the task or cancel the task on the Scheduled Tasks page. For more information, see Scheduled tasks.

    2. In the message that appears, click OK.

  3. View the monitoring data of the PolarProxy performance metrics.

    On the PolarProxy tab, you can view the PolarProxy monitoring data based on your business requirements.性能监控

    CPU Utilization indicates the usage of vCPUs of the cluster nodes occupied by PolarProxy. You can calculate the number of vCPUs that are occupied by PolarProxy in the following way: For Standard Enterprise Edition, it is rounded up from one sixth of the total vCPUs of the cluster nodes. For Dedicated Enterprise Edition, it 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.

Create an alert rule

For more information about how to create an alert rule, see Create an alert rule.