有多少做汽车的网站/宁波seo快速排名
文章目录
- 一、ShardingSphere-Proxy实现分表
- 二、ShardingSphere-Proxy架构
- 三、ShardingSphere-Proxy分表原理
- 1.库分析
- 2.表分析
- 3.数据分片原理
一、ShardingSphere-Proxy实现分表
将product表分成product-0和product-1的步骤如下:
1、创建数据库
创建数据库hmms
2、在hmms数据库中使用脚本创建创建user表
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS <