All Products
Search
Document Center

AnalyticDB:Update the minor version of a cluster

Last Updated:Sep 30, 2024

As the minor versions of AnalyticDB for MySQL iterate, new minor versions can provide more features and better user experience. This topic describes how to update the minor version of an AnalyticDB for MySQL cluster.

Prerequisites

An AnalyticDB for MySQL Data Warehouse Edition cluster is created.

Usage notes

  • To update the minor version of an AnalyticDB for MySQL Data Lakehouse Edition cluster, submit a ticket.

  • When you update the minor version of an AnalyticDB for MySQL cluster of Standalone Edition in Data Warehouse Edition in elastic mode, you cannot perform read, write, and control operations on the cluster. When you update the minor version of an AnalyticDB for MySQL cluster of other editions, you can perform read and write operations but not control operations on the cluster. We recommend that you perform an update during off-peak hours. Make sure that your application is configured to automatically reconnect to the AnalyticDB for MySQL cluster. After the update is complete, you can use the cluster as expected.

View the minor version of a cluster

View the minor version of a cluster in the AnalyticDB for MySQL console

  1. Log on to the AnalyticDB for MySQL console. In the upper-left corner of the console, select a region. In the left-side navigation pane, click Clusters. On the Data Warehouse Edition tab, find the cluster that you want to manage and click the cluster ID.

  2. In the Configuration Information section of the Cluster Information page, view the current minor version of the cluster.

Query the minor version of a cluster by using an SQL statement

  1. Connect to an AnalyticDB for MySQL cluster. For more information, see Connect to an AnalyticDB for MySQL cluster.

  2. Execute the following SQL statement to query the minor version of the cluster:

    SELECT adb_version();

    In the following sample result, the source_version parameter indicates the minor version number:

    +----------------+----------------+---------------------+-------------+---------------------+
    | source_version | rpm_version    | build_date          | revision_id | revision_date       |
    +----------------+----------------+---------------------+-------------+---------------------+
    | 3.1.10.3       | 20240308165905 | 2024-03-08 16:59:05 | 1b60f22     | 2024-03-08 16:45:09 |
    +----------------+----------------+---------------------+-------------+---------------------+

Update the minor version of a cluster

  1. Log on to the AnalyticDB for MySQL console. In the upper-left corner of the console, select a region. In the left-side navigation pane, click Clusters. On the Data Warehouse Edition tab, find the cluster that you want to manage and click the cluster ID.

  2. In the Configuration Information section of the Cluster Information page, view the current minor version of the cluster.

  3. Click Update Version next to the current minor version of the cluster.

    Note

    If the Update Version button is dimmed, the current minor version of the cluster is the latest version.

  4. In the Update Version dialog box, specify the update time and the minor version to which you want to update the cluster.

    Parameter

    Description

    Current Version

    The current minor version of the cluster.

    Updatable Version

    The minor version to which you can update the cluster. For information about the minor versions of AnalyticDB for MySQL, see Release notes.

    Update Time

    The time when you want to update the minor version. Valid values:

    1. Within Maintenance Window: updates the minor version within the maintenance window of the cluster. For more information, see Configure a maintenance window.

    2. Immediate: updates the minor version immediately after you click OK.

  5. Click OK.

    Warning

    When you update the minor version of an AnalyticDB for MySQL cluster, the cluster may encounter transient connections. We recommend that you perform the update during off-peak hours. Make sure that your application is configured to automatically reconnect to the AnalyticDB for MySQL cluster.

Related operations