DynamoDB: 分区数增加与每个分区的项数增加的成本影响

huangapple go评论51阅读模式
英文:

DynamoDB: cost implications with more partitions vs items per partition

问题

我想将我的分区设计从一个分区中拥有多个项目迁移到每个项目分布在不同分区的情况下。它们之间没有关联,保持相同大小,并且始终单独提取。

现在我想知道这样做可能会产生额外的成本,例如存储方面。

谢谢

英文:

I want to migrate my partition design from having multiple items in one partition to having each spread across partitions.
They're not related, stay the same size and are always pulled individually.

Now I wonder if this might produce increased costs, for example storage wise.

Thanks

答案1

得分: 1

不会,因为最终你将会存储相同数量的数据。

实际上,你将会有更低的吞吐成本,因为你将会写入和读取更小的数据项,消耗的容量更少。

这篇博客解释了垂直分区的优势。

英文:

No, as you will ultimately be storing the same amount of data.

In-fact you will have a reduced throughput cost as you will be writing and reading smaller items, consuming less capacity.

This blog explains the advantages of vertical sharding.

huangapple
  • 本文由 发表于 2023年2月16日 19:45:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/75471788.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定