DynamoDB - Access Patterns and Query Optimization
You designed a DynamoDB table with primary key
{ PartitionKey: 'UserId' } but your app needs to query orders by OrderDate. What is the main problem and how to fix it?