Skip to content

Commit

Permalink
Merge pull request #510 from qiuker521/patch-1
Browse files Browse the repository at this point in the history
fix sharding name typo error
  • Loading branch information
flike authored Dec 28, 2019
2 parents 2839e01 + 9fb0919 commit e5cad20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/KingDoc/kingshard_sharding_introduce.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
然而kingshard较好地实现了这种典型的需求。简单来说,kingshard的分表方案采用两级映射的方式:

1.kingshard将该表分成512张子表,例如:test_0000,test_0001,...
test_511
test_0511
2.将shardKey通过hash或range方式定位到其要操作的记录在哪张子表上。
3.子表落在哪个node上通过配置文件设置。

Expand Down

0 comments on commit e5cad20

Please sign in to comment.