Main things to consider when comparing RDS to Aurora

Hi all,

What are the main things to take into consideration when choosing between RDS and Aurora ? Is the price difference between having a completely managed service in Aurora versus managing your RDS yourself worth it ? It’s been years since I’ve had to discuss relational databases so I need a bit of insight … Thanks !

Aurora is one of the variants of RDS. It’s a MySQL compatible option that has some performance, replication, and redundancy / distribution improvements over traditional MySQL RDS.

Also in PostgreSQL.

There are more instance types and storage options for RDS. Although Aurora snapshots are faster, and there is that aurora serverless thing that makes it run cheaper for dev/test. Also, there are more database options for RDS - aurora is just MySQL and Postgres.

I find Aurora absolutely worth it for MySQL

  • Snapshotting is much better/faster and does not interrupt production traffic. Continuous backups is awesome.
  • You never have issues with replication within a region, and I hear cross-region replication is also better since it’s not binlog based
  • You can autoscale read replicas easily
  • Backtrack allows you to revert bad schema changes quickly
  • Updates seem to go faster and smoother
  • Fast DDL operations can make some operations fast when they would otherwise require extra tools like pt-online-schema-change or gh.ost

I’ve heard people having issues Aurora/Postgres earlier on. Now sure where it is now.

I pay for Aurora because the DB is most critical infrastructure piece and Aurora/MySQL has made things stupidly easy to manage, plus it’s super stable. You would have to do the calculations to see if the cost is prohibitive for your load.

I’m surprised no one mentioned RDS proxy. if you’re accessing from lambdas.

Are you using it on production? I’ve heard some horror stories on Aurora Data API - I wonder if RDS Proxy is production ready.

Postgres aurora serverless is not ready for production use imo.

Long running queries will block the db from (auto) scaling while keeping new connections on hold, causing minutes of downtime.

Only the ancient Postgres 9.6 is supported.

Insights is not supported.

The big takeaway is that everything that’s related to reading and writing your data (and by extension snapshots, backups, point in time restore) become possible or better with Aurora.

This is because RDS runs the normal MySQL or Postgres servers with attached expandable network storage (think of it as a RAID NAS that AWS will add more disks to when required). But Aurora runs the normal MySQL or Postgres with a completely different log based file system that’s basically a series of time stamped lines replicated and stored like they do with S3 or DynamoDB. Because it’s log based, you can immediately see how snapshots, point in time restore etc become possible and cheap.

And if you’re on Postgres the need to vacuum completely goes away - which is a giant win if you’ve ever been bitten by this problem. It’s one of those things that will suddenly bring you to your knees when you least expect it.

Aurora MySQL and RDS MySQL are, at the back-end, completely different products and it’s only the front-end of Aurora that is compatible with MySQL. Everything else behind the front door is changed.

I don’t understand this question/statement:

completely managed service in Aurora versus managing your RDS yourself

Both RDS MySQL and Aurora MySQL are managed services. There isn’t much difference between the two when it comes to managing them. What do you mean by that?

No, so I am currently using postgres in RDS. I’m waiting for Aurora postgres to support RDS proxy for postgres.

RDS isn’t production ready yet as it’s relatively new. But once it matures it should be a very important component.

Aurora can be much more expensive since you pay for IOPS

No, it’s in Preview and they are very very explicit that it must not be used for production workloads.