News for hackers. Stuff that matters.
Re:UUIDs are popular, but bad for performance (2019) by stillicidious on Saturday January 08, 2022 @10:54AM (#29852800)
That's only part of it, the major problem with classic UUIDs are that writes occur randomly across the entire keyspace. Whether it's represented as a string or in binary, ordering does not change, and so the underlying indexing method must cope with these random orderings at insertion time.

At least btrees perform much worse with random insertions. I don't know how much impact it has on LSM

Re:UUIDs are popular, but bad for performance (2019) by colanderman on Saturday January 08, 2022 @10:56AM (#29852815)
LSMs and fractal trees handle random inserts much better. But you still lose locality of lookups: items generated near each other time-wise are not correlated on disk.