數(shù)據(jù)庫(kù)分表可以解決單表海量數(shù)據(jù)的查詢性能問(wèn)題,分庫(kù)可以解決單臺(tái)數(shù)據(jù)庫(kù)的并發(fā)訪問(wèn)壓力問(wèn)題。
分庫(kù)分表目前有很多的中間件可供選擇,最常見(jiàn)的是使用淘寶的中間件Cobar。
GitHub地址:https://github.com/alibaba/cobara
文檔地址為:https://github.com/alibaba/cobar/wiki
地址:http://blog.csdn.net/xlgen157387/article/details/53976153
https://zhuanlan.zhihu.com/p/24036067