0% found this document useful (0 votes)
182 views

AWS DynamoDB Notes

DynamoDB is a NoSQL key-value and document database that provides millisecond performance at any scale. It uses tables that can be accessed without having to provision compute and memory resources. Amazon DynamoDB Accelerator (DAX) is a fully managed in-memory cache that improves access performance. Consistency can be eventual or strong. Provisioned or on-demand throughput capacity models are available. Primary and secondary indexes like global and local indexes can be created to query the data. Advantages include unlimited storage and throughput, backup to S3 for recovery, and in-memory caching with DAX.

Uploaded by

Joel White
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
182 views

AWS DynamoDB Notes

DynamoDB is a NoSQL key-value and document database that provides millisecond performance at any scale. It uses tables that can be accessed without having to provision compute and memory resources. Amazon DynamoDB Accelerator (DAX) is a fully managed in-memory cache that improves access performance. Consistency can be eventual or strong. Provisioned or on-demand throughput capacity models are available. Primary and secondary indexes like global and local indexes can be created to query the data. Advantages include unlimited storage and throughput, backup to S3 for recovery, and in-memory caching with DAX.

Uploaded by

Joel White
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 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