There are basically three core components of a DynamoDB table: tables, items, and attributes:
- Tables: DynamoDB stores data in an entity called a table. A table consists of a set of data; for example, the following screenshot shows how you can store employee information in a DynamoDB table.
- Item: A table consists of multiple items. An item consists of a group of attributes. An item is like a record or row in an RDBMS table. In the following screenshot, you can see the data of two employees. Each employee's data represents an item in DynamoDB.
- Attributes: An item in a table consists of multiple attributes. An attribute is the basic data element of an item. It is similar to a field or a column in an RDBMS. However, unlike the case in an RDBMS, attributes in a table item can have sub-attributes. You can see that in the following screenshot, the address attribute...