简体   繁体   English

AWS RDS 通用 SSD 或预置 IOPS

[英]AWS RDS General SSD or Provisioned IOPS

Currently I have a RDS m4.2xlarge MySQL DB with 200GB of disk space allotted using general SSD, which gives me a limit of about 600 IOPS.目前我有一个 RDS m4.2xlarge MySQL DB,它使用普通 SSD 分配了 200GB 的磁盘空间,这给了我大约 600 IOPS 的限制。

Looking at the monitoring I can see the most of the time the write IOPS are right at the 600 IOPS limit and can't go higher, then there are some short periods a lull followed by a burst over the 600 (I assume while my credits earned during the lull are burned).查看监控,我可以看到大部分时间写 IOPS 都在 600 IOPS 限制并且不能更高,然后有一些短暂的平静,然后突然超过 600(我假设我的学分在平静期间赚取的钱被烧掉了)。 After the credits are used up it's back to the 600 limit.点数用完后又回到 600 的上限。

My question is: is there are downside to running at the limit 99% of the time?我的问题是:99% 的时间都在极限运行有缺点吗? My write queue depth is normally less than 2 and never really gets above 3.我的写入队列深度通常小于 2,而且从未真正超过 3。

Would I see any benefit buying provisioned IOPS (of say 1500) to handle the maximum peak requirements?购买预配置 IOPS(比如 1500)来处理最大峰值要求是否有任何好处?

Currently I'm not really having any problems with the database, other than an occasional deadlock, but this seems to be expected for the amount of transactions going through the DB.目前我对数据库没有任何问题,除了偶尔出现死锁,但这似乎是通过数据库的交易量的预期。

24小时监控示例

From the AWS documentation来自 AWS 文档

Baseline I/O performance for General Purpose SSD storage is 3 IOPS for each GiB, with a minimum of 100 IOPS.通用 SSD 存储的基准 I/O 性能为每 GiB 3 IOPS,最低 100 IOPS。 This relationship means that larger volumes have better performance.这种关系意味着更大的卷具有更好的性能。 For example, baseline performance for a 100-GiB volume is 300 IOPS.例如,100 GiB 卷的基准性能为 300 IOPS。 Baseline performance for a 1-TiB volume is 3,000 IOPS. 1 TiB 卷的基准性能为 3,000 IOPS。 And baseline performance for a 5.34-TiB volume is 16,000 IOPS. 5.34 TiB 卷的基准性能为 16,000 IOPS。

In most cases the cheaper alternative is simply increase the disk space and get more IOPS allocated在大多数情况下,更便宜的替代方法是简单地增加磁盘空间并分配更多的 IOPS

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM