Hacker News
new
past
comments
ask
show
jobs
points
by
Tostino
7 hours ago
|
comments
by
tossandthrow
5 hours ago
|
next
[-]
I use the null uuid as primary key - never had any DB scaling issues.
reply
by
petalmind
5 hours ago
|
parent
|
[-]
Yeah, no NULL is ever equal to any other NULL, so they are basically unique.
reply
by
Groxx
4 hours ago
|
parent
|
[-]
You are also guaranteed to be able to retrieve your data, just query for '... is null'. No complicated logic needed!
reply
by
RedShift1
4 hours ago
|
prev
|
[-]
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.
reply