LoginSignup
7
7

More than 5 years have passed since last update.

【作業ログ】RDSのPIOPS変更時の挙動

Posted at

ほぼ作業ログ。
RDSのPIOPSオプションで数値の変更を行った際の挙動を残す。

作業内容

PIOPSを5000から3000に変更する。

対象DB

Instance Type Storage PIOPS
cr1.8xlarge 1000GB 5000

DBのデータサイズ

+--------------------+-----------------+
| table_schema       | MB              |
+--------------------+-----------------+
| test                | 308848.68750000 |
| mysql              |      5.94326878 |
| information_schema |      0.00976563 |
| performance_schema |      0.00000000 |
+--------------------+-----------------+

結果

  • オンラインで変更可能(接続断はなし)
  • 変更中はフルでIOを使っている
  • 変更にかかった時間:5時間4分26秒

作業ログ

PIOPS変更時のCloudWatch

2014-07-16_PIOPS変更.png

Event Log

test-db db-instance July 16, 2014 2:36:28 PM UTC+9
Applying modification to allocated storage
test-db db-instance July 16, 2014 7:40:54 PM UTC+9
Finished applying modification to allocated storage

変更中、DBに対しての操作はもちろん無し

mysql> show processlist;
+----+----------+-------------------------------------------------------+-------+---------+------+-------+------------------+
| Id | User     | Host                                                  | db    | Command | Time | State | Info             |
+----+----------+-------------------------------------------------------+-------+---------+------+-------+------------------+
| 52 | rdsadmin | localhost:50788                                       | NULL  | Sleep   |    3 |       | NULL             |
| 80 | test    | ip-10-0-0-1.ap-northeast-1.compute.internal:40575 | test | Query   |    0 | init  | show processlist |
+----+----------+-------------------------------------------------------+-------+---------+------+-------+------------------+

まとめ

前に何回かやったことがあるが、手元にデータが残っていなかったので…
一旦上げ

7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7