摘要: zk ( zookeeper )的分布式仅仅指的是备份模式. 分布式 mysql 不仅仅要关注备份(从以往的半主,主主,到 paxos). (mysql 比 hbase 的region成熟, hdfs, mongodb 也还好.) 更要关注表的层面: 如何 split 分表, partition , 阅读全文
posted @ 2017-09-27 13:07 fei33423 阅读(2771) 评论(0) 推荐(0) 编辑
摘要: order表: order type gmt_create type 取值: 0,1 其中0非常多,1非常少. 当查询条件里 select * from order where type=0 and gmt_create > '2017' limit 20; 由于海量数据,可能搜索1千 w 才能得到 阅读全文
posted @ 2017-09-27 12:59 fei33423 阅读(201) 评论(0) 推荐(0) 编辑