多重分表分库一般解决方案
摘要:1 设 d个地区,每个地区c个集群,每个集群b个库,每个库a个表 index=hash % (a*b*c*d) 地区所在:index/(a*b*c) index=index % (a*b*c) 集群所在:index/(a*b) index=index % (a*b) 库所在:index/(a) in
阅读全文
posted @ 2020-04-06 22:32
posted @ 2020-04-06 22:32
posted @ 2020-01-20 23:16
posted @ 2019-11-29 13:45
posted @ 2019-10-24 14:28