Why Aurora's IOPS is much higher than the mysql IOPS deployed by EC2.

0

A customer migrated mysql on EC2 to Aurora. Customers found that they increased the cost of IOPS every month. By looking at cloudwatch, Aurora's iops cost increased a lot. Aurora's total IOPS is nearly 20 times higher than mysql's iops. Here are some questions

  1. Although Aurora's IOPS calculation is not the same as EBS's IOPS, is the gap so huge? 2.Aurora's maintenance IO such as 6ways copy, Snapshot, Etc. will be counted in the customer's bill?
  2. Is there a difference between the table design on Aurora and mysql? Is there any way to optimize IOPS?
AWS
질문됨 5년 전5567회 조회
1개 답변
0
수락된 답변

Aurora doesn't actually have IOPS per se like in RDS, so can you be more specific about which counter they are using? Is it [Billed] VolumeReadIOPS and VolumeWriteIOPS that they are using? and remember they need to keep in mind that they need to divide by 300 to get the number per second.

For Question 2, all activity within the aurora storage network itself is not billed. Backups are billed separately. Generally the answer to table design question is no, but that's hard to say always because aurora does scale differently. Is there a way to optimize I/O? Generally yes, use a bigger instance to cache more data rather than having to read I/O is a frequent solution, but again, you'd have to look at the use case specifically to make sure. A read replica could also help.

From https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Monitoring.html

VolumeReadIOPs

The number of billed read I/O operations from a cluster volume, reported at 5-minute intervals.

Billed read operations are calculated at the cluster volume level, aggregated from all instances in the Aurora DB cluster, and then reported at 5-minute intervals. The value is calculated by taking the value of the Read operations metric over a 5-minute period. You can determine the amount of billed read operations per second by taking the value of the Billed read operations metric and dividing by 300 seconds. For example, if the Billed read operations returns 13,686, then the billed read operations per second is 45 (13,686 / 300 = 45.62).

You accrue billed read operations for queries that request database pages that aren't in the buffer cache and therefore must be loaded from storage. You might see spikes in billed read operations as query results are read from storage and then loaded into the buffer cache.

AWS
전문가
답변함 5년 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인