RDS mariadb performance on update queries

0

Hi, I've migrated a workload from mariadb on ec2 to rds and I'm facing a performance issue.
This job make massive update queries on some tables (69465).

Using mariadb service on Ec2 common instance (t3a.small) it takes 1m31,148s

Using RDS (db.m6g.xlarge - storage io1 200GB ): 5m46,239s

After many tries I realized that the only way to have the same performance on Ec2 and RDS is to disable "automated backups" on RDS

Can anybody help me to understand why? Backup is a requirement

已提问 2 年前443 查看次数
1 回答
0
  1. Enabling backups in RDS requires enabling binlogs. So, with/without binlogging you will see different io pattern.
  2. Also, you don't state the IOPS for 'RDS1' or your self managed ec2. These are important details for your question.
  3. 'RDS2' is a 100g gp2 volume, so you need to look at the BurstBalance to be sure that you are not running out of Burst IOPS.
  4. Finally, IOPS < 0.5 is essentially an idle instance. It is unlikely with any configuration that your massive update workload is active and the IOPS is near zero.

Hope that is helpful.

AWS
审核人员
philaws
已回答 2 年前
  • Hi Phil, thanks for your answer but the problem is not in what I see in logs but the performance of my workload. So I rewrite my question to make it clearer

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则