3 ms·
>I imagine if we used only UUIDs we would have to double or triple our database infrastructure I think you're greatly exaggerating how big UUIDs are compared t
by gruez 9y ago
>I imagine if we used only UUIDs we would have to double or triple our database infrastructure
I think you're greatly exaggerating how big UUIDs are compared to ints. The upper bound is 4x, and that's if your table is keys only, with no other data. That falls down to 2x if you're using bigints. In a typical user table with a bunch of other fields, like a username + password hash, the storage used by the keys is quickly dwarfed by the storage used for "other data".