mysql innodb查询优化

count时,where增加二级索引(非主键索引)会加快count速度

select时,where增加>id(主键ID)会非常快

select时,使用between会加快查询速度

猜你喜欢

转载自www.cnblogs.com/shangshikaiblog/p/9790839.html