Module 6: Adding a database layer Flashcards
what are considerations when adding a database layer?
-Scalability
-Storage requirements
-Data characteristics
-Durability
Benefits of Relational vs benefits of non relational databases (No SQL)
Relational:
Ease of use, Data integrity, reduced data storage, Common language.ACID compliant
Non relationnal:
Flexible, scalable and high performance
Use case for non relationnal database (NoSQL)
Fast access, and high read and write throughput. Efficient when considering a caching option to improve read performance, storing Json files or requiring millisecond retrieval.
Use case for relational
The workload involves transactional processing, optimized for structured data stored in table and supports complex queries. Best low effort solution to many use cases.
Is there only one type of NoSQL database
No. There is document based, graph based, key-value, in memory, search…Can be structured, semi structured or unstructured. Each object can have its own structure.
Amazon Database options for Relational databases
Amazon RDS
Amazon Database option for non relational databases
Dynamo DB
Neptune
Elasticache
What does vertically scaling the databse means?
Expand the resources the server uses to increase capcity. (update memory, storage, computing power) Main issue: downtime.
What does scalling horizontall means
Increase the number of server the database runs on. Can be done while running = No downtime.
RDS compatibilities
Aurora:
1) Mysql
2) Postgresql
RDS:
1)mysql
2)mariaDB
3)postgresql
4)Oracle
5)SQL server
What os the relation between RDS end EBS?
RDS uses EBS for database and log storage. Allowing you to scale the storage capacity to the database instance
Whar can help make RDS Available and durable ?
Multi AZ deployment and read replicas
How can you make RDS more secure?
Using VPC,
IAM;
Security groups tocontro IP,
SSL or TLS connections;
Encrypt with an AWS KMS;
Use the security feature of your DB engine
Advantage of RDS vs on permise?
No need to provision and maintain
An RDS can contain several isolated database environments with multiple user-created database . TRUE or FALSE ?
TRUE