AWS Dynamo not auto-scaling back down

做~自己de王妃 提交于 2020-01-03 08:16:27

问题


Here are the parameters I have set on the table:

And here is what I see for the capacity over time.

Why is it remaining at 25 write units? Shouldn't it go down to 5 write units (the minimum set)?


回答1:


That's because of this note from AWS DynamoDB AutoScaling documentation:

Currently, Auto Scaling does not scale down your provisioned capacity if your table’s consumed capacity becomes zero. As a workaround, you can send requests to the table until Auto Scaling scales down to the minimum capacity, or change the policy to reduce the maximum provisioned capacity to be the same as the minimum provisioned capacity.

In your case, the consumed capacity went down to 0 between 8:00 to 10:00, so the provisioned capacity remained at 25.




回答2:


Auto Scaling for dynamo DB will now scale down your provisioned capacity if your table’s consumed capacity becomes zero. This eagerly awaited announcement was made on 8th Nov 2018. The official docs are yet to be updated.

Reference

I tested that it works:



来源:https://stackoverflow.com/questions/47910861/aws-dynamo-not-auto-scaling-back-down

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!