Covering Indexes question

  • Greetings,

    One simple question regarding the concept behing the Covering Indexes technique. I understood the explanation and purpose (to improve performance of the query plan by not needing to perform additional lookups through the heap or clustered table), but one thing bothers me: How is the data retrieved stored at the nonclustered index, since the leaf level contains only clustering keys or row locators? I thought this was possible only with the clustered index that has actually data pages on the leaf level.

    Thanks

  • Included columns are stored alongside the clustered index key lookup information at the leaf level, thus widening the storage for that index. It's a powerful tool, but easy to abuse.


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply