简体   繁体   中英

AWS Aurora mysql database is very slow then AWS RDS Mysql

We have existing data in on-premise mysql version 5.7 and planning to move application and database on AWS. we provisioned one RDS Mysql database and one Aurora Mysql db and connect application to both server. we saved execution timing in database so we found that RDS MySql is running 2times fast rather then Aurora database . AWS claim that performance of Aurora database is 5 times faster then RDS Mysql, but it seems this is not correct. Please suggest is there any tuning required with Aurora db.

System configuration for both DB: db.r6g.large (2CPU and 16 GB RAM)

Note: refer db column prodQueryTime as 'Mysql performance time' and experimentQueryTime as 'Aurora DB performance time' 查询统计

There are many similar reports like yours, eg here . And the answer is that it depends what you do. AWS rep writes:

The most important aspect to keep in mind is that Aurora is optimized for concurrent workloads and its benefits are best evaluated by running parallel benchmarks .

Totally agree.

Aurora MYSQL performance is hugely worse than common MYSQL for our Task (iOS & Android App, accesded by 500K users)

We migrated from RDS MYSQL (t3.medium) to Aurora MYSQL. We tried Aurora MYSQL and Aurora MYSQL Severless V2.

Originally, our MYSQL t3.medium was just running fine, CPU (20-50%) all time. The same size of Aurora could not handle the load. We had to duplicate the instance size and keep having issues during peak times.

Also, testing Aurora Serverless v2, we had to scale to 8ACU (16GB) to be able to handle the load.

As I said before, with MYSQL (No aurora), we could handle the load just fine with t3.medium (2CPU, 4GB).

With Aurora we had to duplicate (or more) the instance size, so the cost doubled (or more).

Going back to normal RDS MYSQL.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM