MaxCompute offers a comprehensive data import solution to support fast computing for large amounts of data.

Prerequisites

A reader or transformation node is configured. For more information, see Supported data stores for real-time synchronization.

Procedure

  1. Go to the DataStudio page.
    1. Log on to the DataWorks console.
    2. In the left-side navigation pane, click Workspaces.
    3. Select the region where the required workspace resides, find the workspace, and then click Data Analytics.
  2. Move the pointer over the Create icon and choose Data Integration > Real-time synchronization.
    Alternatively, you can click the required workflow, right-click Data Integration, and then choose Create > Real-time synchronization.
  3. In the Create Node dialog box, set the Node Name and Location parameters.
    Notice The node name must be 1 to 128 characters in length. It can contain letters, digits, underscores (_), and periods (.).
  4. Click Commit.
  5. On the configuration tab of the real-time sync node, drag MaxCompute under Output to the canvas on the right. Connect the new node to a reader or transformation node.
  6. Click the new MaxCompute node. In the configuration pane that appears, set the required parameters in the Node configuration section.
    Parameter Description
    Data source The connection to the MaxCompute data store. In this example, you can select only a MaxCompute connection.

    If no connection is available, click New data source on the right to add one on the Data Source page. For more information, see Configure a MaxCompute connection.

    Table The name of the MaxCompute table to which data is written.
    You can click One-Click table creation on the right to create a table, or click Data preview to preview the selected table.
    Notice Before you create a table, connect the writer node to a reader node and make sure that the Output field parameter is specified for the reader node.
    Partition message The information about the MaxCompute partitioned table.
    Field Mapping The field mappings between the source and destination data stores. Click Field Mapping and set field mappings. The sync node synchronizes data based on the field mappings.
    If you want to create a table, click One-Click table creation next to Table. In the New Table dialog box, set the parameters as required.
    Parameter Description
    Table name The name of the MaxCompute table.
    Annotation The lifecycle of the MaxCompute table. For more information, see Lifecycle.
    Data field structure The schema of the MaxCompute table. To add a field, click Add.
    Partition settings The partition information about the MaxCompute table. For more information, see Partition.
    Notice You must configure at least two levels of partitions, which are yearly and monthly partitions. You can configure up to five levels of partitions, which are yearly, monthly, daily, hourly, and minutely partitions.
  7. Click the Save icon in the toolbar.