MyCat tutorial 5: implementing database and table division
in this paper, we will introduce the operation of MyCat's sub database and sub table.
Sub library table
I. Introduction to segmentation rules
various segmentation rules supported by myCat are defined in rule.xml.
Mod long
Sharding by month
Sharding by date
Splitting by hour
Range agreement: plan ...
Added by alex.hughson on Fri, 25 Oct 2019 16:46:16 +0300
MySQL Database Cluster--Day6
One: MySQL master-slave configuration
1: MySQL master-slave backup
1.1: Master-slave backup concept
What is master-slave backup: a database application of master-slave mode. Master data is identical with Slave data, which can realize multiple ...
Added by gurroa on Thu, 12 Sep 2019 12:52:46 +0300
Mycat-based database subtables
There are two ways to subtable a database
vertical partitioning A database consists of many tables, each of which corresponds to a different business. Vertical slicing refers to classifying tables by business and distributing them over different databases, thus sharing data or pressure among different libraries.Advantage:
- Clear business an ...
Added by kr3m3r on Sun, 08 Sep 2019 09:07:05 +0300
Source code analysis of database middleware MyCAT: [single library form] query
> Original address: MyCAT Source Analysis: [Single Library Form] Query
> MyCat-Server with annotated address: https://github.com/YunaiV/Mycat-Server
> (vii) This series is updated every 1-2 weeks. You are welcome to subscribe, follow and collect GitHub: https://github.com/YunaiV/Blog
1. Overview
2. Receiving requests and parsing SQ ...
Added by TeddyKiller on Wed, 26 Jun 2019 23:23:57 +0300
mysql Cluster and Read-Write Separation Implementation Scheme (Using mycat Middleware)
1.mycat Download
Official website: http://mycat.org.cn/about.html
2. Create a mycat 1.6 directory and upload the mycat service package
tar -zxvf Mycat-server-1.6-RELEASE-20161028204710-linux.tar.gz
3. Configuration of server. XML
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mycat:server SYSTEM "server.dtd">
<mycat:se ...
Added by MatthewJ on Mon, 24 Jun 2019 00:00:35 +0300
mysql distributed cluster deployment scheme
Distributed MySql Deployment Scheme
Solution
System Environment
mysql master-slave backup
MyCat Middleware Build
haproxy load agent
keepalived for single point failure
mycat-eye monitoring web
Overall structure of experimental environment
supplement
Solution
describe
1. Start mysql master-slave backup
2. Scheduling and routing using ...
Added by iman121 on Tue, 04 Jun 2019 06:05:31 +0300
mysql+mycat read-write separation
Environmental Science
192.168.2.118 mysql-master/mycat
192.168.2.119 mysql-slave
Configure jdk
tar -zxf jdk-8u151-linux-i586.tar.gz
mv jdk1.8.0_151 /usr/java/
Configure environment variables and take effect
vim /etc/profile
export JAVA_HOME=/usr/java/
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export ...
Added by foreknowapparel on Sun, 19 May 2019 01:48:47 +0300
Mycat configures Mysql read-write separation + forced walk-write node + read-write separation based on master-slave delay
Database read-write separation is an indispensable and important function for large-scale systems or high-volume Internet applications. For MySQL, the standard read-write separation is the master-slave mode. A write node Master is followed by multiple read nodes. The number of read nodes depends on the pressure of the system, usually the confi ...
Added by lucilue2003 on Thu, 16 May 2019 22:21:46 +0300