DynamoDB表即使在油门错误之后,RCU/WCU也不会增加

发布于 2025-02-07 04:59:03 字数 258 浏览 3 评论 0 原文

我创建了一个具有能力模式 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

对不⑦ 2025-02-14 04:59:03

容量在付费per-use 。用请求单位(wru/rru),测量与等效的 aptication unites(wcu/rcu) 付费-per-hour 提供的表容量是可见的(例如,使用 Dridex-Table API)。

基于,分配2倍以前的峰值流量。仅当流量在30分钟内增加两倍以上时,才会发生防流力:

如果您需要在桌子上的峰值上增加一倍以上,则DynamoDB会自动分配更多的容量,因为您的流量增加,以帮助确保工作负载不会遇到节流。但是,如果您在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:

If you need more than double your previous peak on table, DynamoDB automatically allocates more capacity as your traffic volume increases to help ensure that your workload does not experience throttling. However, throttling can occur if you exceed double your previous peak within 30 minutes.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文