Better to use a Clustered index or a Non-Clustered index with included columns?

后端 未结 3 1561
北荒
北荒 2021-01-13 16:25

When I look at the execution plan for a particular query I find that 77% of my cost is in a Clustered Index seek.

Does the fact that I\'m using a clustered index m

3条回答
  •  悲&欢浪女
    2021-01-13 17:08

    It depends on how many columns you are talking about, if a couple then yes, a non clustered index will perform better, if you are selecting most of the columns the clustered index is better.

提交回复
热议问题