← Back
Nick Chapsas July 19, 2024 10m

Don’t Use UUIDs/GUIDs in Databases. Use this Instead

Summary

.NET 9 introduces UUID version 7, a new GUID type designed for chronological sorting. This feature addresses performance issues caused by fragmentation in databases and large data structures, which can be a drawback of traditional UUIDs like v4. The practical takeaway is to leverage UUID v7 for improved database performance and more efficient data indexing by utilizing its time-based sorting capability.

View original episode ↗