Batch create offline data synchronization tasks

Updated at:

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

  1. Log on to the Data Resource Platform console.

  2. In the upper-left corner of the page, click the 导航图标 icon and select Collaboration.

  3. In the top menu bar, click the 选择工作组 icon, select the target working group, and click Asset Processing.

  4. In the navigation pane on the left, click the 数据同步 icon, hover over Offline Data Synchronization, and click the image icon.

  5. On the Offline Data Synchronization page, click Batch Create Tasks.

  6. Configure basic information, data elements, and the destination.

    1. In the configuration wizard, select a folder and enter a description for the task.

    2. In the Data Source Configuration area, select a data source type.

    3. In the Data Objects area, select the data to synchronize from the left pane and click the  / / /> icon.

    4. In the Destination Configuration area, configure the destination, partition information, and cleanup rules.

    5. After you complete the configuration, click Next.

  7. 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.

    Note

    The transfer stops when either the byte or record limit is reached.

  8. 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.

  9. 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.