Overview
DynamoDB is AWS's fully managed, serverless NoSQL database: you design tables around partition and sort keys, and AWS handles sharding, replication across three AZs, backups and capacity. It shines when access patterns are known up front and you need predictable latency from one request per second to millions, which is why it sits behind much of Amazon.com and countless serverless apps. The price of that predictability is data modelling discipline (single-table design, GSIs) and very limited ad-hoc querying. Global tables now offer multi-region strong consistency as well as the classic last-writer-wins mode.
Strengths & trade-offs
Strengths
- +Consistent single-digit-millisecond latency regardless of table size
- +Truly serverless: no instances, patching, or capacity planning in on-demand mode
- +Global tables with multi-region writes and an optional strongly consistent mode
- +Deep AWS integration: Lambda triggers via Streams, IAM fine-grained access, zero-ETL to Redshift and OpenSearch
- +Point-in-time recovery up to 35 days and on-demand backups built in
Trade-offs
- −Queries must follow the key design; ad-hoc filtering and joins are impractical
- −400 KB item size limit and 1 MB page size for queries and scans
- −Costs can spike with hot partitions, scans, or large GSIs
- −Hard AWS lock-in; the API is only partly reproduced elsewhere (ScyllaDB Alternator)
- −Transactions are capped at 100 items and cost double the capacity units
Great for
- +Serverless application backends on Lambda
- +User profiles, sessions and shopping carts
- +High-traffic e-commerce and gaming state
- +IoT device state and metadata
- +Event-sourced systems using DynamoDB Streams
Think twice for
- −Ad-hoc analytics and reporting
- −Highly relational data with many joins
- −Multi-cloud or on-prem deployments
- −Full-text search
Capabilities
Native or official first-party support · 11 of 25 tracked
Scale & consistency
- Comfortable data size
- Massive · Multi-PB
- Horizontal scaling
- Native
- Multi-region
- Active active
- Transactions
- Limited ACID
- Consistency
- Strong, Eventual
- Schema
- Schemaless
- Architecture
- Distributed, Serverless
- Query languages
- DynamoDB API, PartiQL
Automatic partitioning with no practical table size limit; global tables replicate writes across regions.
Deployment
available on · AWS
Ecosystem
Alternatives to Amazon DynamoDB
C++ rewrite of Cassandra with shard-per-core design; also speaks the DynamoDB API.
amazon-dynamodb vs scylladb →Masterless wide-column database built for always-on writes across data centers.
amazon-dynamodb vs apache-cassandra →Microsoft's globally distributed, multi-API NoSQL and vector database with SLA-backed latency.
amazon-dynamodb vs azure-cosmos-db →Google's managed wide-column store, the original Bigtable, with HBase API and SQL access.
amazon-dynamodb vs google-cloud-bigtable →Serverless document database with realtime listeners, offline SDKs and a new Enterprise edition.
amazon-dynamodb vs google-cloud-firestore →MongoDB's own multi-cloud DBaaS, bundling search, vector search and stream processing.
amazon-dynamodb vs mongodb-atlas →Amazon DynamoDB FAQ
What is Amazon DynamoDB?
Amazon DynamoDB is a key-value database by Amazon Web Services, first released in 2012. DynamoDB is AWS's fully managed, serverless NoSQL database: you design tables around partition and sort keys, and AWS handles sharding, replication across three AZs, backups and capacity. It shines when access patterns are known up front and you need predictable latency from one request per second to millions, which is why it sits behind much of Amazon.com and countless serverless apps. The price of that predictability is data modelling discipline (single-table design, GSIs) and very limited ad-hoc querying. Global tables now offer multi-region strong consistency as well as the classic last-writer-wins mode.
Is Amazon DynamoDB open source?
No. Amazon DynamoDB is proprietary, closed-source software.
Does Amazon DynamoDB support ACID transactions?
Partly. Amazon DynamoDB offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong, eventual consistency.
Does Amazon DynamoDB scale horizontally?
Amazon DynamoDB scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at massive scale (Multi-PB). It supports active-active multi-region writes.
How can I run Amazon DynamoDB?
You can use the vendor's managed cloud and run it serverless. It is available on AWS.
What is Amazon DynamoDB best for?
Amazon DynamoDB is a strong fit for serverless application backends on Lambda; user profiles, sessions and shopping carts; and high-traffic e-commerce and gaming state. Think twice for ad-hoc analytics and reporting.
What are the best alternatives to Amazon DynamoDB?
Common alternatives to Amazon DynamoDB include ScyllaDB, Apache Cassandra, Azure Cosmos DB, Google Cloud Bigtable and Google Cloud Firestore. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
How popular is Amazon DynamoDB?
Amazon DynamoDB ranks #14 of 844 databases on the WhichDB Score (63.3/100), and #2 among key-value databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.