Batch create offline data synchronization tasks
Data synchronization lets you create offline sync tasks in batches. You can start multiple synchronization tasks with one click to automatically create tables for full data synchronization. This topic describes how to batch create offline data synchronization tasks by synchronizing data from a MySQL data source to a MaxCompute destination.
Prerequisites
-
A corresponding data source must exist. For instructions, see Create a new data source.
-
Physical tables are synchronized from the source to the destination. For more information, see Get physical tables.
-
A folder has been added for the offline data synchronization tasks. For more information, see Add a task folder.
Procedure
-
Log on to the Data Resource Platform console.
-
In the upper-left corner of the page, click the
icon and select Collaboration. -
In the top menu bar, click the
icon, select the target working group, and click Asset Processing. -
In the navigation pane on the left, click the
icon, hover over Offline Data Synchronization, and click the
icon. -
On the Offline Data Synchronization page, click Batch Create Tasks.
-
Configure basic information, data elements, and the destination.
-
In the configuration wizard, select a folder and enter a description for the task.
-
In the Data Source Configuration area, select a data source type.
-
In the Data Objects area, select the data to synchronize from the left pane and click the
icon. -
In the Destination Configuration area, configure the destination, partition information, and cleanup rules.
-
After you complete the configuration, click Next.
-
-
Configure task scheduling and click Next.
Parameter
Description
Detect Schema Evolution
Select whether to enable schema evolution detection. If you enable this feature, the system checks the table schema of the data source daily. If a schema evolution is detected, an alert is pushed. You can view the alert details in Service Monitoring - DataQ - Overwatch.
Resource Group
Select a resource group.
Resource Specifications
Set the CPU kernels (default: 2) and memory (default: 1024 MB) required for the task instance to run.
Rate
Set the maximum rate for the task. The task runs as fast as possible without exceeding this limit.
-
MB/s: The maximum number of bytes that can be transferred per second for each channel.
-
Records/s: The maximum number of records that can be transferred per second for each channel.
NoteThe transfer stops when either the byte or record limit is reached.
-
-
In the Review Tasks area, review the tasks.
-
Click Edit to modify the basic information, destination, field mapping, and task scheduling of a sync task.
-
Click Delete to delete a sync task.
-
-
Click Submit. In the Note dialog box, click OK.
What to do next
After you create the sync tasks in a batch, publish them. For more information, see Publish an offline data synchronization task.