Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing PK from non-clustered to clustered
Message
From
07/07/2016 01:13:58
 
 
To
06/07/2016 18:57:13
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01637980
Message ID:
01638005
Views:
57
>Based on that, you *should be* ok to make it a clustered index. One thing I haven't seen mentioned here. A clustered index is really a physical storing of the data in index order. You can insert, but it could mean rewriting a large portion of data.
>
>>The ID is an Identity column. If a user creates an order it is (ID) automatically set to the next ID sequential number. If user does not save the newly created record, the "missed" number will never be inserted.

Exactly - if the definition of the clustered index represents a level of randomness when inserting new rows, you potentially wind up with index fragmentation, which can really impact performance.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform