当前位置:网站首页>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;




总结
边栏推荐
- SQL clock 】 【 daily DAY 21 丨 report the state of the system date of continuous difficulty difficult 】 【
- Draw boxes of WPF screenshots controls and ellipse (4) "imitation WeChat"
- 跨域: 汇总
- DAY 27 daily SQL clock 】 【 丨 within a specified period of time all order products [difficult simple]
- PHP 基础知识
- 【我的OpenGL学习进阶之旅】向量点乘和叉乘的几何意义
- 策略模式替代 if else
- 3D激光SLAM:LeGO-LOAM论文解读---硬件系统部分
- 我和 TiDB 的故事 | TiDB 对我不离不弃,我亦如此
- Codeforces Round #797 (Div. 3)个人题解
猜你喜欢
随机推荐
Pangolin库链接库问题
金仓数据库KingbaseES客户端编程接口指南-JDBC(4. JDBC 创建语句对象)
爱可可AI前沿推介(7.29)
金仓数据库KingbaseES客户端编程接口指南-ODBC(9. 疑难解答)
PHP 基础知识
Basic knowledge of redis database learning - basic, commonly used
【多线程】——Callable创建多线程
QCon大会广州站它来了!独家定制双肩背包等你领取!
[纯理论] YOLOv5
WPF 截图控件之绘制方框与椭圆(四) 「仿微信」
GDB使用详解
DAY 27 丨 daily SQL clock 】 【 every visit to the number of transactions "difficulty difficult - released in advance"
DAY 27 daily SQL clock 】 【 丨 within a specified period of time all order products [difficult simple]
Squarespace 和 WordPress 的区别
金仓数据库KingbaseES安全指南--6.7. GSSAPI身份验证
TiDB升级与案例分享(TiDB v4.0.1 → v5.4.1)
【day04】IDEA、方法
How is the JVM memory model allocated?
TiDB 操作实践 -- 备份与恢复
Codeforces Round #797 (Div. 3)个人题解







![[纯理论] FCOS](/img/a4/f4f28faf5764e1fdebd475e445e2b0.png)