3 ms·
Your points are true, but UUID is built-in to most databases, and thus the most easy to use and rely upon everywhere (i.e. "id" uuid NOT NULL DEFAULT uuid_gener
by vlucas 5y ago
Your points are true, but UUID is built-in to most databases, and thus the most easy to use and rely upon everywhere (i.e. "id" uuid NOT NULL DEFAULT uuid_generate_v4()). That's why it gets the most use now, and will continue to do so in the future.
PostgreSQL (and other RDBMS) also supports storing and indexing the data in UUIDs in a binary format. With binary, the space and speed concerns are greatly minimized, especially when comparing UUIDs to other randomly generated homegrown strings.