Amazon DynamoDB mindmap
Amazon DynamoDB
Serverless NoSQL database with single-digit millisecond performance at any scale
Data model
Tables, items and attributes
: Items up to 400 KB
Partition key
: Spreads data across partitions; choose high cardinality
Sort key
: Orders items within a partition for range queries
Query and Scan
: Query uses keys; Scan reads the whole table
Capacity modes
On-demand
: Pay per request; no capacity planning
Provisioned
: Set read and write capacity units, with auto scaling
Indexes
Global secondary indexes
: Different partition and sort keys; eventually consistent
Local secondary indexes
: Same partition key, different sort key; created with the table
Consistency and transactions
Eventually consistent reads
: The default, half the cost of strongly consistent reads
Strongly consistent reads
: Return the latest write
Transactions
: All-or-nothing changes across items and tables
Global and streaming
Global tables
: Multi-Region, multi-active replication
DynamoDB Streams
: Ordered item changes for 24 hours
Kinesis Data Streams
: Longer retention and more consumers
Time to Live
: Delete expired items at no write cost
Performance
DynamoDB Accelerator (DAX)
: In-memory cache with microsecond reads
Adaptive capacity
: Absorbs uneven traffic across partitions
Backup and recovery
Point-in-time recovery
: Restore to any second in the recovery window, 1 to 35 days
On-demand backups
: Full backups for long-term retention
Security
Encryption at rest
: Always on; AWS owned, AWS managed or customer managed keys
Fine-grained access
: IAM conditions on keys and attributes
VPC endpoints
: Reach DynamoDB from a VPC through endpoints
All maps
Amazon DynamoDB
Databases
Show outline
Zoom out
100%
Zoom in
Open every topic
Close every topic
Present
Resources
Copy link
More