开发者

What are the difference between clustered and a non-clustered index? [duplicate]

开发者 https://www.devze.com 2023-01-29 02:56 出处:网络
This question already has answers here: Closed 12 years ago. 开发者_C百科Possible Duplicate: What are the differences between a clustered and a non-clustered index?
This question already has answers here: Closed 12 years ago.
开发者_C百科

Possible Duplicate:

What are the differences between a clustered and a non-clustered index?

What are the difference between clustered and a non-clustered index?


What are the differences between a clustered and a non-clustered index?

  1. A clustered index is a special type of index that reorders the way records in the table are physically stored. Therefore table can have only one clustered index. The leaf nodes of a clustered index contain the data pages.
  2. A non clustered index is a special type of index in which the logical order of the index does not match the physical stored order of the rows on disk. The leaf node of a non clustered index does not consist of the data pages. Instead, the leaf nodes contain index rows.
0

精彩评论

暂无评论...
验证码 换一张
取 消