database 101 Flashcards
Dynamo DB
fast and flexible NoSQL database service for all application that need consistent.
- Stored on DDS storage
- Spread across 3 geographically distinct data centers
- Eventual consistent reads
- Strong consistent read
Eventual Consistent Reads
consistence across all copies of data is usually reached within a second. Repeating a read after a short time should return updated data (best READ performance)
Strongly Consistent Reads
A strong consistent read returns a resutls that reflects all writes that received a successful response prior to the read
Dynamo DB pricing
write throughput $0.0065 per hours for every 10 units
wread throughput $0.0065 per hours for every 50 units
storage is 25 cents per gig per per months
Good for reads!!!
Redshift
fast powerful, fully manages, petabyte-scale data warehouse service in the cloud. Data warehouse.
Redshift configuration
single node (160Gb)
multi-Node
- leader Node (manages client connection and receives queries)
- Compute note (store and perfom queires and computation) up to 128 compute nodes.
Redshift - Columnar Data Storage
only columns are only involved in the queries are processed and columnar
Redshift- advance compression
massive parallel processing or MPP pace so misson red redshift automatically distributes
data and query load across all nodes and ASM redshift makes it easy to add nodes to your data warehouse
and enables you to maintain phos query performance as your data warehouse grows.
Redshif Priced
The first is compute node hours so this is the total number of hours you run across all your computer
nodes for the billing period.
one unit per node per hour.
So 300 data warehouse clustering running persistently for an entire month would incur 2160 instance
.
Elasticashe
its a web service that makes it east to delopy, operate and scale an in-memory in the cloud.
used to improve latency and compute intensive.
two different Elasticache
- Memcached
2. Redis
Memcached
memory object caching system.
Redis
open-source in memory key-value store that supports data structures such as sorted sets and lists.
EXAM TIPS** ElasticCache Exam Tips
ElastiCache supports Master/Slave replication and Multi-AZ which can be used to achieve cross AZ redundancy
typically you will be given a scenario where a particular database is under a lot of stress/load. you may be asked which service you should use to alleviate this.
ElasticCache is a good choice if your database is particularly read heavy and not prone to frequent changing.
Redshits is a good answer if the reason your database is feeling stress is because management keep running (online transaction analytics)OLAP transaction on it etc.
Aurora
Amazon Aurora is a MySQL-compatible relational database engine that combines the speed of availability of high-end commercial database with a the simplicity and cost effectiveness of open source database. it is 5 times better performance than MySQL at a price point one tenth that of a commercial database.