QuestionQ19

VerifiedTroubleshooting and Optimization

A developer has an application that uses an Amazon DynamoDB table with a configured local secondary index (LSI). During application testing, the DynamoDB table metrics report a ProvisionedThroughputExceededException error message. The number of requests made by the test suite did not exceed the table's provisioned capacity limits.

What is the cause of this issue?

Explanation

This is the classic 'hot partition' problem in DynamoDB. Provisioned throughput is distributed across partitions based on the partition key. If partition key values are not evenly distributed, some partitions receive disproportionately high traffic and exhaust their capacity units, causing ProvisionedThroughputExceededException even when overall table capacity is underutilized. LSI capacity, retry logic, and IAM permissions are not the root cause.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!