The real-time synchronization feature in DataWorks allows you to synchronize data changes from a source, such as a single table or an entire database, to a destination database in real time. This process ensures the destination database remains consistent with the source.
Core capabilities
Real-time synchronization supports the following capabilities:
|
Capability |
Description |
|
Data synchronization across various data sources |
Real-time synchronization supports various data sources. You can combine different source and destination data sources to create a synchronization pipeline. For more information, see Supported data sources and sync solutions. |
|
Data synchronization in complex network environments |
Real-time synchronization supports data transfer from sources such as Alibaba Cloud databases, on-premises data centers, a self-managed database on an ECS instance, or databases outside Alibaba Cloud. Before you start, ensure that network connectivity exists between your resource group and both the source and destination. For configuration details, see Network connectivity solutions. |
|
Synchronization scenarios |
Real-time synchronization supports syncing a single table to a destination table and consolidating incremental data from sharded databases and tables into a single destination table.
|
|
Real-time synchronization task configuration |
The following capabilities are supported when you configure a real-time synchronization task. You can collect single-table ETL real-time data through simple task configuration without writing code. For more information, see Configure a single-table real-time synchronization task. Single-table real-time synchronization:
|
|
Real-time synchronization task O&M |
Supports configuring monitoring and alerts for synchronization tasks.
|
-
Real-time synchronization does not support running tasks in the Data Studio interface. You must save and submit the real-time synchronization node, and then run the node in Operation Center in the production environment.
-
Real-time synchronization tasks do not support synchronizing views.
-
Real-time synchronization tasks support only wizard mode for configuration and cannot be converted to script mode. Script mode is applicable only to batch synchronization tasks.
Supported data sources
Source: Kafka, Hologres, Oracle, LogHub, and DataHub.
Destination: ApsaraDB for OceanBase, Data Lake Formation (DLF), Doris, Hologres, Kafka, MaxCompute, OSS, OSS-HDFS, StarRocks, Tablestore, and Lindorm.
Data processing: data filtering, string replacement, data masking, JSON parsing, and column editing and assignment.
Get started
To create a single-table real-time synchronization task, see Create a single-table real-time synchronization task.
O&M and tuning
After you create a single-table real-time synchronization task, you may need to perform routine O&M, troubleshooting, and performance tuning. For detailed instructions, see O&M and tuning for real-time synchronization tasks.
If you use a whole-database real-time synchronization task, see the O&M documentation for whole-database real-time synchronization tasks.
FAQ
For common questions about real-time synchronization tasks, see FAQ about real-time synchronization.