Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert SP takes Forever
Message
De
25/02/2016 11:31:53
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Versions des environnements
SQL Server:
SQL Server 2008 R2
Divers
Thread ID:
01632022
Message ID:
01632066
Vues:
40
J'aime (1)
>http://blogs.lessthandot.com/index.php/datamgmt/dbprogramming/best-practice-don-t-not-cluster-on-uniqu/


Just one note (and I know you know this Naomi, but it's more for Frank). Certainly using newsequentialid will reduce fragmentation - but it can ONLY be used in a DDL statement for a default value. No DML statement or outside app can ever use newsequentialid. Also, newsequentialid will only provide uniqueness within the database, not globally. (Though newid itself isn't 100% full-proof for global uniqueness either)

I wish they'd never allowed clustered indexes on random uniqueidentifer values. It would have prevented tons of headaches over the years.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform