Table 1 Instance type change options supported by different DCS instances | Version | Supported Type Change | Precautions |
| Redis 4.0/5.0/6.0 | From master/standby or read/write splitting to Proxy Cluster | - After the instance is changed to Proxy Cluster, multi-DB is enabled for Proxy Cluster by default. Therefore, consider the restrictions of multi-DB and commands, see Notes and Procedure for Enabling Multi-DB for Proxy Cluster Instances, and Command Restrictions.
- Memory usage must be less than 70% of the maximum memory of the new flavor. To query the used memory of an instance, see parameter Used/Available Memory (MB) in Viewing and Modifying Basic Settings of a DCS Instance.
- Some keys may be evicted if the current memory usage exceeds 90% of the total.
- After the change, create alarm rules again for the instance.
- For instances that are currently master/standby, ensure that their read-only IP address or domain name is not used by your application.
- If your application cannot reconnect to Redis or handle exceptions, you may need to restart the application after the change.
- Modify instance specifications during off-peak hours. An instance is temporarily interrupted and remains read-only for about 1 minute during the specification change.
|
| From Proxy Cluster to master/standby or read/write splitting |
For details about the commands supported by different types of instances, see Command Compatibility.
Any instance type changes not listed in the preceding table are not supported. To modify specifications while changing the instance type, see Migrating Instance Data.
To check whether you can change the instance type of an instance, see the parameters displayed on the Modify Specifications page on the DCS console.