News for hackers. Stuff that matters.
Re:Avoid UUIDv4 Primary Keys by benterix on Monday December 15, 2025 @12:23PM (#46277426)
> The article explicitly argues against the use of GUIDs as primary keys, and I'm arguing for it.

Let's clarify things.

The author argues against UUIDv4 as primary keys when compared to integers or bigints in large databases for performance reasons.

The examples you give refer to the common mistake of using a non-unique attribute that can be changed for a given entity as a primary key.

There are no comments on this comment yet.