rxyz
rxyz

Reputation: 163

Performance of DynamoDB with single item

I have a DynamoDB setup with a single item, so there is only one partition. How does the rcu/wcu be divided? Since I have a single partition, will all the rcu and wcu be used by the one partition?

Upvotes: 1

Views: 135

Answers (1)

Balu Vyamajala
Balu Vyamajala

Reputation: 10333

No of partitions doesn't just depend upon the size(1 partition for 10GB), it also depends on the provisioned rcu and wcu. If you provision 1000 rcu , 1000 wcu , it will use 2 partitions (1000rcu/3000 + 1000wcu/1000) Then, each partition will get half of RCU and half of WCU which is 500rcu and 500wcu per partition.

and yes, if there is only one partition entire rcu and wcu will be used by that partition.

But with Adaptive Capacity, unused rcu/wcu will be distributed to hot partitions, with which we don't have to worry about hot partitioning unless we endup consuming more than provisioned.

Upvotes: 2

Related Questions