+ 6
What is the difference between clustered and non clustered index in SQL?
2 Respuestas
+ 3
With a clustered index the physical (on disk) order and the logical order of the data in a table are the same. Every time you edit/change order of the rows they are rearranged on disk.
With unclustered index the data refers to another table that contains pointers to the physical data written on the disk. It's slower to read, 'cause it has to find the pointer first and then the data.
+ 3
#Gleb described the speed advantage of clustered index. The advantage of non-clustered index is that you can have many of them, whereas there can be only one clustered.