tencent cloud

TDSQL-C for MySQL

Adding a Data Source

PDF
Focus Mode
Font Size
Last updated: 2025-11-20 15:57:14
The analysis cluster supports the multi-source merging capability and currently supports adding data sources including TencentDB for MySQL and TDSQL-C for MySQL instances. This document introduces how to add a data source to the analysis cluster.

Prerequisites

An analysis cluster has been prepared. See Creating an Analysis Cluster.
The cluster status is Running.

Operation Steps

Note:
After an analysis cluster is created, a database account named "txsqlPlugins_analytics_repl" is created by default. This account is used by the analysis cluster to pull data from the data source. Do not delete this account.
During the initial data loading into the analysis cluster, data is pulled from the selected data source, thereby causing slow SQL. Ignore the slow SQL information generated under the "txsqlPlugins_analytics_repl" account.
1. Log in to the TDSQL-C for MySQL console and select MySQL (Analytic Cluster) at the top.
2. Click the target cluster in the cluster list on the left to enter the cluster management page.
3. Select the Data Source List page and click Add Tencent Cloud Database.

4. In the pop-up window, select the source instance and click OK. The analysis cluster supports the multi-source merging capability. For source instance selection, TencentDB for MySQL and TDSQL-C for MySQL instances are supported. The multi-source merging capability does not limit the number of added source instances. When an excessive number of source instances exist, the data synchronization loading efficiency will be affected.
Note:
Analysis clusters support the selection of cross-region source instances. However, if the physical distance between the source instance and the analysis cluster is too long, the synchronization latency will increase.
Resources need to be reserved for data synchronization. Therefore, when you need to add many source instances, it is recommended that the number of CPU cores in your analysis cluster instance specifications be greater than the number of source instances. For example, if the number of CPU cores in your analysis cluster instance specifications is 8, it is recommended to select a maximum of 7 source instances.

5. After adding a data source, you can view the source database type, source instance information, AZ, and access information in the data source list.

FAQs

How to Modify a Data Source?

The operations of modifying a data source are basically the same as adding a data source. In the Data Source Modification pop-up window, you can cancel the selected data by clicking the delete button or add a data source by selecting a source instance.


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback