2 ms·
UUID is 128 bits. Even for huge tables 64 bits are enough. And for many tables 32 bits is more than enough.
by vbezhenar 2y ago
UUID is 128 bits.
Even for huge tables 64 bits are enough. And for many tables 32 bits is more than enough.
- cbsmith 2y agoOh, 32-bits is enough for a lot of tables assuming you have a transactional ID allocator. The whole reason to have a UUID is so you don't have to serialize all your ID allocation. Agreed though that for some lower volume systems, 64-bits is likely enough to make collisions statistically unlikely.