db-sharding 发表于 2019-01-17 更新于 2020-09-11 分类于 database 1. 如何分表分库 12 1.1. 主键生成方式 2. 聚合 2.1. 排序 如果没有 order by, 每次查询出的结果循序将不同.