简体   繁体   English

DynamoDB 自适应扩展如何重新平衡分区?

[英]How does DynamoDB adaptive scaling rebalance partitions?

In the DynamoDB doc, it is written:在 DynamoDB 文档中,它是这样写的:

If your application drives disproportionately high traffic to one or more items, adaptive capacity rebalances your partitions such that frequently accessed items don't reside on the same partition.如果您的应用程序为一个或多个项目带来不成比例的高流量,自适应容量会重新平衡您的分区,以便经常访问的项目不会驻留在同一分区上。

My question is:我的问题是:

what exactly is meant by “rebalance”? “再平衡”到底是什么意思?

Are some items copied to a new partition and removed from the original one?是否将某些项目复制到新分区并从原始分区中删除?

Does this process impact performance?这个过程会影响性能吗?

How long does it take?多久时间?

Items are split across two new partitions.项目分为两个新分区。 The split initiates when the database decides there's been enough sustained traffic in a spread pattern where a split would be beneficial, and then the split itself takes a few minutes.当数据库确定有足够的持续流量以拆分有益的传播模式时,拆分开始,然后拆分本身需要几分钟。 In testing with on-demand tables (where I created synthetic sustained traffic) I've seen the throughput double and then double again, repeating about every 15 minutes.在使用按需表(我在其中创建合成持续流量)进行测试时,我看到吞吐量翻了一番,然后又翻了一番,大约每 15 分钟重复一次。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM