Help Center/ Data Admin Service/ User Guide/ TaurusDB/ Table Structure Comparison and Synchronization (Not Promoted)
Updated on 2025-03-24 GMT+08:00

Table Structure Comparison and Synchronization (Not Promoted)

This section describes how to check the structure difference by comparing and synchronizing table structures when you perform a migration or verification.

Prerequisites

To create a table structure comparison and synchronization task, you need to toggle on Save SQL first so that DAS can store your data. If you do not toggle on Save SQL, you cannot create table structure comparison and synchronization tasks.

Procedure

  1. Click in the upper left corner and select a region and project.
  2. Click in the upper left corner, and under Databases, click Data Admin Service.
  3. In the navigation pane on the left, choose Development Tool.
  4. Locate the DB instance that you want to log in to and click Log In in the Operation column.
  5. On the top menu bar, choose Structure Management > Table Structure Comparison and Synchronization.

    Search for tasks by task status and view task details.

  6. On the displayed page, click Create Task in the upper left corner.
  7. On the displayed page, specify the source database, target instance, target database, error tolerance, and synchronization type. Click Next.
  8. View comparison objects and click Compare.
  9. View the comparison progress. In the comparison item list, click View Logs in the Operation column to obtain comparison details. You can also click Download DDL as needed.
  10. Click Next. On the Synchronize page, view basic information about this comparison task, such as the source instance, source database, target instance, target database, and synchronization type, and specify the items to be synchronized.
  11. Skip synchronization items that may cause high risks and click Synchronize.
  12. After synchronization is complete, click View Logs in the Operation column to obtain comparison details. You can download DDL as required.