Definition of Clustered and Non-Clustered Index.

In SQL server there are two kinds of indexes, one is clustered and other is non-clustered indexes.

Clustered Index = Clustered index reorders the records in other way from which they are physically stored. It can have only one clustered index. The leaf node of clustered index contains the data pages.

Non–Clustered Index = A non-clustered index stores the logical order of the records which doesn’t match the physical stored orders of the rows. The leaf nodes of a non-clustered index do not consist of data pages but it contains the index of rows. Each index row contains non-clustered key value and one or more row locators points to the data rows having key value.


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: