20
21

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RDS(Mysql)のMaxConnection数

Posted at

概要

この記事はRDS(Mysql)のスケールアップでMaxConnection数がどれくらい上がるかを調査した際の備忘録です。

詳細

mysqlでのmax_connectionsは以下の計算式の結果が反映される


DBInstanceClassMemory / 12582880

各クラス毎でのmax_connectionsは以下の表のようになります。

クラス メモリ max_connections(理論値) max_connections(実測値)
t1.micro 630MB 52 34
m1.small 1.7GB 145 125
m1.medium 3.75GB 320 303
m1.large 7.5GB 640 -
m1.xlarge 15GB 1280 -
m2.xlarge 17.1GB 1459 -
m2.2xlarge 34GB 2901 -
m2.4xlarge 68GB 5802 -
cr1.8xlarge 244GB 20821 -
max_connectionsが理論値とは異なるという情報あり 
※参考資料「Amazon RDS で max_connections が変わらなかった」を参照

参考資料

RDS徹底入門
http://www.slideshare.net/j_nakada/rds-10035113
Amazon RDS で max_connections が変わらなかった
http://qiita.com/rch850/items/33fd88fe5e69fa7a1f29

20
21
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
20
21

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?