Configuration | Description |
Synchronization Types | By default, Incremental Data Synchronization is selected. You can select only Full Data Synchronization. You cannot select Schema Synchronization. After the precheck is complete, DTS synchronizes the historical data of the selected objects from the source database to the destination database. The historical data is the basis for subsequent incremental synchronization. Note When the destination database is an ApsaraMQ for RocketMQ instance, Schema Synchronization is not supported. |
Processing Mode of Conflicting Tables | Precheck and Report Errors: checks whether the destination database contains tables that have the same names as tables in the source database. If the source and destination databases do not contain tables that have identical table names, the precheck is passed. Otherwise, an error is returned during the precheck, and the data synchronization task cannot be started. Note If the source and destination databases contain tables with identical names and the tables in the destination database cannot be deleted or renamed, you can use the object name mapping feature to rename the tables that are synchronized to the destination database. For more information, see Map object names. Ignore Errors and Proceed: skips the precheck for identical table names in the source and destination databases. Warning If you select Ignore Errors and Proceed, data inconsistency may occur and your business may be exposed to potential risks. If the source and destination databases have the same schema and a data record in the destination database has the same primary key value or unique key value as a data record in the source database: During full data synchronization, DTS does not synchronize the data record to the destination database. The existing data record in the destination database is retained. During incremental data synchronization, DTS synchronizes the data record to the destination database. The existing data record in the destination database is overwritten.
If the source and destination databases have different schemas, data may fail to be initialized. In this case, only some columns are synchronized, or the data synchronization task fails. Proceed with caution.
|
Format of the data delivered to RocketMQ. | |
Synchronize all fields | You can select whether to synchronize only the pre-image of the fields updated by the UPDATE statement (that is, the data before the UPDATE statement is executed) to the old field of the destination Topic based on your actual needs. |
Rules of the ordered messages delivered to RocketMQ. | Select the message order rule for writing the synchronized data to the destination Topic based on your needs. For more information, see Message Order Rule in RocketMQ. |
Name of DTS producer group | You can configure the producer group (ProducerGroup) to send messages to the desired Topic, according to your specific requirements. Note The default value is dts-producer-group. |
Limits of RocketMQ messaging transactions per second (TPS) | Set the TPS limit for sending and receiving messages when writing the synchronized data to the destination Topic based on your needs. For more information about TPS limits, see Specification Calculation Description. Important The value must not exceed the maximum TPS of the ApsaraMQ for RocketMQ instance. For more information, see Instance Specification Limits. The actual TPS for sending and receiving messages of the ApsaraMQ for RocketMQ instance may fluctuate within the set range during the operation of the synchronization instance.
|
Whether to filter large size of records. | Choose whether to filter message bodies larger than 4 MB when writing them to the destination Topic based on your needs. Important If you select No, the synchronization instance will fail if the message body exceeds 4 MB. |
Capitalization of Object Names in Destination Instance | The capitalization of database names, table names, and column names in the destination instance. By default, DTS default policy is selected. You can select other options to ensure that the capitalization of object names is consistent with that in the source or destination database. For more information, see Specify the capitalization of object names in the destination instance. |
Source Objects | Select one or more objects from the Source Objects section and click the icon to add the objects to the Selected Objects section. Note You can select databases or tables as the objects to be synchronized. |
Selected Objects | This example does not require additional configuration. Use the mapping feature to set the Topic name of the target ApsaraMQ for RocketMQ instance to which the data to be synchronized is written, set filter conditions, select the SQL operations to be synchronized, and set the Partition Key. For more information, see Mapping Information. |