|
|
|
|
|
by marcosdumay
1622 days ago
|
|
While the problem on the article is less of an issue in Postgres (the indexing cache locality is still there), they are still slower than the serial ones. I don't know if you save enough problems by using them as alternative keys in Postgres for it to be faster, my guess is that just using them as primary key would be faster than a serial primary key and an UUID alternative one. Still, UUIDs are much more useful as client-facing data than as a pure database value, so I would also do that (and standardize my PK format), probably paying a performance penalty. |
|