Criteria | GUIDs | Seq. GUIDs | BIGINT | INT |
Storage | 16 bytes | 16 bytes | 8 bytes | 4 bytes |
Insert/Update performance | Slowest | Comparable but the index keys are larger in size. For wider tables, this would be slower than Integer values. | Faster than sequential GUIDs | Fastest |
Hotspot contention | Very rare | Yes | Yes | Highest, due to smaller size of RIDs |
Fragmentation/Page Splits | High | Minimal | Minimal | Minimal |
JOIN Performance/SORT operations | Least performance (Rank 4 = Least performance) | Better than random GUIDs due lesser fragmentation (Rank: 3) | High performance (Rank: 2) | High Performance (Rank: 1) |
Logical reads | Rank 4=Highest | Rank 3 | Rank 2 | Rank 1=Least |
Merging data across servers | Beneficial | Beneficial | Difficult | Difficult |
Uniqueness | Rare chance of duplicates | Globally unique. Virtually no chance of collisions | Limited by range of BIGINT | Limited by range of INT |
مطالب مشابه
- اشتراکها
زبانها و مهارتهای برنامه نویسی و جنسیتهای جویندگاناشتراکها
بررسی کارآیی Span در C# 7.2اشتراکها
FastEndpoints؛ جایگزینی دیگر برای Minimal APIs در دات نت 6اشتراکها
ایدههایی برای بالابردن کارآیی زبان #Cبازخوردهای دوره
تهیه کوئری بر روی ایندکسهای Full Text Searchمطالب
آشنایی با Row_Number،Rank،Dense_Rank،NTILEمطالب
آشنایی با CLR: قسمت دوازدهممطالب
پیاده سازی Full-Text Search با SQLite و EF Core - قسمت دوم - کوئری گرفتن از جدول مجازی FTSمطالب
کوئری نویسی در EF Core - قسمت پنجم - اعمال تجمعی - بخش دومنظرات مطالب
نحوهی مشاهدهی خروجی SQL تولید شده توسط WCF RIA Services