Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: cdc分发器在表有主键的情况下,如何选择分发器
[TiDB Usage Environment] Production Environment
[TiDB Version] v6.1.0
[Encountered Problem: Phenomenon and Impact]
- When CDC is synchronizing a single table with a primary key, should ts or index-values be chosen? Which has better distribution effects, and what are the pros and cons?
- If the primary key is a relatively long varchar value, should ts or index-values be chosen?
- When the table has a primary key and updates are frequent with high concurrent modifications, should ts or index-values be chosen for faster, safer, and more stable synchronization?
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]