This misses the point. The reason not to use UUIDv4 is that having an index on random values is slow(er), because sequential inserts into the underlying B-tree are faster than random inserts. You're hitting the same problem with your `public_id` column, that it's not the primary key doesn't change that.
sgarland|2 months ago
For Aurora MySQL, it just makes it worse either way, since there’s no change buffer.
hnfong|2 months ago
grugdev42|2 months ago