我在许多SQL书籍和文章中都读到,选择性是创建索引的重要因素。如果列的选择性低,那么索引查找的好处就更大。但是这些文章都没有解释原因。谁能解释为什么会这样,还是提供指向相关文章的链接?

最佳答案

从Robert Sheldon撰写的SimpleTalk文章中:14 SQL Server Indexing Questions You Were Too Shy To Ask



还要检查以下文章:

  • 通过Pinal Dave
  • 检查this post
    SQL Server上的
  • this other
    SqlServerCentral上的
  • This forum post也可以为您提供帮助。
  • 在SqlServerCentral上的
  • This article

  • 从SqlServerCentral文章:

    关于sql - 选择性在索引扫描/搜索中的作用,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/12155853/

    10-11 19:34