性能低、执行时间太长、等待时间太长、连接查询、索引失效。
2、sql语句执行过程(1)编写过程
selectdistinct...from...join...on...where...groupby...having...orderby...limit...
(2)解析过程
from...on...join...where...groupby...having...selectdistinct...orderby...limit...3、sql优化就是优化索引
索引相当于书的目录。
索引的数据结构是B+树。