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
Procedure
- Log in to the DAS console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner, and under Databases, click Data Admin Service.
- In the navigation pane on the left, choose Development Tool.
You can also click Go to Development Tool on the overview page.
- Locate the DB instance that you want to log in to and click Log In in the Operation column.
- On the top menu bar, choose Structure Management > Table Structure Comparison and Synchronization.
Search for tasks by task status and view task details.
Figure 2 Structure management
- On the displayed page, click Create Task in the upper left corner.
- On the displayed page, specify the source database, target instance, target database, error tolerance, and synchronization type. Click Next.
Figure 3 Creating a task
- View comparison objects and click Compare.
- 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.
Figure 4 Viewing logs
- 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.
- Skip synchronization items that may cause high risks and click Synchronize.
Figure 5 Synchronizing items
- After synchronization is complete, click View Logs in the Operation column to obtain comparison details. You can download DDL as required.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot