Clustered index
- For table only
- Faster to read than non-clustered because data is physically stored in the index
Nonclustered Index
- Can be used many times for a table.
- Faster for insert and update operations than clustered index
Both types of indexes improve performance when selecting data with fields that use the index, but slow down the update and insert operations.
the difference is that a clustered index is unique to any given table, and we can only have one clustered index in a table. The leaf level of the clustered index is the actual data, and the data is applied to the clustered index. If in a non-clustered index , the sheet level is actually a pointer to the data in the rows, so we can have as many non-clustered indexes in the database as possible.
Sanchit
source share