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

preguntada hace 2 años443 visualizaciones
1 Respuesta
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
MODERADOR
philaws
respondido hace 2 años
  • 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

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas