THE PROBLEM WITH USING A UUID PRIMARY KEY IN MYSQL
This article goes through the different versions of UUIDs and why using them as a primary key in MySQL can hurt database performance. Using UUIDs as primary keys can lead to slow insert performance, higher storage requirements, and larger index size requirements (since secondary indexes also store primary keys). To mitigate these issues, UUIDs can be stored in a binary format or ordered using UUID v6 or v7.