当前位置:网站首页>Use of MYCAT
Use of MYCAT
2022-06-12 09:18:00 【A real rookie】
List of articles
Definition : A database middleware
effect
- Read / write separation
- Sub database and sub table : Sub database divides a database into multiple databases , Table splitting is to divide a table with a large amount of data into multiple tables
- Integration of multiple data sources
principle
Mycat The most important verb in the principle of is “ Intercept ”, It intercepts what the user sent SQL sentence , First of all, SQL Did 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 , Finally, it is returned to the user .
install
Installation mode
- rpm The way : need .rpm Installation package , It needs to be installed in sequence
- yum The way : Need to connected to the Internet
- After decompression, you can use
- Compile and install after decompression
Download package
Address :https://github.com/MyCATApache/Mycat-download
Try to use the browser to download , You need to copy the download address to Xunlei to download
Installation command
- decompression :
tar -zxvf Mycat-server-1.6-RELEASE-20161028204710-linux.tar.gz - Copy the extracted to
/usr/local/Under the table of contents :cp -r mycat /usr/local/
conf The configuration file under the directory
- schema.xml: Define logical library , surface 、 Fragment node and so on
- rule.xml: Define fragmentation rules
- server.xml: Define user and system related variables , Such as port, etc
边栏推荐
- 2022 low voltage electrician retraining question bank and online simulation examination
- L1-002 print Hourglass (20 points)
- Selection of interview questions for software testing
- 软件测试基础知识分享,写点你不知道的
- Selenium interview question sharing
- 128. 最長連續序列-哈希錶
- Do you know the meaning behind these questions?
- 机器学习笔记 - 循环神经网络备忘清单
- Es6-- common basic knowledge
- Ceil, floor and round functions
猜你喜欢
随机推荐
After going to the bathroom, I figured out the ES search server
Multi table operation instance
Permission modifiers and code blocks
(十二)交互组件Selectable
Definition of polar angle and its code implementation
Source code and scheme for target recognition, detection and 6D attitude estimation (the most advanced method and data set)
Unittest test framework
Semaphore flow control semaphore
L1-019 who goes first
Basic SQL syntax i
Permutation (greedy strategy)
Solve the problem that when unity is opened, you will be prompted that the project has been opened, but you have not opened it before (it may be closed abnormally before)
软件测试需求分析方法有哪些,一起来看看吧
Cas d'essai et spécification de description des bogues référence
Chapter VI - procedures with multiple segments
Unittest测试框架
Database common interview questions are ready for you
2024. maximum difficulty of the exam - sliding window
Microservice gateway
Flink passes in custom parameters or profiles





