Technology Original ·USA

UUID v4 vs v7: which one should go in your primary key?


UUID v4 vs v7: which one should go in your primary key?
Dev Community

If you've used UUIDs as database keys, you've probably used v4: 122 random bits, no meaning, no order. That's great for "nobody can guess the next one" and terrible for one thing: index locality. Why ...

Créez un compte gratuit pour lire l'article complet

Inscription gratuite

Discussion

Connectez-vous pour participer à la discussion

← Toute l'actualité