Creating Table Structures in the Destination Database
Currently, only data can be synchronized from the source Oracle database to the destination DDM instance. Source table structures and other objects cannot be synchronized, so you need to create table structures and indexes in the destination database based on the table structures of the source schema. For more details, seePrecautions.
Procedure
- Log in to the management console.
- Click in the upper left corner and select a region and project.
- Click the service list icon on the left and choose Databases > Distributed Database Middleware.
- On the displayed page, enter the username and password created in Creating a DDM Account, and click Test Connection.
- After the connection is successful, click Log In to log in to the DDM instance.
- Click the db_test schema created in Creating a Schema and Associating It with the RDS for MySQL Instance.
- Run the following SQL statements in database db_test to create table table3 with the same structure as the source:
CREATE TABLE `db_test`.`table3`( ID INT, COL01 CHAR(100), COL02 NCHAR(100), PRIMARY KEY(ID));
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