using index,using where,using temporary,using filesort
1.usingtemporaryusingtemporary使用临时表用来存储中间数据,这个临时表的建立过程是比较耗时的mysql官方文档:Toresolvethequery,MySQLneedstocreateatemporarytabletoholdtheresult.ThistypicallyhappensifthequerycontainsGROUPBYandORDERBYclausest