rds for mysql with high disk io await ?

0

situation: I have two rds for mysql databases with same configuration, and they have similar workloads, I split my traffic evenly into these two databases. But the performance varies a lot in db load. After some digging, I found that the disk io await varies a lot between these two dbs. My guess is that maybe there is something wrong with the database disk. does someone have the same situation? Enter image description here

Enter image description here

john
gefragt vor 6 Monaten306 Aufrufe
2 Antworten
0

I think the issue here is that you are running out of available IOPS capacity on the ec2 instance class you've selected. Eg, this instance has a max iops of 20k.

$ aws ec2 describe-instance-types --instance-types m6g.4xlarge --query "InstanceTypes[*].[InstanceType, EbsInfo.EbsOptimizedSupport, EbsInfo.EbsOptimizedInfo]"
[
    [
        "m6g.4xlarge",
        {
            "BaselineBandwidthInMbps": 4750,
            "BaselineThroughputInMBps": 593.75,
            "BaselineIops": 20000,
            "MaximumBandwidthInMbps": 4750,
            "MaximumThroughputInMBps": 593.75,
            "MaximumIops": 20000
        }
    ]
]
AWS
MODERATOR
philaws
beantwortet vor 6 Monaten
profile pictureAWS
EXPERTE
überprüft vor 6 Monaten
0

After I changed the disk configuration, iops from 12000 to 13000, I did this modification to triggle the storage optimization action. And the disk io await goes to normal state. Very strange.

john
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen