How do you calculate the storage size of a SimpleDB domain?
- by C. Dragon 76
The official documentation states:
Raw byte size (GB) of all item IDs +
45 bytes per item + Raw byte size (GB)
of all attribute names + 45 bytes per
attribute name + Raw byte size (GB) of
all attribute-value pairs + 45 bytes
per attribute-value pair
What is the raw size of an attribute-value pair? Is it precisely the size of the value? (I would expect so, but then why is it worded "attribute-value pair"?) Or is it the size of the attribute name plus the size of the attribute value? (In that case, there would be motivation to give your attributes really short names.)
For example, what is the size of the tiny domain below?
+---------------------------------------------------------+
| Item Name/ID | "Price" attribute | "Calories" attribute |
|--------------+-------------------+----------------------|
| "apple" | "0000.43" | "0046" |
| "orange" | "0000.70" | "0053" |
+---------------------------------------------------------+