Before you configure a data synchronization solution to synchronize data from a source data source to a destination MaxCompute data source, you must add the source data source and the destination data source in the DataWorks console.

Prerequisites

Before you add a data source, make sure that the following operations are performed:
  • Prepare data sources: A source data source and a destination data source are created.
  • Create and authorize an account: An account that is used to access data sources is created.

Precautions

DataWorks provides workspaces in basic mode and standard mode for you to develop data. A workspace in basic mode does not isolate the development environment from the production environment. A workspace in standard mode isolates the development environment from the production environment.

If you use a workspace in standard mode, you must separately add data sources to the development environment and production environment.

Add a source PolarDB for MySQL data source

To add a source PolarDB for MySQL data source, you must configure information such as the network connection type and the access account and password as planned. For more information about how to add a source PolarDB for MySQL data source, see Add a PolarDB data source.

If the connectivity test fails when you add a PolarDB for MySQL data source, follow the instructions described in What do I do if the PolarDB data source cannot be connected? to handle the exception.

Add a source Oracle data source

To add a source Oracle data source, you must configure information such as the network connection type and the access account and password as planned. For more information about how to add a source Oracle data source, see Add an Oracle data source.

Add a source MySQL data source

To add a source MySQL data source, you must configure information such as the network connection type and the access account and password as planned. For more information about how to add a source MySQL data source, see Add a MySQL data source.

Add a destination MaxCompute data source

For more information, see Add a MaxCompute data source.

What to do next

After you add data sources, you can create and run a data sync node to synchronize data from the source data source to the destination data source.

For more information, see Create a real-time synchronization solution to synchronize data to MaxCompute.