Add a synchronization object

更新时间:
复制 MD 格式

DTS lets you add synchronization objects to a running data synchronization task without reconfiguring the task.

Important

This procedure applies to the previous DTS console. For the new console, go to Modify synchronization objects.

Prerequisites

  • The data synchronization task is in the Synchronizing or Synchronization Failed state.

  • The source and destination databases must be running. Do not perform upgrades, specification changes, network switches, or cross-zone migrations on them.

Usage notes

Synchronization behavior for new objects depends on whether initial data synchronization is configured:

  • If not configured, DTS synchronizes only incremental data starting from the current time.

  • If configured, DTS first performs schema synchronization and full data synchronization, then synchronizes incremental data.

Procedure

  1. Log in to the DTS console.

  2. In the left-side navigation pane, click Data Synchronization.

  3. At the top of the Data Synchronization page, select the region of your synchronization instance.

  4. Find your synchronization task. In the Actions column, choose More > Reselect Objects.

  5. Optional: Specify whether to perform schema synchronization and full data synchronization for the new object.

    Important

    This setting applies only to the newly added objects.

  6. In the Source Objects section, select the object and click the Right arrow icon to move it to the Selected Objects section.

    Important
    • To use object name mapping, move the object from the Selected Objects section to the Source Objects section, add it back to the Selected Objects section, and configure the mapping. Otherwise, the mapping does not take effect.

    • You cannot add synchronization objects at the column level.

  7. Click Precheck and Start.

    Note
    • DTS runs a precheck after you modify synchronization objects. The task starts only after the precheck passes.

    • If the precheck fails, click the Prompt icon next to the failed item for details. Fix the issue and rerun the precheck.

  8. After the precheck passes, data synchronization begins.