-
OpenSearch and DTS instances must be in the same region.
-
When you configure DTS, add the required tables one by one. If multiple databases share one DTS instance, performance might be degraded. For optimal performance, configure a separate DTS instance for each database.
Procedure
-
In the OpenSearch console, go to the instance management page. Select the target application, and then click Configure.
-
Configure the RDS data source connection. For more information, see Configure an RDS data source.
In the Select Data Source dialog box, click the RDS tab. Select the connected database. Click the >> button to move the required table, such as
test_table_1, from the list of tables on the left to the selected list on the right. Then, click OK.ImportantIf the field names in the OpenSearch application match those in the data source, they are automatically mapped. Otherwise, you must add the fields manually.
-
After you configure the application schema and index schema, for data synchronization mode, select Change Tracking Task of DTS.
-
Click Select next to Change Tracking Task of DTS. In the dialog box that appears, enter your DTS instance ID. For information about how to create a DTS instance, see Create an RDS for MySQL change tracking task.
-
Click Verify. The instance state changes to Verifying. When the state becomes Available, click Confirm.
If the instance state is Unavailable, click DTS Console to verify that the DTS instance is running correctly. You can also click Exception Report to view detailed error messages and solutions.
-
When the Application configured successfully message appears, click Back to Application List.