Skip to content
qinshan.top
Search
K
Main Navigation
生活
美食
WeMeet
语文
英语
文档
2025
前端
基础
HTML
JavaScript
ES6
TypeScript
jQuery
CSS
BootStrap
ElementPlus
进阶
Vue3
uni-app
后端
基础
JavaSE
JavaEE
Python
设计模式
Spring生态
Spring
SpringBoot
Spring Cloud Netflix
Spring Cloud Alibaba
Spring Security
中间件
MySQL
MongoDB
Redis
RabbitMQ
RocketMQ
SQLite
PostgreSQL
ElasticSearch
Hadoop
运维
Linux
Windows
Jenkins
Docker
K8S
VitePress
Tomcat
Nginx
Problems
工具
SVN
Git
周边
算法图解
面试宝典
牛客
测试系统
主页(Vue)
主页(H5)
Workstation
WS(Vue)
发布中心(H5)
青山学习网(H5)
GHS
静态资源
Appearance
章目录
返回顶部
节目录
第12章 分库分表和读写分离——基于ShardingSphere
12.1 认识ShardingSphere
12.1.1 什么是分布式数据库
12.1.2 什么是ShardingSphere
12.2 将应用接入ShardingSphere JDBC
12.2.1 用四种模式将应用接入Shardingsphere JDBC
12.2.2 【实例】用Spring Boot将应用接入Shardingsphere JDBC并完成分库分表
12.3 “用路由引擎实现分库分表”的原理
12.3.1 绑定分库分表规则和数据库数据源,并初始化路由引擎
12.3.2 拦截SQL语句,并启动路由引擎
12.4 “读写分离”的原理
12.4.1 读取应用配置文件中的数据库据源及读写分离规则
12.4.2 使用ReplicaQuerySQLRouter类的createRouteContext()方法创建读写分离的路由上下文对象RouteContext
12.4.3 使用ReplicaQueryRuleSpringbootConfiguration类加载应用的]负载均衡器ReplicaLoadBalanceAlgorithm对象
12.5 用Netty实现Shardingsphere Proxy的通信渠道
12.5.1 “Shardingsphere Proxy通信渠道”的原理
12.5.2 【实例】搭建通信渠道环境,将Spring Cloud Alibaba应用接入Shardingsphere Proxy
12.6 “使用SQL解析引擎实现Shardingsphere Proxy分库分表”的原理
12.6.1 为什么需要SQL解析引擎
12.6.2 使用命令设计模式实现SQL语句的路由
12.6.3 “使用MySQLComStmtPrepareExecutor类处理SQL请求”的原理
12.6.4 “使用MySQLComStmtExecuteExecutor类处理SQL请求”的原理