This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-12
Channels
- # beginners (4)
- # boot (58)
- # braid-chat (9)
- # cider (19)
- # clojure (26)
- # clojure-austin (8)
- # clojure-berlin (1)
- # clojure-poland (2)
- # clojure-russia (238)
- # clojurescript (22)
- # core-async (2)
- # cursive (6)
- # datomic (32)
- # emacs (5)
- # hoplon (1)
- # jobs (10)
- # keechma (1)
- # ldnclj (2)
- # off-topic (5)
- # om (7)
- # onyx (4)
- # proton (1)
- # re-frame (10)
- # reagent (5)
- # ring-swagger (10)
Hi, I have been thinking for some time about using UUIDs as primary keys in databases. Right now I turned away from it and use a normal integer as primary key + add a second column UUID which I expose to the client. The problem is that I will always have to get a reference to the object in the database by UUID until I can do some joins on the ID. I wonder what the performance implications are referencing or searching for UUIDs in a database (indexed or not). Are there any papers on that? Posts? Some other docs?
uuids tend to have a randomish distribution, which can be problematic for preformance (can bypass caches at different levels)