【问题标题】:Dynamo DB Tables's RCU/WCU is not increasing even after throttle errorsDynamodb 表 RCU/WCU 即使在油门错误之后也不会增加
【发布时间】:2022-06-15 02:02:39
【问题描述】:

我创建了一个容量模式On-demand的发电机数据库表。

我正在对表的全局二级索引执行一些查询,这些查询给了我错误: 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

我的请求失败,这没关系,但我如何确认我的桌子的容量 RCU/WCU 是否增加了?我也无法在 Cloud Watch 中看到任何内容。

【问题讨论】:

    标签: amazon-dynamodb dynamodb-queries amazon-dynamodb-index


    【解决方案1】:

    按使用付费On-Demand mode 中的容量不透明。按需模式使用Request Units (WRU/RRU) 计量吞吐量,其测量方法与按小时付费Provisioned Throughput 模式的等效Capacity Units (WCU/RCU) 相同,其中预置的表容量是可见的(例如,使用describe-table API )。

    按需模式基于 previous peak traffic 在幕后进行扩展,分配 2 倍之前的峰值流量。仅当流量在 30 分钟内增加到峰值的两倍以上时,才应进行节流:

    如果您需要将之前的表峰值提高一倍以上,DynamoDB 会随着流量的增加自动分配更多容量,以帮助确保您的工作负载不会受到限制。但是,如果您在 30 分钟内超过先前峰值的两倍,则可能会发生限制。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-01-12
      • 2018-11-25
      • 2011-11-08
      • 2020-10-14
      • 1970-01-01
      相关资源
      最近更新 更多