Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tidb多租户利用ticdc同步到mysql怎么处理呢?(已解决)
How to handle synchronizing TiDB multi-tenancy to MySQL using TiCDC? MySQL does not support multi-tenancy, so what will happen to the tenants in TiDB when synchronized to MySQL?
The multi-tenant solution in TiDB mainly involves resource control to limit the resource usage of different users. Different tenants essentially have different schemas, allowing different businesses to run stably on a single cluster. Therefore, there are no issues when it comes to MySQL.
The iCDC (TiDB Change Data Capture) component implements real-time data synchronization to MySQL.
TiDB also does not have multi-tenancy.
I don’t understand, why would TiDB’s multi-tenancy affect synchronization to MySQL? Aren’t you synchronizing table data?
You can directly synchronize the business table, there’s no need to synchronize the user table.
Normal synchronization will do, distinguish multiple tenants by different database names.