AWS DynamoDB
Alex Carvalho
AWS DynamoDB
Is a key-value and document database that delivers single-digit millisecond performance at any scale. It's
a fully managed, multiregion, multimaster, durable database with built-in security, backup and restore,
and in-memory caching for internet-scale applications.
● DynamoDB was built on the principles in the original Dynamo paper
● Monitoring through CloudWatch
● Maximum item size is 400 KB
● Doesn't have SQL query language available
● Capacity Provisioned and On-demand
● Pay per provisioned capacity and storage usage
● Reads can be eventually consistent or strongly consistent
Queries and Indexes
● Can only query on primary key, sort key, or indexes
● Global secondary index — partition key and a sort key that can be different from those on the base
table, max 5
● Local secondary index — has the same partition key as the base table, but a different sort key, max
5
DAX(DynamoDB Accelerator)
● Fully managed, highly available, in-memory cache
● 10x performance improvement
● Reduces request time from milliseconds to microseconds – even at millions of requests per second
● No need for developers to manage caching logic
● Compatible with DynamoDB API calls
Transactions
● Multiple "all-or-nothing" operations
● Financial transactions
● Fulfilling orders
● Two underlying reads or writes - prepare/commit
● Up to 25 items or 4 MB of data
On-Demand Capacity
● Pay-per-request pricing
● Balance cost and performance
● No minimum capacity
● When table is idle no charge for read/write — only storage and backups
● Pay more per request than with provisioned capacity
● Use for new product launches
Backup and Restore
● On-Demand Backup and Restore
● Full backups at any time
● Zero impact on table performance or availability
● Consistent within seconds and retained until deleted
● Point-in-Time Recovery (PITR)
○ Protects against accidental writes or deletes
○ Restore to any point in the last 35 days
○ Incremental backups
○ Not enabled by default
○ Latest restorable: five minutes in the past
Streams
● Timed-ordered sequence of item-level changes in the table
● Stored for 24 hours
● Inserts, updates and deletes
● Combine with Lamda functions for functionally like stored procedures
Global Tables
● Managed multi-master, multi-region replication
● Globally distributed applications
● Based on DynamoDB streams
● Multi-region redundancy for DR or HA
● No application rewrites
● Replication latency under one second
● Last writer wins reconciliation between concurrent updates
Security
● Encryption at rest using KMS
● Site-to-site VPN
● Direct Connect (DX)
● IAM policies and roles
● Fine-grained acess
● CloudWatch and CloudTrail
● VPC endpoints
Read/Write Capacity Mode and Throughput
that's it...

More Related Content

PDF
An Introduction to Amazon’s DynamoDB
PPTX
Benchmarking Aerospike on the Google Cloud - NoSQL Speed with Ease
PDF
NoSQL and AWS Dynamodb
PDF
Getting Strated with Amazon Dynamo DB (Jim Scharf) - AWS DB Day
PPTX
Bleeding Edge Databases
PDF
Scylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public Cloud
PDF
Enterprise PostgreSQL - EDB's answer to conventional Databases
PDF
What to expect from MariaDB Platform X5, part 1
An Introduction to Amazon’s DynamoDB
Benchmarking Aerospike on the Google Cloud - NoSQL Speed with Ease
NoSQL and AWS Dynamodb
Getting Strated with Amazon Dynamo DB (Jim Scharf) - AWS DB Day
Bleeding Edge Databases
Scylla Summit 2022: ScyllaDB Cloud: Simplifying Deployment to the Public Cloud
Enterprise PostgreSQL - EDB's answer to conventional Databases
What to expect from MariaDB Platform X5, part 1

Similar to AWS DynamoDB (20)

PDF
InfiniFlux vs_RDBMS
PDF
Evolution of DBA in the Cloud Era
PPTX
AWS Database Services
PDF
Cloud arch patterns
PPTX
iFood on Delivering 100 Million Events a Month to Restaurants with Scylla
PPTX
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
PPTX
ClustrixDB at Samsung Cloud
PPTX
Maximizing performance via tuning and optimization
PPTX
Maximizing performance via tuning and optimization
PDF
Introducing the ultimate MariaDB cloud, SkySQL
PDF
Elasticsearch as a time series database
PDF
Proact ExaGrid Seminar Presentation KK 20220419.pdf
PPTX
Cosmos db
PDF
Aerospike Hybrid Memory Architecture
PDF
AWS CLOUD 2018- Amazon DynamoDB기반 글로벌 서비스 개발 방법 (김준형 솔루션즈 아키텍트)
PPTX
Dynamo db and Cross Region Migration
PDF
LDAP at Lightning Speed
PDF
EQUNIX - PPT 11DB-Postgres™.pdf
PPTX
Timesten Architecture
PDF
High-level architecture of a complete MariaDB deployment
InfiniFlux vs_RDBMS
Evolution of DBA in the Cloud Era
AWS Database Services
Cloud arch patterns
iFood on Delivering 100 Million Events a Month to Restaurants with Scylla
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
ClustrixDB at Samsung Cloud
Maximizing performance via tuning and optimization
Maximizing performance via tuning and optimization
Introducing the ultimate MariaDB cloud, SkySQL
Elasticsearch as a time series database
Proact ExaGrid Seminar Presentation KK 20220419.pdf
Cosmos db
Aerospike Hybrid Memory Architecture
AWS CLOUD 2018- Amazon DynamoDB기반 글로벌 서비스 개발 방법 (김준형 솔루션즈 아키텍트)
Dynamo db and Cross Region Migration
LDAP at Lightning Speed
EQUNIX - PPT 11DB-Postgres™.pdf
Timesten Architecture
High-level architecture of a complete MariaDB deployment
Ad

