Aws DynamoDB

Felix Mulei
2 min readJul 12, 2023

DynamoDB is a NoSQL, fully managed, key-value store database service provided by Amazon Web Services (AWS). It is designed to provide low-latency, high-throughput access to data stored in a distributed, highly available architecture.

DynamoDB stores data in tables, which consist of a collection of items (rows) and attributes (columns). Each item in a table has a unique primary key, which can be either a simple key (e.g., a string or number) or a composite key (e.g., a combination of a partition key and a sort key).

DynamoDB supports two types of primary keys:

  • Partition key (also known as a hash key) — a single attribute that is used to uniquely identify an item in a table.
  • Partition key and sort key (also known as a composite key) — two attributes that are used together to uniquely identify an item in a table.

DynamoDB allows to perform operations such as:

  • PutItem — creates a new item or replaces an existing item in a table.
  • GetItem — retrieves an item from a table by its primary key.
  • UpdateItem — modifies an existing item in a table.
  • DeleteItem — deletes an item from a table by its primary key.

DynamoDB also provides a number of advanced features such as:

  • Secondary indexes — allowing you to query data based on non-primary key attributes.
  • Streams — allowing you to capture changes to data in a table in real-time.
  • Auto Scaling — automatically adjust the provisioned throughput of a table based on the workload.

DynamoDB is a highly scalable, highly available, and low-latency service that is well suited for use cases such as mobile, web, gaming, ad tech, IoT, and many other applications that require a flexible NoSQL database service.

--

--