🦖

Dynamo DB

Owner
Verification
Tags
Last edited time

NoSQL massive scale no disk space size with Provisioned or On demand capacity

Reads can be eventually or strongly consistent , backup + point in time recovery

😶
Table has a Primary Key composed of Partition Key and (optional) Sort Key. Each item has 400kb of attributes.

can define Index (LSI local secondary index) at creation to query a specific item

can set TTL to expire a row

Streams: react to changes in Dynamo to trigger Lambda for every update o

can enable streams > Kinesis > ES

Global tables to replicate tables cross regions - need to enable streams

DAX - solves Hot Key problem , 5 mim TTL , up to 10 nodes, multi AZ

Reserved Capacity to reduce costs. allows users to pay a one-time fee and commit to a minimum usage level over a period of time, as well as the ability to drop the DynamoDB table containing biometric data after it is stored in S3.

Errors

ProvisionedThroughputExceededException

WCU exceeded due to high request rate. Increase table WCU to solve.

Each PutItem request consumes 1 WCU (1 write/sec for 1KB item).