Databases Flashcards
1
Q
What are DBs used for?
A
To stored structured data in AWS
2
Q
What are relational db’s used for?
A
- Related data with SQL queries
- Can be scaled up
3
Q
What are NoSql DB’s used for?
A
- Flexible schemas
- data not related between tables
- Flexibility, scalability, very high performance
- Can be scaled out <== Key
- JSON data storage
4
Q
What are AWS Managed Databases?
A
- Very useful because the DB infrastructure is handled by AWS (Backups, Operations, Upgrades, Monitoring, Alerts)
- Multi AZ for disaster recovery
- Replicas, Dashboards
- If you install a DB on EC2, you have to do all this
5
Q
What is AWS RDS?
A
- Relational Database Service
- AWS Managed
- Performance is better than a customer-managed database instance.
- Read replicas for increased performance / horizontal scaling - can be multi-region
- Multi-AZ for high availability - replicate to another AZ
- Can choose from PostgreSQL, MySQL, Oracle, SQL Server, Aurora
- Cannot SSH to DB instance
6
Q
What is Amazon Aurora?
A
- Proprietary AWS RDS
- Cloud optimized
- can auto-grow as data grows
- no free tier
7
Q
What is ElastiCache?
A
- In memory DB
- High performance
- Reduce load on databases by handing certain requests
- AWS managed
8
Q
What is DynamoDB?
A
- AWS managed NOSQL DB
- Server-less
- Scalable to massive workloads
- Extremely low-latency retrieval - fast
- DynamoDB Accelerator: Super Fast
- Low cost
9
Q
What is RedShift?
A
- OLAP (On line Analytical Processing)
- Analytics and Data Warehousing
- Columnar data store
- Can store huge amounts of data
- SQL queries, dashboards
10
Q
What is EMR?
A
- AWS Elastic Map Reduce
- Hadoop clusters - hundreds of EC2 instances
- Process vast amounts of data
- Use: data processing, machine learning, big data
11
Q
What is Athena?
A
- Server-less db to query S3 data
- Use: one-time SQL queries, S3 log analytics
12
Q
What is AWS Glue?
A
- Serverless
- ETL : extract, transform, load service
- Data Catalog of datasets
- Prepare and transform data for analytics
- Data-wrangling - data from different sources (S3, RDS)
13
Q
What is DMS?
A
- Data Migration Service
- Migrate data from 1 DB to another
- Homogeneous - same to same (oracle to Oracle)
- Heterogeneous - from one to another (SQL server to Aurora)
14
Q
What is AWS Quicksight?
A
- Create dashboard for analytics
- Integrates with RDS, Aurora, Redshift….
15
Q
What is DocumentDB?
A
- a no-sql database
- based on MongoDB