This topic describes how to adjust the number of dedicated proxies on an ApsaraDB RDS for MySQL instance based on monitoring data and business planning.
The adjustment causes a transient connection error on your application. Make sure that your application is configured to automatically reconnect to your RDS instance.
- Visit the RDS instance list, select a region above, and click the target instance ID.
- In the left-side navigation pane, click Database Proxy.
- In the Proxy Instance section of the Proxy Service tab, modify the number to the right of the Instances Associated parameter and then click Apply to the right of the Adjustment Plan parameter
Note We recommend that you specify the number of dedicated proxies as the rounded-up integer of the total number of CPU cores for your RDS instance and its read-only RDS instances divided by 8. A maximum of 60 dedicated proxies are supported.
For example, if your RDS instance has eight CPU cores and its read-only RDS instances have four CPU cores, the recommended number of dedicated proxies is 2 based on the following calculation: (8 + 4)/8 = 1.5 (rounded up to 2).
- Set the Applied At parameter and click OK.
|ModifyDBProxyInstance||Modifies the number of dedicated proxies on an ApsaraDB RDS instance.|
|DescribeDBProxy||Queries details about the dedicated proxies of an ApsaraDB RDS instance.|