手把手教你SpringBoot、Sharding-JDBC、MyBatis实现多库分表

MySQL设计 在一个物理机的mysql上建立两个库ds0,ds1,每一个库里面建立三个分表的用户表java create database `ds0`; use `ds0`; CREATE TABLE `t_user_0`( id bigint(64) not null auto_increment, user_id bigint(64) not null, city varc
相关文章
相关标签/搜索