Clustered and Non-Clustered Index
What is the difference between a clustered and a non-clustered index?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Joginder BangerRank #360 · 7K reputationPosted Feb 21, 2015, 9:16 AM EST
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 and this is usually made on the primary key. 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.
There can be as many as 249 nonclustered index per table
Prasham SabadraRank #116 · 19.3K reputationPosted Feb 21, 2015, 7:02 PM EST
NitinRank #455 · 5.5K reputationPosted Feb 21, 2015, 9:37 PM EST
Here are the main differences between them: