Hacker News Clone
new
|
comments
|
show
|
ask
|
jobs
|
submit
|
github repo
login
The Problem with Using a UUID Primary Key in MySQL
(
planetscale.com
)
3 points
by
rareitem
2 hours ago
|
hide
|
past
|
web
|
1 comment
| favorite
elmerfud
1 hour ago
[-]
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.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
reply