Data Transmission Service (DTS) lets you modify certain instance parameters to reduce data transmission latency and improve performance and efficiency.
Prerequisites
A synchronization or migration instance has been created. For more information, see Synchronization Solution Overview or Migration Solution Overview.
Usage notes
You can modify instance parameters only while the module is running. You can view the module's running status on the Task Management tab of the instance details page in the DTS console, under Progress.
To ensure instance stability, you can modify only the parameters that are available on the Modifiable Parameters tab in the console. Parameters that are not displayed in the console cannot be modified.
When you modify a parameter value, refer to the Valid Values, Parameter Type, and Description columns on the Modifiable Parameters tab.
On the Modifiable Parameters tab in the console, after you submit modifications for parameters where the Force Restart column is set to Yes, DTS immediately restarts the module. Therefore, we recommend that you modify instance parameters during off-peak hours.
Select an instance
The steps to modify parameters are similar for data synchronization and data migration instances. This topic uses a data synchronization instance as an example.
Use one of the following methods to go to the Data Synchronization page and select the region in which the data synchronization instance resides.
DTS console
Log on to the DTS console.
In the left-side navigation pane, click Data Synchronization.
In the upper-left corner of the page, select the region in which the data synchronization task resides.
DMS console
NoteThe actual operations may vary based on the mode and layout of the DMS console. For more information, see Simple mode and Customize the layout and style of the DMS console.
Log on to the DMS console.
In the top navigation bar, move the pointer over Data + AI and choose .
From the drop-down list to the right of Data Synchronization Tasks, select the region in which the data synchronization instance resides.
Find the destination instance.
You can filter instances by task name, instance ID, or database instance ID to find the destination instance.

Click the ID of the destination instance.
Modify parameter values
Select the destination instance. For more information, see Select an instance.
Go to the parameter modification page.
You can access the modification interface to make changes as needed.
NoteFor a distributed instance, first click the Full Data Migration or Incremental Write module on the Task Management page. Then, click the corresponding subtask on the Subtask Details tab.
On the Parameter Settings page, you can modify the parameter values.
In the navigation pane on the left, click Parameter Settings.
On the Task Management page, configure parameters.
In the navigation pane on the left, click Task Management.
In the Progress area, click the incremental synchronization or full synchronization module that contains the target parameter.
NoteYou cannot modify parameters in the schema migration module.
Below the module, click the Parameter Settings tab.
Modify the parameter value.
Optional: Click the Modifiable Parameters tab.
Click
in the Parameter Value column for the target parameter.In the Modify Parameters dialog box, configure the parameters and click OK.
NoteThe modifiable parameters may vary based on the DTS instance type, source and destination database types, and the synchronization or migration type selected during instance configuration. The parameters displayed in the console are the most up-to-date. The following table describes common parameters.
Parameter Name
Module
Description
source.connection.idle.secondIncremental synchronization
Incremental migration
The timeout period for connecting to the source database. Unit: seconds. Valid values: [0, 86400]. Default value: 86400.
sink.connection.idle.secondIncremental synchronization
Incremental migration
The timeout period for connecting to the destination database. Unit: seconds. Valid values: [0, 86400]. Default value: 86400.
sink.ignore.failed.ddlIncremental synchronization
Incremental migration
Specifies whether to ignore failed DDL operations. Valid values:
true: The task ignores the failure and continues. This is the default value.
false: The task fails if the DDL execution fails.
sink.batch.enableIncremental synchronization
Incremental migration
Specifies whether to send data in batches. Valid values:
true: Sends data in batches.
false: Does not send data in batches. This is the default value.
source.filter.ddl.enableIncremental synchronization
Incremental migration
Specifies whether to filter DDL operations. Valid values:
true: The incremental task filters DDL operations and continues.
false: The incremental task executes DDL operations as normal. This is the default value.
trans.hot.merge.enableIncremental synchronization
Incremental migration
Specifies whether to enable hot spot merging. Valid values:
true: Enables hot spot merging.
false: Disables hot spot merging. This is the default value.
sink.bulk.copy.enableFull synchronization
Full migration
Specifies whether to enable bulk copy mode when writing data to MySQL or PostgreSQL. Valid values:
true: Enables bulk copy mode. This is the default value.
false: Disables bulk copy mode.
NoteThis parameter must be used with the
sink.worker.typeparameter.sink.worker.typeFull synchronization
Full migration
Configures the data write mode for MySQL and PostgreSQL. Valid values:
stream: Uses the bulk copy write mode. This is the default value.
batch: Uses the PreparedStatement executeBatch write mode. In this case,
sink.bulk.copy.enablemust be set to false.
NoteThis parameter must be used with the
sink.bulk.copy.enableparameter.sink.batch.size.maximumFull synchronization
Full migration
The maximum number of rows that a write thread can write to the destination database in a single batch. Valid values: [0, 1024]. Default value: 1024.
sink.batch.size.minimumFull synchronization
Full migration
The minimum number of rows that a write thread can write to the destination database in a single batch. Valid values: [0, 1024]. Default value: 128.
source.mongodb.id.type.uniqueFull synchronization
Full migration
If the source database is MongoDB, specifies whether the data type of the primary key
_idis unique within the same collection. Valid values:true: Unique. During the full task phase, DTS does not scan the data type of the primary key in the data to be synchronized or migrated.
false: Not unique. This is the default value. During the full task phase, DTS scans the data type of the primary key in the data to be synchronized or migrated.
Optional: Modify the values of other target parameters.
NoteClick Revoke. In the prompt box that appears, click OK to undo all uncommitted changes.
Click Apply Changes and then click OK in the pop-up dialog box.
NoteCurrently, only the Take Effect Immediately option is supported, and it is selected by default.
View parameter modification history
Select the destination instance. For more information, see Select an instance.
In the navigation pane on the left, click Parameter Settings.
Click the Modification History tab.
Select the time range for the query.
NoteBy default, parameter modification records from the last seven days are displayed.
When you select a time range, the value on the left is the start time and the value on the right is the end time.
Only submitted parameter value modifications are recorded.