← Back home

DynamoDB

Created: 2025-07-31 | Updated: 2025-07-31

What is DynamoDB

ACID stands for four key properties of a reliable database transaction:

Transaction means a group of read/write operations that must be processed together. In DynamoDB, a transaction ensures either all the changes succeed or none happen at all, across one or more items (even across tables).

Components of DynamoDB

Table

A table is a collection of items.

Item

An item is a collection of attributes.

Attribute

An attribute is a fundamental data element, which does not need to be broken down any futher.

Primary Key

Each item in the table has a primary key, which is an unique identifier of each item.

So there are two different kinds of primary keys:

Partitions

A partition is an allocation of storage of a table, backed by SSDs, it is automatically repolicated across mutiple AZ within an AWS Region.

Partition key(hash attribute)

Sort key(range attribute)

Identifying items in DynamoDB

Troubleshoots