当前位置:网站首页>[MYCAT] Introduction to MYCAT
[MYCAT] Introduction to MYCAT
2022-07-24 05:53:00 【Why don't you laugh】
Mycat
Mycat What is it?
Mycat It's database middleware , Used to connect to java Program and database
Why Mycat
- java Tightly coupled with database
- High access and high concurrency pressure on the database
- Read / write data requests are inconsistent
Mycat What can be done
1. Read / write separation

2. Data fragmentation
Vertical slice ( sub-treasury )、 Horizontal slice ( table )、 vertical + Horizontal split ( Sub database and sub table )

3. Multiple data source integration

Mycat principle
Mycat The most important verb in the principle of is " Intercept ", It intercepts what the user sent SQL sentence , First of all, SQL The statement does some specific analysis : Such as fragment analysis 、 Route analysis 、 Read write separation analysis 、 Cache analysis, etc , And then put this SQL Real database sent to the back end , And will return the results to do the appropriate processing , And finally back to the user .

In this way, the distributed database is decoupled from the code , Programmers can't detect that it is used in the background Mycat still MySQL
边栏推荐
- 《统计学习方法(第2版)》李航 第十三章 无监督学习概论 思维导图笔记
- Multi merchant mall system function disassembly lecture 04 - platform side merchants settling in
- The method of using bat command to quickly create system restore point
- Loss after cosine annealing decay of learning rate
- 如何在网页上下载视频
- 快速打开管理工具的命令
- A small problem in labelme to VOC code
- Jupyter notebook选择conda环境
- [activiti] activiti introduction
- json.dumps()函数解析
猜你喜欢

字符串方法以及实例

Typora 安装包2021年11月最后一次免费版本的安装包下载V13.6.1

Introduction to PC mall module of e-commerce system

《统计学习方法(第2版)》李航 第22章 无监督学习方法总结 思维导图笔记

DeepSort 总结

Multi merchant mall system function disassembly lecture 05 - main business categories of platform merchants

Mysqldump export Chinese garbled code

‘Results do not correspond to current coco set‘

YOLOv5学习总结(持续更新)
![Brief introduction of [data mining] cluster analysis](/img/9b/3484cf1353686d38dcf32e845b1903.jpg)
Brief introduction of [data mining] cluster analysis
随机推荐
《机器学习》(周志华)第一章 绪论 笔记 学习心得
Subsystem technology and ecology may memorabilia | square one plan launched, Boca launched xcm!
@Async does not execute asynchronously
第五章神经网络
Multi merchant mall system function disassembly lecture 09 - platform end commodity brands
【深度学习】手写神经网络模型保存
国内外知名源码商城系统盘点
Likeshop single merchant mall system is built, and the code is open source without encryption
"Statistical learning methods (2nd Edition)" Li Hang Chapter 16 principal component analysis PCA mind map notes and after-school exercise answers (detailed steps) PCA matrix singular value Chapter 16
[activiti] activiti system table description
谷歌/火狐浏览器管理后台新增账号时用户名密码自动填入的问题
绘制轮廓 cv2.findContours函数及参数解释
How to quickly recover data after MySQL misoperation
统计信号处理小作业——瑞利分布噪声中确定性直流信号的检测
主成分分析计算步骤
Could not load library cudnn_cnn_infer64_8.dll. Error code 126Please make sure cudnn_cnn_infer64_8.
Erp+rpa opens up the enterprise information island, and the enterprise benefits are doubled
推荐一款完全开源,功能丰富,界面精美的商城系统
【USB Host】STM32H7 CubeMX移植带FreeRTOS的USB Host读取U盘,USBH_Process_OS卡死问题,有个值为0xA5A5A5A5
多商户商城系统功能拆解04讲-平台端商家入驻