Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TICDC采集延时严重
【TiDB Usage Environment】Issues occurred in both production and testing environments, but the following description pertains to the production environment.
【TiDB Version】5.7.25-TiDB-v5.4.0
【Background】
The production environment has over 6000 databases, each with 85 tables. After enabling TICDC collection, 51 merchants are collected, each with 15 tables, totaling 765 tables.
【Encountered Issues】
The collection delay is significant. When creating new tables in just 10 databases, the delay normalizes after 15 minutes. However, in the aforementioned production environment, delays of up to 1 day have been observed before synchronization returns to normal.
【Reproduction Path】
During the TICDC service process, an action involves deleting 2 tables from over 6000 databases, recreating these 2 tables, and creating indexes on them. This type of operation consistently causes delays.
【Issue Phenomenon and Impact】