16

sharding-jdbc 分库分表的 4种分片策略,还蛮简单的-wx5fa0f5111e9e4的博客

 3 years ago
source link: https://blog.51cto.com/14988994/2546450
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
上文《快速入门分库分表中间件Sharding-JDBC(必修课)》中介绍了sharding-jdbc的基础概念,还搭建了一个简单的数据分片案例,但实际开发场景中要远比这复杂的多,我们会按SQL中会出现的不同操作符>、<、betweenand、in等,来选择对应数据分片策略。往下开展前先做个答疑,前两天有个小伙伴私下问了个问题说:如果我一部分表做了分库分表,另一部分未做分库分表的表怎么处

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK