Why is MySQL using the wrong index? And how do you create fast queries…without needing a 'covering index' on all possible combinations of fields?

前端 未结 0 764
遥遥无期
遥遥无期 2021-02-05 13:58

So say I have a table in the following format:

image(
  i char(5) PRIMARY KEY, 
  v INT, 
  s INT, 
  p TINYINT, 
  m TINYINT, 
  d DATE) 

All in

相关标签:
回答
  • 消灭零回复
提交回复
热议问题