开发者社区 问答 正文

有关mysql索引命中问题

29
where语句中attachment_type为1时候是全表扫描,索引无法命中
30
attachment_type为2的时候,索引就命中了,attachment_type是附件类型
求大神帮忙分析一下

展开
收起
落地花开啦 2016-02-11 15:58:13 2673 分享 版权
1 条回答
写回答
取消 提交回答
  • 喜欢技术,喜欢努力的人

    cardinality的问题?

    2019-07-17 18:40:48
    赞同 展开评论