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.

Go to the synchronization task list page
Log on to the ApsaraDB for OceanBase console.
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.

Batch pause tasks
The data transmission service allows you to batch pause data synchronization tasks in the Running state.
On the Synchronization Tasks page, select the data synchronization tasks to be paused.
Click Batch Pause in the lower part of the page.

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.

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.
On the Synchronization Tasks page, select the data synchronization tasks to be restored.
Click Batch Restore in the lower part of the page.

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.
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.
On the Synchronization Tasks page, select the data synchronization tasks to be stopped.
Click Batch Stop in the lower part of the page.

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.
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.
On the Synchronization Tasks page, select the data synchronization tasks to be started.
Click Batch Start in the lower part of the page.

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.
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.
On the Synchronization Tasks page, select the data synchronization tasks for which you want to modify alert configuration.
Choose More Batch Operations > Batch Modify Alert Configuration in the lower part of the page.

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.
ImportantThe new configuration overwrites the existing configuration of the selected tasks. Proceed with caution.

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
You can clear the configuration of a subscription data synchronization task in the Not Started, Completed, or Stopped state.
On the Synchronization Tasks page, select the data synchronization tasks for which you want to clear the configurations.
Choose More Batch Operations > Batch Clear Configuration in the lower part of the page.

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.

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.