英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论