Live data from Hacker News

.NET: Avoid Using Guid.CreateVersion7

gist.github.com

1–3 of 3 posts

Re: .NET: Avoid Using Guid.CreateVersion7

#2
Guid.CreateVersion7 in .NET 9+ claims RFC 9562 compliance but violates its big-endian requirement for binary storage. This causes the same database index fragmentation that v7 UUIDs were designed to prevent. Testing with 100K PostgreSQL inserts shows rampant fragmentation (35% larger indexes) versus properly-implemented sequential GUIDs.