Reputation: 4552
I could not find it on AWS doc (or I just miss that).
Is the throughput (write/sec) defined in AWS based on items stored on a single partition? (so if I do my partition better can give me more write)
or just based on an ideal partition (so if my partition is bad, say only have 1 partition, I can never reach the write/sec for my table? )
Thanks for reading. Help me please~
Upvotes: 0
Views: 100
Reputation: 10056
Throughput (write/sec) defined in AWS is for all partitions.
if your throughput is 1000 (write) and you have 10 partitions and if all items distributed the same between partitions, then you will get 100/10 = 10 write capacity for each partition
if items have bad distribution (one partition has 'hot' keys, or more keys then another), the this partition can get more capacity, but its mean that other partitions will get less capacity.
if you have only partition, then all your write throughput is on this partitions (no matter how keys distributed inside this partition)
Upvotes: 2