News for hackers. Stuff that matters.
Re:PostgreSQL and UUID as Primary Key by Spivak on Friday July 05, 2024 @08:08PM (#40887181)
> Random UUID's are super useful when you have distributed creation of UUID's, because you avoid conflicts with very high probability and don't rely on your DB to generate them for you

See Snowflake IDs for a scheme that gives you the benefit of random UUIDs but are strictly increasing. Which is really UUIDv7 but fits in your bigint column. No entropy required.

There are no comments on this comment yet.