Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8450429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:57:59+00:00 2026-06-10T10:57:59+00:00

I have been reading in many SQL books and articles that selectivity is an

  • 0

I have been reading in many SQL books and articles that selectivity is an important factor in creating index. If a column has low selectivity, an index seek does more harm that good. But none of the articles explain why. Can anybody explain why it is so, or provide a link to a relevant article?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T10:58:01+00:00Added an answer on June 10, 2026 at 10:58 am

    From SimpleTalk article by Robert Sheldon: 14 SQL Server Indexing Questions You Were Too Shy To Ask

    The ratio of unique values within a key column is referred to as index
    selectivity. The more unique the values, the higher the selectivity,
    which means that a unique index has the highest possible selectivity.
    The query engine loves highly selective key columns, especially if
    those columns are referenced in the WHERE clause of your frequently
    run queries. The higher the selectivity, the faster the query engine
    can reduce the size of the result set. The flipside, of course, is
    that a column with relatively few unique values is seldom a good
    candidate to be indexed.

    Also check these articles:

    • Check this post by Pinal Dave
    • this other on SQL Serverpedia
    • This forum post on SqlServerCentral can help you too.
    • This article on SqlServerCentral also

    From the SqlServerCentral article:

    In general, a nonclustered index should be selective. That is, the
    values in the column should be fairly unique and queries that filter
    on it should return small portions of the table.

    The reason for this is that key/RID lookups are expensive operations
    and if a nonclustered index is to be used to evaluate a query it needs
    to be covering or sufficiently selective that the costs of the lookups
    aren’t deemed to be too high.

    If SQL considers the index (or the subset of the index keys that the
    query would be seeking on) insufficiently selective then it is very
    likely that the index will be ignored and the query executed as a
    clustered index (table) scan.

    It is important to note that this does not just apply to the leading
    column. There are scenarios where a very unselective column can be
    used as the leading column, with the other columns in the index making
    it selective enough to be used.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been reading many articles trying to understand the difference between functional and
I have been reading many posts that describe my problem but I cannot find
I am completely new to Android development and have been reading many articles on
I have been reading about model inheritances in django and have found that many
I have been reading up on the changes that .NET4.5 will bring, and on
I have been reading so many topics here about this, but I could not
I have been reading numerous books on iPhone development and doing the examples but
I have been reading this article: Many ways to communicate with your database using
I've been reading lots of questions at stackoverflow that have made my life easier,
I have been reading many topics on this subject, a drop down menu which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.