As has been discussed many times and is a well-known fact - the presence of a clustered index in the uniqueidentifier primary key column in the sql server will affect performance.
What I would like to do is to observe this problem by releasing inserts and measuring certain indicators. I have 2 tables with a unique PK identifier; one with "newid ()" by default, and the other with "newsequentialid ()" as the default value. I plan to insert about a million rows in each and monitor INSERT performance.
What should I request, in particular? How can I best observe performance gains when using sequential GUIDs at random GUIDs? Are there certain system views, stored procedures that provide statistics about index page splits and / or other relevant information?
source
share