当前位置:网站首页>TiCDC synchronization delay problem
TiCDC synchronization delay problem
2022-07-29 12:30:00 【InfoQ】
背景介绍

分析解决过程

$ tiup ctl:v5.0.3 cdc changefeed list --pd=http://10.xx.xx.xx:2379
Starting component `ctl`: /home/tidb/.tiup/components/ctl/v5.0.3/ctl cdc changefeed list --pd=http://10.xx.xx.xx:2379
[
{
"id": "xx-xx-task",
"summary": {
"state": "normal",
"tso": 434212451741859960,
"checkpoint": "2022-06-28 09:04:12.360",
"error": null
}
}
]

- Changefeed checkpoint lag:The progress of the upstream and downstream data of the synchronization task is poor(in time)
- Changefeed checkpoint:Synchronize the progress of the task synchronization to the downstream,Under normal circumstances, the green column should be connected to the yellow line
- Sink write duration:TiCDC Time-consuming histogram of writing a transaction's changes to the downstream
The first wave of positioning:在 CDC 或是 TiDB No related anomalies were found at the cluster level;


mysql>show create table reXXX_20220627\G
*************************** 1. row ***************************
Table: reXXX20220627
Create Table: CREATE TABLE `reXXX20220627` (
`pid` int(10) unsigned NOT NULL,
`tid` int(10) unsigned NOT NULL,
....
PRIMARY KEY (`pid`,`mpid`,`mid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPRESSED;
1 row in set (0.00 sec)
mysql>show create table reXXX_20220628\G
*************************** 1. row ***************************
Table: reXXX20220628
Create Table: CREATE TABLE `reXXX20220628` (
`pid` int(10) unsigned NOT NULL,
`tid` int(10) unsigned NOT NULL,
....
PRIMARY KEY (`pid`,`mpid`,`mid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1 row in set (0.00 sec)
Second wave positioning:发现下游 MySQL table structure inconsistency problem;

Third wave positioning:下游 MySQL table structure inconsistency problem,By adjusting the table row format to COMPRESSED It can alleviate the downstream consumption delay problem during peak business hours,But peak time delays still exist;




总结
边栏推荐
- 获取list集合中重复的元素
- 拦截器与过滤器(三)@interface自定义注解拦截
- CSDN TOP1 "a virgo program ape" how to become a blogger, millions of fans writing
- 金仓数据库KingbaseES客户端编程接口指南-ODBC(8. 示例说明)
- piglit_get_gl_enum_from_name 参数遍历
- DAY 22 丨 page daily clock in SQL 】 【 recommend 【 difficulty moderate 】
- 金仓数据库KingbaseES安全指南--6.6. SSL客户端证书认证
- GDB使用详解
- 框架常用注解解释
- Distributed Configuration Center of Infrastructure
猜你喜欢
随机推荐
拦截器与过滤器(三)@interface自定义注解拦截
2.1 Bubble sort (mercifully Sorting)
CSDN TOP1 "a virgo program ape" how to become a blogger, millions of fans writing
吴恩达老师机器学习课程笔记 07 正则化
sleep()方法和wait()方法的区别?安全
TiDB upgrade share with case (TiDB v4.0.1 to v5.4.1)
Pangolin库链接库问题
XSS漏洞分析
Bookkeeping APP: Xiaoha Bookkeeping 3 - Production of Login Page
金仓数据库KingbaseES客户端编程接口指南-JDBC(2. 概述)
2022-07-29日报:AlphaFold最新重大进展:完成几乎所有已知的2亿多蛋白质结构预测,完全开放
How is the JVM memory model allocated?
Basic knowledge of redis database learning - basic, commonly used
nacos集群搭建
1.4, stack
Path dependence - accidental decision to rely on.
【每日SQL打卡】DAY 26丨广告效果【难度简单】
TiCDC Migration - TiDB to MySQL Test
mysql数据库安装(详细)
爱可可AI前沿推介(7.29)






![[纯理论] YOLOv5](/img/c2/6569926228ce763381ab75ef8498fb.png)


