Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Why I'm not fan of UUIDs in databases (depesz.com)
1 point by fanf2 on Feb 26, 2020 | hide | past | favorite | 1 comment


This is poor analysis.

First, everything is a tradeoff. This article doesn't mention why they'd want to use UUIDs, so the conclusion is meaningless.

Second, the drawbacks listed are not valid if the database is designed correctly. No, you can't sort by UUID, but you don't need to. You can add a "created_at" column for that.

There are much better analyses of UUID tradeoffs elsewhere.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: