Comment Comment by benwilber0 > Always use a BigInt (64 bits) or UUID for primary keys.Use bigint, never UUID. UUIDs are massive (2x a bigint) and now your DBMS has to copy that enormous value to every side of a relation.It will bloat your table and indexes 2x for no good reason whatsoever.Never use UUIDs as your primary keys. parent benwilber0 1 year ago
Use bigint, never UUID. UUIDs are massive (2x a bigint) and now your DBMS has to copy that enormous value to every side of a relation.
It will bloat your table and indexes 2x for no good reason whatsoever.
Never use UUIDs as your primary keys.