Why changing RDS aurora postgres from a db.t4g.medium (2vcpu) to a db.r6g.xlarge (4vcpu) descrease the number of commited transactions?

0

Hello.

I was having CPU usage issues where the CPU would reach over 50%. So I upgraded from a db.t4g.medium to a db.r6g.xlarge. Now, all is good and running smooth.

But one thing intrigues me: Why after the upgrade, represented in the image by the red line, did the number of committed transactions decrease?

image https://i.ibb.co/jJBwWZg/Captura-de-Tela-2022-04-12-a-s-17-28-32.png

demandé il y a 2 ans362 vues
1 réponse
0

hello,

I understand that you changed number of vcpu , from 2vcpu to 4vcpu, but you see a decrease on number of commits. please correct me if i misunderstood you.

I can see from the screenshot, you are using too much cpu which is good. but the number of commits is purely your workload. so meaning that's the amount of workload you pushed to your database, you control that, remember that is just a counter like calls that are been made to desk

Note that you are the only one who can decrease the number of commit transaction. For more information about db.Transactions.xact_commit.avg please refer to this link[1]

I hope i was able to help you.

Reference link

1.https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.UsingDashboard.Components.html#USER_PerfInsights.UsingDashboard.Components.Countermetrics

steven
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions