Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 如何将在k8s上部署的两个tidb集群实现数据同步
[TiDB Usage Environment] Testing
[TiDB Version] v6.5.0
[Reproduction Path] Operations performed that led to the issue
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]
There is a requirement to synchronize data between a specific database in two TiDB clusters deployed on k8s, such as synchronizing database ‘a’ in cluster A with database ‘b’ in cluster B. It seems that there is no relevant technology mentioned in the official documentation, so I would like to seek help from the experts here.
TiCDC can be used, but BR must be enabled first to initialize the data (to achieve a complete data copy). TiCDC only supports incremental data.
Cluster A → Cluster B
Does TiCDC support schema and table routing? I’m not quite sure.
Can it be synchronized to a single database and a single table, or does it have to be the entire database?
Boss, can this DM tool be used on K8s? I see that the articles all use physical deployment methods, not container deployment.
I saw the k8s documentation, I’ll give it a try.
I took a look, and it seems that the DM tool is mainly used for data migration, not for real-time master-slave data synchronization.
Okay, I’ll test ticdc first. Thanks for the support.
Okay, I’ll try TiCDC first. Thanks for the support.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.