Hacker News new | ask | show | jobs
.NET: Avoid Using Guid.CreateVersion7 (gist.github.com)
2 points by sdrapkin 214 days ago
1 comments

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.