我创建了一个具有能力模式 on Demand
的DynamoDB表。
我正在对表的全球次级索引进行一些查询,这给了我错误:
在调用查询操作时发生错误(ThrotottlingException)(达到最大检索:2):吞吐量超过一个或多个全局次级索引的当前容量。 DynamoDB正在自动缩放您的索引,因此请尽快重试
我的请求失败了,这还可以,但是我该如何确认我的表容量RCU/WCU是否增加?我也看不到云手表中的任何东西。
I have created a DynamoDB table with capacity mode On-demand
.
I am performing a few queries on the global secondary index of the table which give me errors:
An error occurred (ThrottlingException) when calling the Query operation (reached max retries: 2): Throughput exceeds the current capacity for one or more global secondary indexes. DynamoDB is automatically scaling your index so please try again shortly
My request is failed which is OK but how can I confirm if my table's capacity RCU/WCU increased or not? I am not able to see anything in cloud watch as well.
发布评论
评论(1)
容量在付费per-use 。用请求单位(wru/rru),测量与等效的 aptication unites(wcu/rcu) 付费-per-hour 提供的表容量是可见的(例如,使用
Dridex-Table
API)。基于,分配2倍以前的峰值流量。仅当流量在30分钟内增加两倍以上时,才会发生防流力:
Capacity is opaque in the pay-per-use On-Demand mode. On-Demand mode meters throughput with Request Units (WRU/RRU), which are measured the same as the equivalent Capacity Units (WCU/RCU) of the pay-per-hour Provisioned Throughput mode, for which the provisioned table capacity is visible (e.g. using the
describe-table
API).On-Demand mode scales behind the scenes based on previous peak traffic, allocating 2x previous peak traffic. Throttling should only occur if traffic increases more than double the peak within 30 minutes: