UUID v4 vs v7: which should you use in 2026?

v4 is random. v7 is time-sortable. Here's what that means for your database, your caches, and whether you can stop using auto-increment IDs.