しるてく

技術的な話をします

thread_concurrencyはもう気にしなくて良いらしい

thread_concurrency doesn’t do what you expect - MySQL Performance Blog

Don’t try it. The problems with thread_concurrency are two:

1- It’s deprecated and removed on 5.6.1

http://bugs.mysql.com/bug.php?id=55001

2- It only works on old Solaris versions < 9

thread_concurrencyは同時スレッド数を設定するオプションで、たとえばOS waitsなんかが多いときに調整してやると良い感じになるんだけど、Solaris特有のもので、しかも5.6.1から廃止されるのでチューニングする必要ないよという内容らしい。

ちなみに、innoDBには、InnoDBが内部的に利用するスレッド数を調整するinnodb_thread_concurrencyというオプションがあるので、同時スレッド数を調整したければそっちを使ってねとのこと。