Databases Flashcards
RDS
Use for OLTP. SQL Server, MySQL, PostgreSQL, Oracle, Aurora, MariaDB
DynamoDB
NoSQL
Redshift
OLAP
Elasticache
In-memory caching. Memcached and Redis
Multi-AZ
Used for failover, data synchronously replicated
Read Replica
Used for frequent reads, up to 5 read replicas
Aurora scaling
2 copies of your data in minimum 3 AZs, so 6 copies of your data. Designed to handle the loss of up to 2 copies of data w/o affecting writes, 3 copies w/o affecting reads. Self healing. Aurora replicas and MySQL read replicas
DynamoDB vs RDS
DynamoDB has push button scaling, so scale your database on the fly. RDS - need to use bigger instance or add read replica
DynamoDB properties
stored on SSD storage, spread across 3 geographically distinct data centers, eventual consistent reads (default), strongly consistent reads
Redshift configuration
Single node (160 Gb), Multi-Node
Multi-Node
Leader node (manages client connections and receives queries) Compute node (store data and perform queries and computations). Up to 128 compute nodes