Ends in
00
days
00
hrs
00
mins
00
secs
ENROLL NOW

🎁 Get 20% Off - Christmas Big Sale on All Practice Exams, Video Courses, and eBooks!

Amazon RDS vs DynamoDB

Home » AWS Cheat Sheets » AWS Comparison of Services » Amazon RDS vs DynamoDB

Amazon RDS vs DynamoDB

Last updated on April 10, 2023

 

RDS

DynamoDB

Type of database

Managed relational (SQL) database

Fully managed key-value and document (NoSQL) database

Features

Has several database instance types for different kinds of workloads and supports six database engines – Amazon Aurora, PostgreSQL, MySQL, MariaDB, Oracle Database, and SQL Server.

Delivers single-digit millisecond performance at any scale.

Storage Size

-128 TB for Aurora engine.

-64 TB for MySQL, MariaDB, Oracle and PostgreSQL engines.

-16 TB for SQL Server engine.

Supports tables of virtually any size.

Number of tables per unit

Depends on the database engine

256

Performance

General Purpose Storage is an SSD-backed storage option that delivers at consistent baseline of 3 IOPS per provisioned GB with the ability to burst up to 3,000 IOPS.

Provisioned IOPS Storage is an SSD-backed storage option designed to deliver a consistent IOPS rate that you specify when creating a database instance, up to 40,000 IOPS per database Instance. Amazon RDS provisions that IOPS rate for the lifetime of the database instance. Optimized for OLTP database workloads.

Magnetic – Amazon RDS also supports magnetic storage for backward compatibility.

Single-digit millisecond read and write performance. Can handle more than 10 trillion requests per day with peaks greater than 20 million request per second, over petabytes ofstorage.

DynamoDB Accelerator (DAX) is an in-memory cache that can improve the read performance of your DynamoDB tables by up to 10 times – taking the time required for reads from milliseconds to microseconds, even at millions of requests per second.

You specify the read and write throughput for each of your tables.

Availability and durability

Amazon RDS Multi-AZ deployments synchronously replicates your data to a standby instance in a different Availability Zone

Amazon RDS will automatically replace the compute instance powering your deployment in the event of a hardware failure.

DynamoDB global tables replicate your data automatically across 3 Availability Zones of your choice of AWS Regions and automatically scale capacity to accommodate your workloads.

Backups

The automated backup feature enables point-in-time recovery for your database instance. Database snapshots are user-initiated backups of your instance stored in Amazon S3 that are kept until you explicitly delete them.

Point-in-time recovery (PITR) provides continuous backups of your DynamoDB table data, and you can restore that table to any point in time up to the second during the preceding 35 days. On-demand backups and restore allows you to create full backups of your DynamoDB tables’ data for data archiving.

Scalability

The Amazon Aurora engine will automatically grow the size of your database volume. The MySQL, MariaDB, SQL Server, Oracle, and PostgreSQL engines allow you to scale on-the-fly with zero downtime.

RDS also supports storage auto scaling Reads replicas are available in Amazon RDS for MySQL, MariaDB, and PostgreSQL as well as Amazon Aurora.

Support tables of virtually any size with horizontal scaling.

For tables using on-demand capacity mode, DynamoDB instantly accommodates your workloads a they ramp up or down to any previously reached traffic level. For tables using provisioned capacity, DynamoDB delivers automatic scaling of throughput and storage based on your previously set capacity.

Security

Isolate your database in your own virtual network.

Connect to your on-premises IT infrastructure using industry-standard encrypted IPsec VPNs.

You can configure firewall settings and control network access to your database instances.

Integrates with IAM.

Integrates with IAM.

Encryption 

Encrypt your databases using keys you manage through AWS KMS. With encryption enabled, data stored at rest is encrypted, as are its automated backups, read replicas, and snapshots.

Supports Transparent Data Encryption in SQL Server and Oracle.

Supports the use of SSL to secure data in transit.

DynamoDB encrypts data at rest by default using encryption keys stored in AWS KMS.

Maintenance 

Amazon RDS will update databases with the latest patches. You can exert optional control over when and if your database instance is patched.

No maintenance since DynamoDB is serverless.

Pricing 

A monthly charge for each database instance that you launch.

Option to reserve a DB instance for a One or three year term and receive discounts in pricing, compared to On-Demand instance pricing.

Charges for reading, writing, and storing data in your DynamoDb tables, along with any optional features you choose to enable. There are specific billing options for each of DynamoDB’s capacity modes.

Use cases 

Traditional applications, ERP, CRM, and e-commerce.

Internet-scale applications, real-time bidding, shopping carts, and customer Preferences, content management, Personalization, and mobile applications.

Additional notes:

  • DynamoDB has built-in support for ACID transactions.
  • DynamoDB uses filter expressions because it does not support complex queries.
  • Multi-AZ deployments for the MySQL, MariaDB, Oracle, and PostgreSQL engines utilize synchronous physical replication. Multi-AZ deployments for the SQL Server engine use synchronous logical replication.
  • Tutorials dojo strip

Get 20% Off – Christmas Big Sale on All Practice Exams, Video Courses, and eBooks!

Tutorials Dojo portal

Learn AWS with our PlayCloud Hands-On Labs

Tutorials Dojo Exam Study Guide eBooks

tutorials dojo study guide eBook

FREE AWS Exam Readiness Digital Courses

FREE AWS, Azure, GCP Practice Test Samplers

Subscribe to our YouTube Channel

Tutorials Dojo YouTube Channel

Follow Us On Linkedin

Recent Posts

Written by: Jon Bonso

Jon Bonso is the co-founder of Tutorials Dojo, an EdTech startup and an AWS Digital Training Partner that provides high-quality educational materials in the cloud computing space. He graduated from Mapúa Institute of Technology in 2007 with a bachelor's degree in Information Technology. Jon holds 10 AWS Certifications and is also an active AWS Community Builder since 2020.

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, YouTube, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!

View Our AWS, Azure, and GCP Exam Reviewers Check out our FREE courses

Our Community

~98%
passing rate
Around 95-98% of our students pass the AWS Certification exams after training with our courses.
200k+
students
Over 200k enrollees choose Tutorials Dojo in preparing for their AWS Certification exams.
~4.8
ratings
Our courses are highly rated by our enrollees from all over the world.

What our students say about us?