Universally Unique Identifiers, also known as UUIDs, are designed to allow developers to generate unique IDs in a way that guarantees uniqueness without knowledge of other systems. These are especially useful in a distributed architecture, where you have a number of systems and databases responsible for creating records. You might think that using UUIDs as a primary key in a database is a great id
![The problem with using a UUID primary key in MySQL — PlanetScale](https://cdn-ak-scissors.b.st-hatena.com/image/square/998dd5c4fd379a9846f877310e293cd4b8aed6b2/height=288;version=1;width=512/https%3A%2F%2Fplanetscale.com%2Fassets%2Fblog%2Fcontent%2Fthe-problem-with-using-a-uuid-primary-key-in-mysql%2Fthe-problem-with-using-a-uuid-primary-key-in-mysql-social.jpg)