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

已提問 2 年前檢視次數 362 次
1 個回答
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
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南