-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 5.6.0-HF09
-
Fix Version/s: None
-
Component/s: Core VCS
-
Environment:MS SQLServer
-
Tags:
In MS SQLServer a table should have both a PK and a clustered index.
The clustered index is used to arrange data on disk.
By default the PK is the clustered index.
Having the clustered index on hierarchy.id has a performance impact because it fragment the data.
We should set the clustered index on another column.
More info
http://ask.sqlservercentral.com/questions/1147/should-my-primary-key-be-clustered.html
- duplicates
-
NXP-10934 Use better clustered indexes on SQL Server
- Resolved