1. 数据库中间件设计要点
- 要能解析sQL
- 能支持读写分离
- 能支持从库读的负载均衡
- 支持分库操作
- 支持分表操作
- 支持跨库关联查询
- 对事务处理的支持
- 主键ID生成
- 数据源管理
2. 数据库拆分

2.1 垂直拆分

2.2 水平拆分

- 分片规则

2.3 分库分表的技术难点

3. 数据库中间件的两种实现模式
- 客户端模式

- 服务端(代理)模式

4. 常用数据库中间件简介


本文标题:数据库中间件 - 设计要点
本文链接:https://www.haomeiwen.com/subject/ufdczrtx.html
网友评论