All Products
Search
Document Center

ApsaraDB for ClickHouse:Restart a cluster

Last Updated:Jan 20, 2025

ApsaraDB for ClickHouse allows you to restart an ApsaraDB for ClickHouse cluster. If an ApsaraDB for ClickHouse cluster becomes unavailable or needs to be restarted to resolve issues, you can restart the cluster. This topic describes how to restart a cluster in the ApsaraDB for ClickHouse console.

Prerequisites

The cluster you want to restart is in the running state.

Impacts

In most cases, the restart process takes between 1 and 2 minutes, and the exact duration varies based on the following factors:

  • Number of databases and tables and data volume: The more databases, tables, and data stored in a cluster, the longer it takes to start the cluster.

  • Hot and cold-tiered storage: If the hot and cold-tiered storage feature is enabled for the cluster, the cluster must load cold data during the restart. This can extend the restart duration.

If you restart a cluster, service interruptions may occur. We recommend that you restart the cluster during off-peak hours.

Procedure

Restart a Community-compatible Edition cluster

  1. Log on to the ApsaraDB for ClickHouse console.

  2. In the top navigation bar, select the region in which the cluster you want to manage resides.

  3. On the Clusters page, click the Clusters of Community-compatible Edition tab and click the ID of the cluster that you want to manage.

  4. In the upper-right corner of the cluster details page, click Restart Setting.

  5. In the Restart Setting dialog box, select Schedule Restart or Restart Now based on your business requirements.

    • Schedule Restart: In the Scheduled Time time picker, select the time when you want to restart the cluster. The cluster restarts at the specified time.

      Note

      In the Restart Setting dialog box, you can click Cancel Schedule to cancel the specified time for restarting the cluster.

    • Restart Now: The cluster restarts immediately.

  6. Click OK.

Restart an Enterprise Edition cluster

  1. Log on to the ApsaraDB for ClickHouse console.

  2. In the upper-left corner, select the region in which the cluster that you want to manage resides.

  3. On the Clusters page, click the Enterprise Edition Clusters tab and click the ID of the cluster that you want to manage.

  4. In the upper-right corner of the cluster details page, click Restart Instance.

  5. In the Restart Instance message, click OK.

  6. Click OK as prompted.

    Note

    During the restart, the cluster state changes to Restarting. After the cluster state changes to Running, the restart is complete.

Related API operations

  • You can call the RestartDBInstance operation to restart an Enterprise Edition cluster. For more information, see RestartDBInstance.

  • You can call the RestartInstance operation to restart a Community-compatible Edition cluster. For more information, see RestartInstance.