Updated on 2023-03-28 GMT+08:00

Table Structure Comparison and Synchronization

Scenarios

When you perform a migration or verification, you can check the structure difference by comparing and synchronizing table structures.

Procedure

  1. On the top menu bar, choose Structure Management > Table Structure Comparison and Synchronization.

    Search for tasks by task status and view task details.

  2. On the displayed page, click Create Task in the upper left corner.
  3. On the displayed page, specify the source database, target instance, target database, error tolerance, and synchronization type. Click Next.

  4. View comparison objects and click Compare.

    You can also select the items you want to skip and click Skip to cancel the comparison.

  5. 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.

  6. Click Next. On the Synchronize page, view the 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.
  7. Skip synchronization items that may cause high risks and click Synchronize.

  8. After synchronization is complete, click View Logs in the Operation column to obtain comparison details. You can download DDL as required.