Mahtab Alam
Mahtab Alam

Reputation: 1870

DynamoDB unused write Provisioned Capacity

I was checking one of the production dynamodb table in our system, and write provisioned capacity for one of the table was set to 800 units. But seeing the data in the table, seems like data is only written/updated once per month to that table and the table always have 10 to 15 items in it, with max item size around 10 KB.

My doubt is, if we set the read or write capacity units to very high but never or rarely utilize that much capacity will AWS charge for the provisioned capacity or the actual utilized capacity. Not sure but I think AWS will charge for the provisioned capacity ragardless of what is actually used. Just want to clarify this.

enter image description here

Upvotes: 0

Views: 807

Answers (2)

H6_
H6_

Reputation: 32788

They charge for provisioned capacity because they need to provide the underlying infrastructure to fulfill this.

In your case you should consider DynamoDB Autoscaling. Or if your data is updated once per month and you know the date/time you could increase the throughput automatically and scale down after you are finished.

Upvotes: 1

Adrian Cantrill
Adrian Cantrill

Reputation: 11

They charge for the provisioned capacity - which is why its super-important to keep track of it. Also... higher values can cause re-partitioning of the underlying data.. but at 800 this won't impact you.

Upvotes: 1

Related Questions