mysql innodb查询优化

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

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

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

posted @ 2018-10-15 14:33  shang@shikai  阅读(354)  评论(0编辑  收藏  举报