Hacker News new | past | comments | ask | show | jobs | submit login
The Problem with Using a UUID Primary Key in MySQL (planetscale.com)
3 points by rareitem 2 hours ago | hide | past | favorite | 1 comment





One approach I didn't see discussed here is storing the UUID across 2 columns as 2 64 bit integers and forming a composite primary key. There's still tradeoffs with this as with all the methods but depending on use case it's viable way to do it.



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

Search: