Summary
In this chapter, we built some foundation on the NoSQL data modeling theory by looking at the very basic, simple key-value mechanism. We learned how this works in the realm of DynamoDB and how DynamoDB can horizontally scale but still support consistent performance. We also covered how the mapping of keys across partitions works with a telephone directory analogy. We read about singleton operations and how they support the key-value mechanism within DynamoDB.
We covered how database access analyses within the amazon.com retail platform showed findings of 70-90% of access being of the key-value kind. We also learned that there are use cases across industries where the database access is of the key-value kind.
We walked through practical examples of performing singleton GetItem
and PutItem
operations on the sample Employee
table using multiple means such as the AWS CLI, as well as Boto3, the AWS Python SDK.
Finally, we learned about the different data types supported...