red888
red888

Reputation: 31642

what happens to partitions when I reduce a dynamo tables throughput?

Amazon's doc has nothing to say about this which makes me nervous.

It explains how partitions are created when I increase throughput and size, but what happens when I reduce throughput and size? Do I scale up and have a bunch of partitions and then scale down and STILL have a bunch of partitions?

This would be really bad because if I scale up a lot and then scale way down I would have many partitions sharing my read/write capacity.

Upvotes: 3

Views: 644

Answers (2)

Jagajeet Kuppala
Jagajeet Kuppala

Reputation: 1

Points to note while reducing the Throughput,

  • It will reduce the RCU/WCU per partition also
  • This might result in Throttling, even when capacity used is lesser than table's provisioned capacity.

The illustration & solution is explained here

Upvotes: 0

Eyal Ch
Eyal Ch

Reputation: 10056

Exactly as you thought. nothing happens. When reducing throughput, nothing happen to dynamodb partitions. If you get a situation were a bunch of partition created, the only way to "decrease" them back, is to do migration (create new table and copy data)

Upvotes: 2

Related Questions