MySql下的Explain 中的TYPE, Extra

TYPE: system > const > eq_ref > ref > range > index > all

EXTRA: 

Using where(标明使用了where过滤);

Using temporary(九死无生);

Using filesort(九死一生);

Using index(发财了);

Using join buffer(表明使用了连接缓存,比如说在查询的时候,多表join的次数非常多,那么将配置文件中的缓冲区的join buffer调大一些);

Impossible where(where子句的值总是false,不能获取任何值);

猜你喜欢

转载自www.cnblogs.com/effortfu/p/12180592.html
今日推荐