The architecture of a PolarDB cluster consists of the following layers: PolarProxy, the database engine, and the distributed storage. You can separately upgrade PolarProxy and the database engine or upgrade both of them at the same time.
Usage notes
- In most cases, an upgrade requires less than 30 minutes to complete. PolarProxy or the database engine is restarted during the upgrade. This may interrupt services. We recommend that you perform the upgrade during off-peak hours. Make sure that your application can automatically reconnect to your database.
- During the Upgrade PolarDB Database Proxy and Kernel process, transient connections occur for the primary endpoint and the cluster endpoint and last for 30 to 90 seconds. Make sure that your application can automatically reconnect to your database.
- During the Upgrade PolarDB Database Proxy Only process, transient connections occur for the cluster endpoint and the custom endpoint and last for 30 seconds. Make sure that your application can automatically reconnect to your database.
- During the Upgrade Kernel Only process, PolarDB clusters with PolarProxy V2.4.7 or later can use the connection preservation technique to prevent 95% of the database connections from being interrupted.
- During the upgrade, you cannot use some features that are related to cluster changes in the PolarDB console. For example, you cannot upgrade or downgrade configurations, add or remove nodes, modify parameters, or restart nodes. During this period, features related to data queries are still available, such as performance monitoring.
- You cannot downgrade PolarProxy or the database engine.
View the version information
- Log on to the PolarDB console.
- In the upper-left corner of the console, select the region in which the cluster that you want to manage is deployed.
- Find the cluster and click the cluster ID.
- In the left-side navigation pane, choose .
- In the Version Information section, view the version information of PolarProxy and the database engine.
Upgrade the cluster version
If PolarProxy or the database engine of the cluster is not of the latest version, you can upgrade the version based on your business requirements.
Related API operations
Operation | Description |
---|---|
DescribeDBClusterVersion | Queries the details of the database engine version of a PolarDB for MySQL cluster. |
UpgradeDBClusterVersion | Upgrades a PolarDB for MySQL cluster to the latest version. |