Pausing a Synchronization Task
DRS allows you to pause real-time synchronization tasks. For details about the synchronization scenarios where synchronization tasks can be paused, see Real-time Synchronization Scenarios Where Synchronization Tasks Can Be Paused.
Prerequisites
- You have logged in to the DRS console.
Pausing a Task
- In the task list on the Data Synchronization Management page, locate the target task and click Pause in the Operation column.
- In the displayed Pause Task dialog box, select Pause log capturing and click Yes.Note
- When a task in incremental state is paused, only the replay or capture and replay of incremental data is paused. Before database cutover, stop the task.
- After you select Pause log capturing, the DRS instance will no longer communicate with the source and destination databases. If the pause duration is too long, the task may fail to be resumed because the logs required by the source database expire. You are not advised pausing a task for more than 24 hours. For details, check the corresponding log configuration.
- After the task is paused, its status becomes Paused.
- You can use the resumable transfer function to continue the synchronization task.
Pausing Tasks
- On the Data Synchronization Management page, select the tasks to be paused.
- Click Batch Operations in the upper left corner and choose Pause.
- In the displayed dialog box, confirm the task information and click Yes.
Real-time Synchronization Scenarios Where Synchronization Tasks Can Be Paused
The following tasks can be paused during incremental synchronization:
- To the cloud
- MySQL->MySQL
- MySQL->GaussDB(DWS)
- MySQL->PostgreSQL
- PostgreSQL->PostgreSQL
- PostgreSQL->GaussDB(DWS)
- Oracle->PostgreSQL
- Oracle -> GaussDB primary/standby
- Oracle -> GaussDB distributed
- MariaDB->MariaDB
- From the cloud
- MySQL->MySQL
- MySQL->CSS/ES
- MySQL->Kafka
- PostgreSQL->Kafka
- MariaDB->MariaDB
- Self-built -> Self-built
- MySQL->CSS/ES
- Oracle -> GaussDB primary/standby
- Oracle -> GaussDB distributed
- PostgreSQL->Kafka
In addition, the following tasks can be paused during full synchronization:
- MySQL->MySQL
- Oracle->PostgreSQL
- PostgreSQL->PostgreSQL
Parent topic: Task Life Cycle
- Prerequisites
- Pausing a Task
- Pausing Tasks
- Real-time Synchronization Scenarios Where Synchronization Tasks Can Be Paused