后端开发: 数据库分库分表sharding-jdbc

文章目录 原理和开源库 使用方法 准备工具 maven依赖 配置DataSource 原理和开源库 原理: 经过解析sql语句, 根据分库分表的规则,替换掉表名和库名 文档资料 https://github.com/apache/incubator-shardingsphere/ https://shardingsphere.apache.org/java 对应的SQL解析器为SQLParsing
相关文章
相关标签/搜索