Amazon DynamoDB
Explore Amazon DynamoDB to understand its fully managed, schemaless NoSQL architecture. Learn about its core components, data consistency models, global tables for multi-region replication, backup options, and the DynamoDB Accelerator for enhanced performance.
Amazon DynamoDB is a fully managed, schemaless NoSQL database service that handles all management tasks, including monitoring the hardware capacity, software updates, and patches. It offers fast and predictable performance and seamless scalability. DynamoDB automatically replicates data across three availability zones in an AWS Region to provide high availability and durability.
It saves us from worrying about data protection by providing an encryption mechanism. We can scale up and down DynamoDB according to the data amount without downtime. It also supports on-demand backup, point-in-time restore, and long-term retention for regulatory compliance.
DynamoDB core components
There are three main components of Amazon DynamoDB that help to store data, maintain ordering and structure, and query the data – table, items, and attributes.
Tables: The table is the main entity, like we have in relational databases. It stores the data about a particular entity/thing in the form of items and maintains relations.
Items: An item is a collection of attributes that describe the item’s properties. An item is unique among the other items. Items are the same as other databases’ records, rows, or tuples. In DynamoDB, we can have unlimited items in a table, and a table can exist without any item. ...