RDS Flashcards
What is the difference between IOPS and throughput?
IOPS is the operations per second you can perform on data. Throughput is the volume of data you can read/write.
IOPS might be more important if you have a huge number of small files. Throughput might be more important if you have a small number of huge files.
What is RDS?
Relational Database Service. It’s a fully managed relational database service.
How do backups work in RDS?
They’re automatically enabled; daily full backup, transaction logs backed up every 5 minutes. Point-in-time rollbacks (like in Aurora). 7 day retentions, up to 35 days.
Automated snapshots are manually triggered and can be kept indefinitely.
How does autoscaling work in RDS?
You can enable autoscaling - set a maximum threshold, and it will upgrade after crossing that point.
Tell me about read replicas in RDS.
Can be within AZ, cross-AZ or cross-region. Replication is async, so reads are eventually consistent.
Replicas can be promoted to their own DB.
Read replicas are useful if you want to do analytics against your production DB but don’t want to add load to it.
How can I improve HA in RDS?
Configure multi-AZ. It has synchronous replication between databases. Your RDS is referenced by DNS name - if there’s a failure, the DNS points to a replica.
Will not help with scaling, just HA.