logoalt Hacker News

phoronixrly • yesterday at 5:50 PM • 2 replies • view on HN

Wow... That is some nitpicking... The major issue these UUIDs solve for me is the fact that using a random UUID as a primary key of a relational database leads to horrible performance...

It has never crossed my mind to decode the timestamp from them so I save myself a 12-byte column, neither has it crossed my mind to have them monotonic in a distributed system...


Replies

alexchamberlain • yesterday at 6:36 PM

The author is in DevSecOps (i understand the Sec part...) - nitpicking is in the job description.

mahboi • yesterday at 6:39 PM

Serial PK solves this too, better actually cause it's smaller

➕ show 1 reply