我有 8 个使用 UUID 主键的表,其中 7 个使用 UUID 外键。使用 BIGSERIAL 而不是 UUID 对性能会更好吗?
postgresql primary-key uuid
postgresql ×1
primary-key ×1
uuid ×1