84669 personnes étudient
152542 personnes étudient
20005 personnes étudient
5487 personnes étudient
7821 personnes étudient
359900 personnes étudient
3350 personnes étudient
180660 personnes étudient
48569 personnes étudient
18603 personnes étudient
40936 personnes étudient
1549 personnes étudient
1183 personnes étudient
32909 personnes étudient
高性能mysql上说 using where 意味着mysql服务器将在存储引擎检索行后再进行过滤。
第一次我做如下的explain
我的理解是这次查询在存储引擎层就使用了where,所以不用在mysql服务器层过滤。
第二次explain
这里为什么还有using where?不是已经在存储引擎层做了过滤了吗?
第三次explain
varchar类型的查询,无论用=、like都会有using where。这里应该也是在存储引擎层就过滤好了吧?
闭关修行中......
过滤都在服务器层过滤的吧,除非Extra出现using index condition。
过滤都在服务器层过滤的吧,除非Extra出现using index condition。