Settings

Theme

The Problem with Using a UUID Primary Key in MySQL

planetscale.com

3 points by rareitem a year ago · 1 comment

Reader

elmerfud a year 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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection