今天的mysqlperformanceblog中,http://t.cn/8FFLGue 提到mysql 5.6中,如果sql中连接n多表(例子中是21个表),可以设置t optimizer_search_depth = 0 参数,比以往版本的快多了