logoalt Hacker News

Tostinoyesterday at 5:06 PM2 repliesview on HN

Not OP, but UUID v7 is what you want for most database workloads (other than something like Spanner)


Replies

tossandthrowyesterday at 7:14 PM

I use the null uuid as primary key - never had any DB scaling issues.

show 1 reply
RedShift1yesterday at 7:47 PM

Me still using bigints... Which haven't given me any problems. Wouldn't use it for client generated IDs but that is not what most applications require anyway.