Managed key-value and document database

Amazon DynamoDB

An AWS managed NoSQL database built around partition and sort keys, secondary indexes, selectable capacity modes, and optional global tables.

Editorial verdict

Choose DynamoDB when authoritative data can be modeled around known partition-key access patterns and AWS integration is deliberate. Do not choose it before enumerating reads, writes, item sizes, consistency, indexes, and future access patterns.12

Best for

  • AWS-native systems with high-scale key-based access patterns
  • Authoritative records that fit partition and sort key modeling
  • Teams that want on-demand or provisioned capacity without operating database servers
124

Not ideal for

  • Domains that need ad hoc relational joins and frequently changing query paths
  • Teams unable to design and test partition-key distribution and secondary indexes
  • Projects where AWS coupling or multi-service billing complexity is unacceptable
12
Main trade-off

DynamoDB provides durable managed scale and predictable key operations, but requires early access-pattern design and accepts partition, index, consistency, item-size, capacity-mode, backup, and AWS coupling constraints.1235

Product boundary

Whether the application's authoritative key-addressed data and access patterns justify DynamoDB's partition-key model and AWS operating boundary.

DynamoDB is a durable key-value and document database, not a cache and not a relational store. Data modeling, partition design, indexes, consistency selection, backups, global-table mode, and cost controls remain application architecture decisions.123

For: AWS application teams that can design stable access patterns around partition and sort keys and need managed durable scale

  • New query requirements cannot be served by primary keys or justified secondary indexes.
  • Hot partitions or item-size distribution invalidate the modeled throughput.
  • Strong consistency, transactions, or global-table semantics differ from assumptions.
  • Regional request, storage, backup, replication, and transfer pricing changes the cost case.

Why teams consider Amazon DynamoDB

  • Managed durable writesA successful write is durably persisted, with selectable read-consistency behavior for supported operations.123
  • Capacity-mode choiceOn-demand mode bills requests and scales automatically, while provisioned mode reserves read and write capacity.12345
  • Key and index modelPartition keys, optional sort keys, and secondary indexes support declared access patterns at scale.123

Pricing

DynamoDB pricing varies by AWS Region, Standard or Standard-IA table class, on-demand or provisioned throughput, read consistency, item size, storage, backups, streams, change data capture, global tables, and transfer.45

Variable workloads

On-demand capacity

Billed per read and write request unit consumed, with storage and optional features billed separately; exact prices vary by Region and table class.5

Predictable workloads

Provisioned capacity

Billed for hourly read and write capacity configured, with autoscaling and reserved-capacity options plus separate storage and feature charges.5

Read unit size
4 KB increments with different consumption for eventual, strong, and transactional reads5
Write unit size
1 KB increments with additional consumption for transactional writes5
Pricing checked View official pricing

Amazon DynamoDB vs alternatives

Upstash Redis

Choose when
Choose it when supported Redis data structures, REST access, and request-oriented serverless use are more important than DynamoDB's partition model.
Compared with Amazon DynamoDB
Consistency, compatibility, durability, and cost meters differ from DynamoDB.6

Cloudflare Workers KV

Choose when
Choose it for Cloudflare-native globally distributed reads over infrequently changing values.
Compared with Amazon DynamoDB
Eventual visibility and same-key write limits constrain authoritative mutable data.7

Resources and sources

Official product, policy, and pricing

  • Amazon DynamoDB introduction
    Open
  • DynamoDB core components
    Open
  • DynamoDB read consistency
    Open
  • DynamoDB on-demand capacity mode
    Open
  • Amazon DynamoDB pricing
    Open
  1. 1
    Amazon DynamoDB introduction

    Amazon Web Services · Accessed Official

  2. 2
    DynamoDB core components

    Amazon Web Services · Accessed Official

  3. 3
    DynamoDB read consistency

    Amazon Web Services · Accessed Official

  4. 4
    DynamoDB on-demand capacity mode

    Amazon Web Services · Accessed Official

  5. 5
    Amazon DynamoDB pricing

    Amazon Web Services · Accessed Official

  6. 6
    Upstash Redis getting started

    Upstash · Accessed Official

  7. 7
    Cloudflare Workers KV documentation

    Cloudflare · Accessed Official