All Products
Search
Document Center

ApsaraDB for OceanBase:Perform batch operations on data synchronization tasks

Last Updated:Jun 30, 2025

This topic describes how to perform batch operations on data synchronization tasks by using the data transmission service.

Background

The data transmission service allows you to perform batch operations on data synchronization tasks on the Synchronization Tasks page. Supported batch operations on data synchronization tasks vary based on the task status.

Task status

Supported batch operation

Not Configured

None

Not Started

Batch start tasks and batch modify alert configuration.

Running

Batch pause tasks and batch modify alert configuration.

Modifying

Batch modify alert configuration.

Integrating

Batch modify alert configuration.

Paused

Batch restore tasks, batch stop tasks, and batch modify alert configuration.

Failed

Batch restore tasks, batch stop tasks, and batch modify alert configuration.

Completed

Batch stop tasks.

Stopping

None

Stopped

None

If you select multiple tasks for a batch operation but not all the selected tasks support this batch operation, a dialog box appears and displays the tasks that support this batch operation.

image..png

Go to the synchronization task list page

  1. Log on to the ApsaraDB for OceanBase console.

  2. In the left-side navigation pane, choose Data Transmission > Data Synchronization. The Synchronization Tasks page automatically appears.

    You can select data synchronization tasks for a batch operation.

    image.png

Batch pause tasks

The data transmission service allows you to batch pause data synchronization tasks in the Running state.

  1. On the Synchronization Tasks page, select the data synchronization tasks to be paused.

  2. Click Batch Pause in the lower part of the page.

    image.png

  3. In the dialog box that appears, click OK.

    This dialog box displays the number of tasks that support batch pausing, the task names, and the latest timestamps.

    image..png

  4. After the operation succeeds, the number of tasks that are successfully paused is displayed.

    For any task that failed the batch operation, troubleshoot the issue as prompted.

Batch restore tasks

The data transmission service allows you to batch restore data synchronization tasks in the Paused or Failed state.

  1. On the Synchronization Tasks page, select the data synchronization tasks to be restored.

  2. Click Batch Restore in the lower part of the page.

    image.png

  3. In the dialog box that appears, click OK.

    This dialog box displays the number of tasks that support batch restoration, the task names, and the latest timestamps.

  4. After the operation succeeds, the number of tasks that are successfully restored is displayed.

    For any task that failed the batch operation, troubleshoot the issue as prompted.

Batch stop tasks

The data transmission service allows you to batch stop data synchronization tasks in the Paused, Failed, or Completed state.

  1. On the Synchronization Tasks page, select the data synchronization tasks to be stopped.

  2. Click Batch Stop in the lower part of the page.

    image.png

  3. In the dialog box that appears, click OK.

    This dialog box displays the number of tasks that support batch stop, the task names, and the latest timestamps.

  4. After the operation succeeds, the number of tasks that are successfully stopped is displayed.

    For any task that failed the batch operation, troubleshoot the issue as prompted.

Batch start tasks

The data transmission service allows you to batch start data synchronization tasks in the Not Started state.

  1. On the Synchronization Tasks page, select the data synchronization tasks to be started.

  2. Click Batch Start in the lower part of the page.

    image.png

  3. In the dialog box that appears, click OK.

    This dialog box displays the number of tasks that support batch start, the task names, and the latest timestamps.

  4. After the operation succeeds, the number of tasks that are successfully started is displayed.

    For any task that failed the batch operation, troubleshoot the issue as prompted.

Batch modify alert configuration

The data transmission service allows you to batch modify alert configuration for data synchronization tasks in the Not Started, Running, Modifying, Integrating, Paused, or Failed state.

  1. On the Synchronization Tasks page, select the data synchronization tasks for which you want to modify alert configuration.

  2. Choose More Batch Operations > Batch Modify Alert Configuration in the lower part of the page.

    image.png

  3. In the Batch Configure Alerts dialog box, set the related parameters based on your business needs.

    On the Synchronization Tasks page, you can check whether alert configuration has been specified for a specific task. If alert configuration is not specified for a task, you can choose whether to enable Task Status Monitoring or Incremental Latency Monitoring based on your business needs. You can also modify the alert configuration of a task.

    Important

    The new configuration overwrites the existing configuration of the selected tasks. Proceed with caution.

    image

    Category

    Parameter

    Description

    Enable Task Status Monitoring

    Alert Rules

    An alert is triggered if an exception is detected in the task.

    All exceptions that occur during the execution of schema synchronization, incremental synchronization log pull, full synchronization, and incremental synchronization tasks can be detected.

    Alerting Frequency

    The interval for sending alerts, in seconds. Value range: 60 to 604800 (seven days).

    Alert Method

    The alert notification method. Valid values are DingTalk, Lark, and Alibaba Cloud CMS external alarm address.

    Alert URL

    The URL of the corresponding alert chatbot. For more information, see Configure an alert URL.

    Remarks (Optional)

    Additional information about the alert URL.

    Enable Incremental Latency Monitoring

    Incremental Latency

    The alerting threshold of the incremental synchronization latency.

    If the incremental synchronization latency exceeds the specified threshold for a data synchronization task, an alert is triggered.

    Alerting Frequency

    The interval for sending alerts, in seconds. Value range: 60 to 604800 (seven days).

    Alert Method

    The alert notification method. Valid values are DingTalk, Lark, and Alibaba Cloud CMS external alarm address.

    Alert URL

    The URL of the corresponding alert chatbot. For more information, see Configure an alert URL.

    Remarks (Optional)

    Additional information about the alert URL.

Batch clear configurations of tasks

Important

You can clear the configuration of a subscription data synchronization task in the Not Started, Completed, or Stopped state.

  1. On the Synchronization Tasks page, select the data synchronization tasks for which you want to clear the configurations.

  2. Choose More Batch Operations > Batch Clear Configuration in the lower part of the page.

    image

  3. In the dialog box that appears, click OK.

    This dialog box displays the number of tasks whose configurations can be cleared, the task names, and the latest timestamps.

    image

  4. After the operation succeeds, the number of tasks whose configurations are successfully cleared is displayed.

    For any task that failed the batch operation, troubleshoot the issue as prompted.