索引不会包含有NULL值的列
来源:5-2 MySQL创建高性能的索引考察点
qq_神忘_03495758
2017-10-30
老师我在网上搜索资料时看到,索引不会包含有NULL值的列,你的课程中说的是column is null可以使用索引,请问这两句话有没有矛盾
写回答
1回答
-
B-tree索引 is null不会生效,
相反is not null会生效
而BitMap索引在 is null和 is not null 的情况下都可以生效
132017-12-27
相似问题