I always just have a uuid column with an index (which is populated with a random uuid) and use that externally for URLs and such. What is the benefit of this over “slightly smaller database”, and that nagging feeling of violating DRY due to each row having two unique constraints/identifiers?
UUIDs aren’t big when stored properly (ie not as strings); I just got over it. Am I missing something?
UUIDs aren’t big when stored properly (ie not as strings); I just got over it. Am I missing something?