DynamoDB waste check
Idle DynamoDB
idle_dynamodb
What it finds
Finds DynamoDB tables that nothing reads or writes, which you keep paying for.
One of the DynamoDB checks, in the database optimization group.
How it is detected
Zero consumed capacity for 14 days, on a table at least 14 days old
Detection confidence: HIGH. This is the criterion from our public docs. It runs in a local scan with your own read-only credentials.
- Signal
- CloudWatch ConsumedReadCapacityUnits and ConsumedWriteCapacityUnits for the table (AWS/DynamoDB)
- Statistic
- Daily Sum
- Window
- 14 days, and the table must be at least that old
- Monthly figure
- Provisioned tables only. The table's provisioned read and write capacity units, each multiplied by its hourly price and by 730 hours. On-demand tables are not flagged.
- How to fix
- Export or back up the table if you might need the data, then delete it.
- In the docs
- This check in the detector reference
AWS's own tools
AWS flags this too, under "Idle recommendation for DynamoDB provisioned tables".
Checked against the AWS documentation.
Run it yourself
Nothing leaves your machine unless you choose to share a summary at the end.