Manage MySQL clusters

Updated at:

After you create an ApsaraDB for MyBase cluster, you can view, modify, and delete it.

Background information

For more information about ApsaraDB for MyBase, see What is ApsaraDB for MyBase?.

View cluster information

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select a region.

  3. On the Dedicated Clusters page, view or download the cluster information.

    • By default, the list displays columns such as Dedicated Cluster ID, VPC, and Hosts. To customize the columns, click the settings icon 设置图标 on the right. In the dialog box, you can move columns between Hidden Columns and Displayed Columns. The available columns include Cluster ID/name, Cluster type, VPC, Database engine, Instance allocation policy, and Host failure policy. After you finish, click OK.

    • Click the download icon 下载图标 on the right to download the cluster information.

  4. In the Actions column of the target cluster, click Details.

  5. The Basic Information page displays detailed parameters for the cluster.

    In addition to the parameters in the following table, this page also displays parameters such as Engine and Deployment mode in the Basic Information section, and Grant OS permissions in the Host Information section.

    Parameter

    Description

    Dedicated Cluster ID/Name

    The ID and name of the cluster.

    Architecture series

    The architecture series of the cluster.

    VPC

    The VPC to which the cluster belongs.

    Hosts

    The number of hosts in the cluster.

    Instances

    The number of instances in the cluster.

    Host Troubleshooting Policy

    The policy for handling host failures. See  Modify an ApsaraDB for MyBase cluster for option details.

    Resource allocation policy

    The default policy for scheduling resources in the cluster. See Modify an ApsaraDB for MyBase cluster for option details.

    CPU Overcommit Ratio

    The CPU overcommit ratio of the cluster. Valid values: 100% to 300%. Default value: 200%. This means the total CPU resources provisioned for all instances can be double the cluster's actual physical CPU resources.

    Storage Overcommit Ratio

    The storage overcommit ratio of the cluster. Valid values: 100% to 200%. Default value: 200%. This means the total storage provisioned for all instances can be double the cluster's actual physical storage. This policy helps maximize storage utilization.

    Maximum Memory Usage

    The maximum memory usage of each host in the cluster. Valid values: 0% to 100%. Default value: 100%.

    Creation Time

    The time when the cluster was created.

Modify an ApsaraDB for MyBase cluster

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select a region.

  3. On the Clusters page, find the target cluster and click Modify in the Actions column.

  4. Set the following parameters.

    Parameter

    Description

    Cluster name

    A custom name to help you identify the cluster.

    CPU Overcommit Ratio

    The CPU overcommit ratio of the cluster. Valid values: 100% to 300%. Default value: 200%. This means the total CPU resources provisioned for all instances can be double the cluster's actual physical CPU resources.

    Storage Overcommit Ratio

    The storage overcommit ratio of the cluster. Valid values: 100% to 200%. Default value: 200%. This means the total storage provisioned for all instances can be double the cluster's actual physical storage. This policy helps maximize storage utilization.

    Maximum Memory Usage

    The maximum memory usage of each host in the cluster. Valid values: 0% to 100%. Default value: 100%.

    Resource Allocation Policy

    The default policy for scheduling new database instances across hosts:

    • Balanced Allocation: Places new instances on hosts with the most available resources, maximizing cluster stability.

    • Compact Allocation: Places new instances on hosts created earlier that have more resources already allocated, maximizing resource usage.

    Host Troubleshooting Policy

    The policy for handling faulty hosts:

    • Automatic Host Replacement: The system automatically replaces faulty hosts. If the faulty host uses ESSDs (Enhanced SSDs), replacement begins after computing resources are migrated. If it uses local SSDs, replacement begins only after all instances are removed from that host.

    • Manual Host Replacement: Replace faulty hosts manually.

    Grant OS Permissions

    Note

    This setting cannot be changed once configured.

  5. Click OK.

Delete an ApsaraDB for MyBase cluster

  1. Log on to the ApsaraDB for MyBase console.

  2. In the upper-left corner of the page, select a region.

  3. On the Clusters page, find the target cluster and click Delete in the Actions column.

    Note

    You must delete all hosts and instances from a cluster before you can delete the cluster.

  4. In the confirmation dialog box, click OK.