You are on page 1of 2

==============

DynamoDB
================
No SQL DB
key-value pair and document database
capable of delivering millisecond perfoDArmance at any scale
create a database in the form of a table and start working on it
No instance selection, compute and memory

Amazon DynamoDB Accelerator (DAX) is a fully managed, highly available, in-memory


cache for Amazon DynamoDB

==================================
Consistency Model in Dynamo DB
==================================
Eventual Consistency -- default, When an application writes to the DB, writes take
a short time to reflect
Strong Consistency -- When a read operation is performed in Strong consistency
read, you get the most recent successful writes to the DB

=======================
Throughput Capacity
========================
Provisioned = for predicted work traffic, Auto scaling can be used
On demand = No Capacity Planning, Pay per request

=========================
Indexing in Dynamo DB
============================
Primary key or partition key
Secondary Indexes
Global Secondary indexes (GSI) - different partition key and sort key from
that on the base table
Local Secondary indexes (LSI) - partition key is the same as that on the base
table and a different sort key.

=================
Advantages
==================
unlimited throughput and storage
backed up by AWS and is stored in S3 and can be recovered with no downtime for 35
days.
DynamoDB Accelerator provides an in-memory cache service for faster access.
You can download an offline version, work on it and deploy it in the cloud.

===================
Try out
=====================

Create a Dynamo DB table through AWS CLI, with:

At least one Global Secondary Index


10 read units and 5 write units
KMS encryption enabled

You might also like