The architecture of a PolarDB cluster consists of three layers: PolarProxy, the database engine, and the distributed storage. You can upgrade PolarProxy or the database engine separately 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 can cause transient connections to occur on the database. 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 of 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 delete 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 where the cluster that you want to manage is deployed.
- Find the cluster that you want to manage and click the cluster ID.
- In the Version Information section, view the version information of PolarProxy and the database engine.
Upgrade the 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
API | Description |
---|---|
DescribeDBClusterVersion | Queries the details about the database engine version of a cluster. |
UpgradeDBClusterVersion | Upgrades a cluster to the latest version. |