AWS Dynamo 不会自动缩减

AWS Dynamo not auto-scaling back down

以下是我在 table 上设置的参数:

这是我看到的随时间变化的容量。

为什么它保持在 25 个写入单元?它不应该减少到 5 个写入单元(最小值)吗?

那是因为 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.

在您的例子中,消耗的容量在 8:00 到 10:00 之间下降到 0,因此配置的容量保持在 25。

如果您的 table 的消耗容量变为零,发电机 DB 的自动缩放现在将缩减您的配置容量。这一备受期待的公告发布于 2018 年 11 月 8 日。官方文档暂未更新

Reference

我测试过它有效: