uuid primary keys are a great idea in relational databases.
But in a nosql db like DynamoDb, it is dumb idea because it guarantees no query can meaningfully use the physical sort order of the data- optimally a dynamodb is only queried by the physical sort key.
Post
July 22, 2019