Skip to content

DynamoDB Consumed Capacity is incorrect when CLI makes multiple requests #2958

@dastbe

Description

@dastbe

Hi!

We've noticed that when we perform a ddb count query from the CLI and have it return consumed capacity, the CLI is internally making multiple requests and aggregating the counts across queries. However, it's not also aggregating the consumed capacity. This leads to some odd results like counting 40,000 4kb records and only using 126.5 capacity units.

Looking into it a bit more, it looks like this is where the issue is (not assuming its as simple as removing ConsumedCapacity from non-aggregate keys =D).

cli version: 1.11.160

Metadata

Metadata

Assignees

No one assigned

    Labels

    dynamodbfeature-requestA feature should be added or improved.p3This is a minor priority issuepaginator

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions