facebook采取的设计原则是把表设计的竟可能小,但小表岂不是要频繁join,假如根据一张表中的数据再逐一去取另一表数据会导致mysql连接数飞起?
倘若用大表保持一定冗余性,这种情况对与facebook之类sns网站海量数据会不会导致很快进入瓶颈?
ringa_lee2017-04-17 11:41:01
大家讲道理2017-04-17 11:41:01
Personally, I think it is more reliable to split it into small tables and join in memory.