Please enable JavaScript.
Coggle requires JavaScript to display documents.
DynamoDB (Features (Supported data models (Document (JSON, XML, HTML), Key…
DynamoDB
Features
NoSQL DB
Supported data models
Document
JSON
XML
HTML
Key-Value
Consistent latency at any scale
Consistency Models
Eventual Consistent Reads (Default)
Strongly Consistent Reads
DAX Accelerator (in-memory write through cache) - to speedup reads. Not for
Strong Consistent
Reads
Transactions (all or nothing operation on multiple items)
TTL
Streams
Query API
Primary Key (mandatory)
Sort Key (optional) to sort & filter
ProjectionExpression (optional) - show only particular attributes
ScanIndexForward (optional) if false - use DESC order instead ASC
All queries Eventually consistent by default
Structure
Tables
Items (Rows)
Attributes (Columns)
Primary Key
Partition Key (hash - unique attribute)
Composite Key (Partition Key + Sort Key)
Indexes
Local Secondary Index
setup on table creation only
partition key - same
sort key - different
Global Secondary Index
create at any time
partition key - different
sort key - different
Scan API
ProjectionExpression
Dumps all table and filters the result (slower)
Capacity
Provisioned (Capacity Units)
On-Demand (Autoscale)
Security
IAM Condition for Access Control