Recently uploaded (20)

PDF
Hybrid model detection and classification of lung cancer
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
Tartificialntelligence_presentation.pptx
PDF
Unlock new opportunities with location data.pdf
PPTX
Modernising the Digital Integration Hub
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPT
Geologic Time for studying geology for geologist
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
Five Habits of High-Impact Board Members
PPTX
Benefits of Physical activity for teenagers.pptx
PPT
What is a Computer? Input Devices /output devices
PPTX
Chapter 5: Probability Theory and Statistics
PDF
STKI Israel Market Study 2025 version august
PDF
A comparative study of natural language inference in Swahili using monolingua...
Hybrid model detection and classification of lung cancer
Final SEM Unit 1 for mit wpu at pune .pptx
sustainability-14-14877-v2.pddhzftheheeeee
Getting started with AI Agents and Multi-Agent Systems
Tartificialntelligence_presentation.pptx
Unlock new opportunities with location data.pdf
Modernising the Digital Integration Hub
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Developing a website for English-speaking practice to English as a foreign la...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Assigned Numbers - 2025 - Bluetooth® Document
Geologic Time for studying geology for geologist
O2C Customer Invoices to Receipt V15A.pptx
Five Habits of High-Impact Board Members
Benefits of Physical activity for teenagers.pptx
What is a Computer? Input Devices /output devices
Chapter 5: Probability Theory and Statistics
STKI Israel Market Study 2025 version august
A comparative study of natural language inference in Swahili using monolingua...
Ad

AWS DynamoDB

  • 2. AWS DynamoDB Is a key-value and document database that delivers single-digit millisecond performance at any scale. It's a fully managed, multiregion, multimaster, durable database with built-in security, backup and restore, and in-memory caching for internet-scale applications. ● DynamoDB was built on the principles in the original Dynamo paper ● Monitoring through CloudWatch ● Maximum item size is 400 KB ● Doesn't have SQL query language available ● Capacity Provisioned and On-demand ● Pay per provisioned capacity and storage usage ● Reads can be eventually consistent or strongly consistent
  • 3. Queries and Indexes ● Can only query on primary key, sort key, or indexes ● Global secondary index — partition key and a sort key that can be different from those on the base table, max 5 ● Local secondary index — has the same partition key as the base table, but a different sort key, max 5
  • 4. DAX(DynamoDB Accelerator) ● Fully managed, highly available, in-memory cache ● 10x performance improvement ● Reduces request time from milliseconds to microseconds – even at millions of requests per second ● No need for developers to manage caching logic ● Compatible with DynamoDB API calls
  • 5. Transactions ● Multiple "all-or-nothing" operations ● Financial transactions ● Fulfilling orders ● Two underlying reads or writes - prepare/commit ● Up to 25 items or 4 MB of data
  • 6. On-Demand Capacity ● Pay-per-request pricing ● Balance cost and performance ● No minimum capacity ● When table is idle no charge for read/write — only storage and backups ● Pay more per request than with provisioned capacity ● Use for new product launches
  • 7. Backup and Restore ● On-Demand Backup and Restore ● Full backups at any time ● Zero impact on table performance or availability ● Consistent within seconds and retained until deleted ● Point-in-Time Recovery (PITR) ○ Protects against accidental writes or deletes ○ Restore to any point in the last 35 days ○ Incremental backups ○ Not enabled by default ○ Latest restorable: five minutes in the past
  • 8. Streams ● Timed-ordered sequence of item-level changes in the table ● Stored for 24 hours ● Inserts, updates and deletes ● Combine with Lamda functions for functionally like stored procedures
  • 9. Global Tables ● Managed multi-master, multi-region replication ● Globally distributed applications ● Based on DynamoDB streams ● Multi-region redundancy for DR or HA ● No application rewrites ● Replication latency under one second ● Last writer wins reconciliation between concurrent updates
  • 10. Security ● Encryption at rest using KMS ● Site-to-site VPN ● Direct Connect (DX) ● IAM policies and roles ● Fine-grained acess ● CloudWatch and CloudTrail ● VPC endpoints
  • 11. Read/Write Capacity Mode and Throughput