We’ve been trying to make a choice between Aurora and MariaDB for a future production workload. AWS spend considerable time trying to push Aurora as the answer to all MySQL issues, and there are a number of features that are compelling (faster read node creation, practically 0 replication lag, fast schema changes). This meant that Aurora was always our first choice.
But in our testing, we’ve found that Maria is faster in every regard.
All our tests have been done with a 25 million row, 121 column table. We’ve been doing queries which are well indexed, queries that aren’t indexed at all, queries we know will make it hurt, and queries that insert data.
Some queries we’ve found can take 3 minutes on Aurora take 8 seconds in Maria. Inserting 100,000 rows was repeatedly 4x faster in Maria (which may be the secondary-index Aurora limitation).
We’ve also found that Aurora can be very random in it’s performance. Taking minutes to do a query, and then taking seconds to do the same one with slightly different inputs. Maria on the other hand, would consistently do them in seconds all the time. This lack of consistency didn’t seem to change whether the box was fresh or tables warmed up.
We used db.r5.large for all our tests, and the Maria was configured with General Purpose SSD and 1000GB of space, so we didn’t even go down the provisioned IOPS route (although I understand that amount of provisioned space gives us 3000).
Has anyone else had this experience and decided MariaDB (or MySQL, which I haven’t compared against) was faster and a better fit? Or alternatively, has anyone found that MariaDB is absolutely awful and we’d be mad to even consider it!
I know the things we’ll give up, but I’d rather have consistent faster performance than fast schema updates.
We haven’t tested Aurora and I’m not a developer, but we have used MariaDB for our fairly extensive SaaS app and haven’t run into any performance issues we haven’t been able to solve.
I wouldn’t rate our use-case as enterprise, as our largest databases are in the 100’s of thousands of records only. I think most resource intensive usage has been near instant filtering of fair sized crm record db with like 3 or 400k records in it.
I don’t know if that helps, as I said, I’m not a programmer, but hopefully it does!
I can’t speak for Aurora, but can say that we have had very positive experience with MariaDB (10.2) on RDS.
We have a reasonable size dataset, ~ 200GB with the largest table in the 50+ million row range.
our instance is a db.r5.2xlarge with 300Gb of General Purpose SSD storage.
IOPS have been great, with the ability to burst to 3000 IOPS covers 99.9%. We average about 500 IOPS.
A few times we have really hit the db hard, with 100% cpu use and 1000+ IOPS and found that it was still reasonably responsive.
We have not had any compatibility or reliability issues.
Probably the only pain point that we have had is the lack of the ‘super’ ability. As we had come from being on premise for many years, there was significant amount of legacy scripts that assumed they could do anything.
Triggers, events and stored procedures all needed updates to sure the correct definer was used.
Part of your answer is because you are testing from a single client… aurora will be slower then MariaDB/MySQL most of the time when you have a single client… remember they have multiple copies of the data across different AZs and a quorum in place.
They have a whitepaper explaining how to reproduce their tests, but it basically assumes high parallelism.
Are you using aurora 5.6 or 5.7? And about parameter-groups, anything customised either in aurora or in MariaDB?
About your tests, is the data from one of your applications or just random data for the test? Would you be able to share the test cases and the data?
Aurora has some very interesting concepts. However, it’s been oversold and under-delivering for a while now. Its failure modes are horrendous (is there a query that’s hitting the writer too hard? Let’s reboot the writer. Oh, yeah, in order to preserve consistency, let’s reboot all of the readers as well!).
It’s not the most performant database, it’s just one that has some really interesting and useful features. If you need them and you can accept everything going down on a scheduled basis (e.g. we don’t - we use mysql rds and migrate everything every year or so to get upgraded to a version of mysql that works for us) then it’s a nice database.
But I think that it’s simply not good enough for production use for 24x7 use.
Our tests on Aurora have shown either the same or slower speeds as compared to MariaDB. As a HUGE warning, migrating to aurora is seamless and easy, migrating from Aurora is not. It basically requires a dump/restore, you can’t slave a MariaDB to Aurora to migrate back.
To the funny farm
Where life is beautiful all the time
And you’ll be happy to see those nice young men
In their clean white coats
And they’re coming to take you away ha-haaa
I have no Aurora experience so I can’t comment directly there, but I wonder how well-worn an architectural pattern there is for what Aurora is aiming to do? Seems like they’re definitely on the right track and pioneering a capability that could really change the game when fully baked. They may very well be overselling it too soon but the direction is also arguably the correct one, which I suspect is more likely what folks may be objecting to(?)
You are likely being downvoted because many of us do use it in production, for several years, and consider it good enough. I personally have not had the experience you describe so it doesn’t resonate with me.
I’m in the Postgres world but yes, I’ve run into significant issues with Aurora Postgres too that lead me to believe that the whole concept of Aurora really isn’t performant for most workloads. It certainly isn’t reasonable for my own workload, which is a fairly significantly sized data warehouse (as in, multi-billion-row tables).