This topic describes how to adjust the number of dedicated proxy instances that are enabled on an ApsaraDB RDS for MySQL instance based on the monitoring data of the instance and your business planning.
Prerequisites
Enable and configure the dedicated proxy feature for an ApsaraDB RDS for MySQL instance
Precautions
The adjustment causes a transient connection on your application. Make sure that your application is configured to automatically reconnect to your RDS instance.
Procedure
- Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.
In the left-side navigation pane, click Database Proxy.
In the Proxy Instance section of the Proxy tab, modify the number to the right of the Enabled Proxy Instances parameter and click Apply to the right of the parameter.
NoteWe recommend that you specify the number of dedicated proxy instances as the rounded-up integer of the total number of cores for your RDS instance and its read-only RDS instances divided by 8. A maximum of 16 dedicated proxy instances are supported.
For example, if your RDS instance has eight cores and its read-only RDS instances have four CPU cores, the recommended number of dedicated proxy instances is 2 based on the following calculation: (8 + 4)/8 = 1.5 (rounded up to 2).
Set the Applied At parameter and click OK.
Related operations
Operation | Description |
Modifies the number of dedicated proxy instances that are enabled on an ApsaraDB RDS instance. | |
Queries details about the dedicated proxy instances that are enabled on an ApsaraDB RDS instance. |