Batch synchronization transfers full or incremental data between source and destination databases using Reader and Writer plugins. Configure data sources and scheduling parameters to automate the process. This topic describes the capabilities of batch synchronization.
Core capabilities
Offline sync provides the following capabilities:
Capability | Description |
Data synchronization between disparate data sources | Data Integration supports 50+ data source types, including relational databases, unstructured storage, big data storage, and message queues. You can define source and destination data sources and use Reader and Writer plugins provided by Data Integration to transfer data between any structured or semi-structured sources. For more information, see Supported data sources and sync solutions. |
Data synchronization in complex network environments | Batch synchronization supports ApsaraDB, on-premises data centers, self-managed databases on ECS, and databases outside Alibaba Cloud. Before configuration, ensure network connectivity between the resource group and both the source and destination endpoints. For more information about configuration, see Network connectivity solutions. |
Sync scenarios | 1. Sync modes
Note For more information about scheduling parameters, see Typical scenarios of scheduling parameters in Data Integration and Scheduling parameters. 2. Supported source structures
|
Configuration methods | You can configure batch synchronization tasks in Data Integration by using the following methods.
Note For more information about task configuration capabilities, see Feature overview. |
O&M for batch synchronization tasks |
|
Feature overview
Feature | Description |
Full or incremental data synchronization | Batch synchronization tasks support full or incremental data synchronization by configuring Data Filtering combined with scheduling parameters. Different plugins have different configurations for incremental synchronization. For more information about incremental data synchronization, see Configure incremental data synchronization. |
Field mapping | By defining field mapping rules, source data is written to the corresponding destination fields based on the specified relationships. Ensure that the field types on both sides are compatible.
|
Job rate limit |
|
Distributed task execution | Data sources that support distributed execution can use task sharding to distribute synchronization tasks across multiple nodes for concurrent execution. This enables synchronization speed to scale linearly with cluster size, breaking through single-node performance bottlenecks. This mode is especially suitable for high-throughput, low-latency synchronization scenarios and efficiently utilizes idle cluster resources to significantly improve hardware utilization. |
Dirty data policy | Dirty data refers to data records that fail to be written to the destination due to exceptions such as type conflicts or constraint violations. Batch synchronization supports dirty data policies that define the acceptable number of dirty data records and their impact on tasks.
|
Time zone | If cross-time-zone synchronization is required between the source and destination, you can configure the source time zone to perform time zone conversion. |
Intelligent data processing | DataWorks supports integrating data processing capabilities during data synchronization to transform and process source data before writing it to the destination: String replacement: The built-in string replacement feature in batch synchronization tasks allows you to perform lightweight data transformations directly during data transfer without requiring data to be landed or additional ETL steps. AI-assisted processing: Supports integrating AI large language models during data synchronization to perform semantic analysis, sentiment analysis, and other processing on source natural language data, and writes the processed results directly to the destination table. Data vectorization: Supports extracting and vectorizing (embedding) source data before writing it to a vector database. |
Next steps
For detailed instructions on creating tasks, see: