当前位置:网站首页>实时监控Mysql数据库变化_进行数据同步_了解Canal_---Canal工作笔记001
实时监控Mysql数据库变化_进行数据同步_了解Canal_---Canal工作笔记001
2022-07-23 21:41:00 【脑瓜凉】
1.Canal是阿里巴巴旗下的一款开源项目,纯Java开发。
2.由来:阿里巴巴B2B公司,因为业务的特性,卖家主要集中在国内,买家主要集中在国外,所以衍生出了杭州和美国异地机房的需求,从2010年开始,阿里系公司开始逐步的尝试基于数据库的日志解析,获取增量变更进行同步,由此衍生出了增量订阅&消费的业务
3.canal是如何工作的:
- canal 模拟 MySQL slave 的交互协议,伪装自己为 MySQL slave ,向 MySQL master 发送 dump 协议
- MySQL master 收到 dump 请求,开始推送 binary log 给 slave (即 canal )
- canal 解析 binary log 对象(原始为 byte 流)
4.可以简单地把canal理解为一个用来同步增量数据的一个工具
边栏推荐
- Customer exit variable in query
- 给定一个以数字组成的数组,实现输出id为数字,并且从小到大排序的name
- 合宙ESP32C3硬件配置信息串口打印輸出
- 寻找消失的类名
- [attack and defense world web] difficulty four-star 12 point advanced question: confusion1
- Chapter1 data cleaning
- 手机测试相关基础知识
- 数据库压力测试方法小结
- 【愚公系列】2022年06月 .NET架构班 084-微服务专题 Abp vNext微服务通信
- One of QT desktop whiteboard tools (to solve the problem of unsmooth curve -- Bezier curve)
猜你喜欢

Compare kernelshap and treeshap based on speed, complexity and other factors

节流和防抖的说明和实现
![[complex overloaded operator]](/img/ff/aafaa9471a1bd6ef57f6a619449e80.png)
[complex overloaded operator]

High numbers | calculation of triple integral 1 | high numbers | handwritten notes

Protocol buffers 的问题和滥用

Be a professional software craftsman

prime_ series_ level-1

LeetCode_376_摆动序列

High numbers | calculation of triple integral 2 | high numbers | handwritten notes

合宙ESP32C3硬件配置信息串口打印输出
随机推荐
Cluster chat server: how to solve the problem of cross server communication | redis publish subscribe
scala编程(中级进阶实验应用)
集群聊天服务器:Model数据层的框架设计和数据库代码的封装
Chapter 2 Regression
启牛是什么?请问一下手机开户股票开户安全吗?
Flink principle and development summary (detailed)
Scala programming (elementary)
uniapp使用canvas写环形进度条
Openlayers instances advanced mapbox vector tiles advanced mapbox vector maps
LeetCode_ 376_ Wobble sequence
Edge cloud | 1. overview
Cmake learning
Unity - 3D mathematics -vector3
[attack and defense world web] difficulty four-star 12 point advanced question: flatscience
Basic knowledge of mobile phone testing
At 12 o'clock on July 23, 2022, the deviation from the top of the line of love life hour appeared, maintaining a downward trend and waiting for the rebound signal.
Cesium core class viewer viewer details
Detailed explanation of cesium events (mouse events, camera events, keyboard events, scene trigger events)
2022.7.22 js对象
When we talk about Chen Chunhua and Huawei, what are we talking about?