sharding

MySQL sharding approaches?

…衆ロ難τιáo~ 提交于 2019-11-26 07:51:42
问题 What is the best approach for Sharding MySQL tables. The approaches I can think of are : Application Level sharding? Sharding at MySQL proxy layer? Central lookup server for sharding? Do you know of any interesting projects or tools in this area? 回答1: The best approach for sharding MySQL tables to not do it unless it is totally unavoidable to do it. When you are writing an application, you usually want to do so in a way that maximizes velocity, developer speed. You optimize for latency (time