3.9k views
4 votes
DynamoDB: How do you calculate total partitions needed?

(A) Divide the total number of items in the table by the maximum number of items per partition.
(B) Multiply the total number of items in the table by the maximum number of items per partition.
(C) Add the total number of items in the table to the maximum number of items per partition.
(D) Subtract the total number of items in the table from the maximum number of items per partition.

User Pranta
by
8.2k points

1 Answer

4 votes

Final answer:

To calculate the total partitions needed in DynamoDB, divide the total number of items in the table by the maximum number of items per partition.

Step-by-step explanation:

To calculate the total partitions needed in DynamoDB, you would divide the total number of items in the table by the maximum number of items per partition.



For example:



If you have a table with 1000 items and the maximum number of items per partition is 200, you would divide 1000 by 200 to get 5 partitions.



Calculation:



1000 / 200 = 5 partitions

User Magohamote
by
7.7k points