633 Star 2.6K Fork 777

柠檬夕桐 / sequence

 / 详情

根据id进行取模分表,分片数据不均,发生数据倾斜

Backlog
Opened this issue  
2021-09-17 14:42

因为Sequence的生成逻辑:[Seuence类174行]不同毫秒内,序列号置为 1 - 3 随机数
低并发,导致根据id分表,发生数据倾斜。

Comments (0)

xiaoyu.zhang created任务
xiaoyu.zhang set related repository to 柠檬夕桐/sequence
Expand operation logs

Sign in to comment

Status
Assignees
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
参与者(1)
800072 xy z487 1578933179
Java
1
https://git.oschina.net/yu120/sequence.git
git@git.oschina.net:yu120/sequence.git
yu120
sequence
sequence

Search

103111 552b83b3 1850385 103110 ed87a847 1850385