Relational Database Services (RDS) and Dynamo DB Flashcards
Two main categories of databases?
- Relational databases know as “SQL”
2. Non-relational databases known as “NoSQL”
Amazon’s service for SQL databases?
Relational Database Service (RDS)
Amazon’s service for NoSQL databases?
DynamoDB
What is RDS?
Relational Database Service (RDS)
Simplified Definition:
RDS is a SQL database service that provides a wide range of SQL database options to selet from.
SQL Options Include:
- Amazon Aurora
- MySQL
- MariaDB
- PostgreSQL
- Oracle (several Oracle options are available)
- Microsoft SQL Servicer (several Microsoft options are available)
AWS Definition:
Amazon RDS is a web serivce that makes it easier to set up, operate, and scale a relational database in the cloud. It provides cost-efficient, re-sizable capacity while automating time-consuming administration tasks such as hardware provisioning, database setup, patching, and backups. It frees you to focus on your applications so you can give them the fast performance, high availability, security, and compatibility they need.
What are the 6 RDS SQL database options?
- Amazon Aurora
- MySQL
- MariaDB
- PostgreSQL
- Oracle (several Oracle options are available)
- Microsoft SQL Servicer (several Microsoft options are available)
What is DynamoDB?
Simplified Definition:
DynamoDB is a NoSQL database service. Unlike RDS, DynamoDB does NOT provide other NoSQL software options.
DynamoDB can replace (or is very similar to):
- MongoDB
- CassandraDB
- Oracle NoSQL
AWS Definition:
Amazon DynamoDB is a fast and flexible NoSQL dabase service for all applications that need consistent, single-digit millisecond latency at any scale. It is a fully managed cloud databse and supports both document and key-value store models. Its flexible data model, reliable performance, and automatic scaling throughput capacity makes it a great fit for mobile, web, faming, ad tech, IoT, and many other applications.
What are the differences between SQL and NoSQL?
- Storage:
- RDS (SQL) stores related data in tables (columns and rows)
- DynamoDB (NoSQL) stores data in JSON-like, name-value documents. [Data is in between brackets in paragraph format] - Typical Use:
- RDS (SQL) is typically used for very structured data, such as contact lists.
- DynamoDB (NoSQL) is typically used for non-structured data such as catagloging documents. [movie data example]
What are the key points/benefits of RDS?
- For when you need a SQL database option.
- Easy to set up, highly available, fault-tolerant, and scalable.
- Used when data is clearly defined.
- Common use cases include online stores and banking systems.
What are the key points/benefits of DynamoDB?
- For when you need a NoSQL database option.
- Fast, highly scalable, and fully managed.
- Used when data is fluid and can change.
- Common use cases include social networks, web analytics.