News for hackers. Stuff that matters.
Re:UUIDs are popular, but bad for performance (2019) by pkulak on Saturday January 08, 2022 @11:36AM (#29853271)
I use crockford 32 to _represent_ my UUIDs, but they are obviously stored as binary. Is the only problem with UUIDs that sometimes they get stored as strings?

The only issue I've had with UUIDs is when they don't sort in increasing chronological order. RDBMSs don't appreciate high insert loads into random points in the index. Take care of that, however, and they're a treat.

Re:UUIDs are popular, but bad for performance (2019) by paulryanrogers on Saturday January 08, 2022 @11:44AM (#29853357)
ULIDs or time prefixed UUIDs are other options.
Re:UUIDs are popular, but bad for performance (2019) by staticassertion on Saturday January 08, 2022 @12:26PM (#29853831)
The linked article discusses the issues - the storage size when encoded as char, as 16byte values, as well as the impact on read/write locality.
Re:UUIDs are popular, but bad for performance (2019) by dpark on Saturday January 08, 2022 @02:48PM (#29855434)
Where does it discuss any of this? It compares base 10/16/32/64. There’s no mention at all of UUIDs or GUIDs.

(Or do you mean the original article, rather than the linked Crockford article?)

Re:UUIDs are popular, but bad for performance (2019) by staticassertion on Saturday January 08, 2022 @03:54PM (#29856129)
I mean the original.
Re:UUIDs are popular, but bad for performance (2019) by mhoad on Saturday January 08, 2022 @11:41AM (#29853324)
Yeah I seem to recall he also mentioned that as an approach.