DynamoDB manages data in a way that is easier and more efficient than other relational databases. It gives us data types and representations that can be used when managing information in this database.

Structure of storage

DynamoDB is a powerful database that stores information without creating relationships among entities. Basically, it only involves a table where information is stored. Every table has the following minimum number of components:

  1. Items: These are the records that are stored.
  2. Attributes: They represent the columns that each record has.
  3. Partition key: These act as the identifier of a record and have to be unique across all tables.
  4. Sort key: This key is optional and, as its name suggests, allows us to sort the information stored in our table.

The image below shows what a table looks like in DynamoDB:

Get hands-on with 1200+ tech skills courses.