Professional Documents
Culture Documents
Amazon Aurora: Relational Database Reimagined For The Cloud
Amazon Aurora: Relational Database Reimagined For The Cloud
Aurora benefits:
A leading firm in educational publishing,
testing, and certification, as well as in-class ▪ Allowed Pearson to stop self-managing their
database while still achieving their performance
and online learning tools. Pearson operates and availability goals.
in over 70 countries and serves millions of
students. ▪ “No more babysitting MySQL traditional async
replication”
Higher Performance, Lower Cost
• Fewer instances needed
• Smaller instances can be used
• No need to pre-provision storage
• No additional storage for read replicas
150,000 700,000
125,000
600,000
500,000
100,000
400,000
75,000
300,000
50,000
200,000
25,000
100,000
0 0
Aurora scales with instance size for both read and write.
Reproducing benchmark results
R3.8XLARGE
1• Create an Amazon VPC (or use an existing one).
AMAZON
2• Create four EC2 R3.8XL client instances to run the
SysBench client. All four should be in the same AZ. AURORA
R3.8XLARGE R3.8XLARGE
3• Enable enhanced networking on your clients
h t t p s : // d 0 . a w s s t a t i c . c o m / p r o d u c t - m a r k e t i n g / A u r o r a / R D S _ A u r o r a _ P e r f o r m a n c e _ A s s e s s m e n t _ B e n c h m a r k i n g _ v 1 - 2 . pdf
Beyond benchmarks
POSSIBLE DISTORTIONS
Real world requests contend with each other
Real world metadata rarely fits in data dictionary cache
Real world data rarely fits in buffer cache
Real world production databases need to run with HAenabled
How did we achieve this?
AZ 1 AZ 2 AZ 3 AZ 1 AZ 2 AZ 3
SQL SQL
Transaction Transaction
Caching Caching
MYSQL
DB App
Failure Failure Detection DNS Propagation Running
Recovery Recovery
DB
Failure Detection DNS Propagation
Failure
App
15 - 2 0 s e c Recovery
Running
3 -2 0 s e c
Simulate failures using SQL
“We ran our compatibility test suites against Amazon Aurora and everything
just worked." - Dan Jewett, Vice President of Product Management at Tableau
Source: Amazon
Advanced monitoring
ALARM
50+ system/OS metrics | sorted process list view | 1–60 sec granularity
alarms on specific metrics | egress to Amazon CloudWatch Logs | integration with third-party tools
Monitoring the whole stack
Primary
r3.8XL $1.33/hr
Replica Replica
$1.33/hr $1.33/hr
r3.8XL R3.8XL
Storage $2,42/hr
6 TB / 10 K PIOP
Storage Storage
6 TB / 5 K PIOP
$2,42/hr $2,42/hr
6 TB / 5 K PIOP
Standby
r3.8XL $1.33/hr
Instance cost: $5.32 / hr
Storage cost: $8.30 / hr
Storage
6 TB / 10 K PIOP $2,42/hr Total cost: $13.62 / hr
Cost of ownership: Aurora vs. MySQL
Aurora configuration hourly cost
$4.43 / hr
Storage / 6TB
MySQL Aurora
Network
Application Users
S3 integration
• Load partial datasets directly from / to S3
• Ingest large database snapshots (>2TB)
• Snowball integration
• Ingest huge database snapshots (>10TB)
• Send us your data in a suitcase!
Migration non-MySQL databases