Hi
What are the difference between clustered and a non-clustered index in SQL Server ?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Karthika QptPosted Apr 18, 2016, 3:26 AM
A non-clustered index requires separate storage than the table storage to store the index information.
Jignesh TrivediPosted Jul 12, 2012, 7:16 AM
Nonclustered indexes have the same B-tree structure as clustered indexes, with two significant differences:
The data rows are not sorted and stored in order based on their nonclustered keys.
The leaf layer of a nonclustered index does not consist of the data pages.
Clustered indexes sort and store the data rows in the table based on their key values.
Please refer
http://www.codeproject.com/Articles/173275/Clustered-and-Non-Clustered-Index-in-SQL-2005
http://www.sql-server-performance.com/forum/threads/cluster-and-non-cluster-index.6667/
hope this will help you.
Satyapriya NayakPosted Jul 12, 2012, 6:24 AM
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.
A nonclustered 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 nonclustered index does not consist of the data pages. Instead, the leaf nodes contain index rows.
Thanks