-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysqlへの乗換 #130
Labels
Comments
mysqlhttp://127.0.0.1/abilitysheet/users
http://127.0.0.1/abilitysheet/logs/8594-9652/sheet
http://127.0.0.1/abilitysheet/logs/8594-9652/graph
|
mysql(tuning)[mysqld]
innodb_buffer_pool_size=768M
innodb_log_file_size=128M
innodb_flush_log_at_trx_commit=2 http://127.0.0.1/abilitysheet/users
http://127.0.0.1/abilitysheet/logs/8594-9652/sheet
http://127.0.0.1/abilitysheet/logs/8594-9652/graph
|
postgresqlhttp://127.0.0.1/abilitysheet/users
http://127.0.0.1/abilitysheet/logs/8594-9652/sheet
http://127.0.0.1/abilitysheet/logs/8594-9652/graph
|
postgresql(tuning)
http://127.0.0.1/abilitysheet/users
http://127.0.0.1/abilitysheet/logs/8594-9652/sheet
http://127.0.0.1/abilitysheet/logs/8594-9652/graph
|
結論,何もしてないpostgresqlが良い. |
postgresqlab -k -c 15 -n 100 http://127.0.0.1/users
ab -k -c 15 -n 100 http://127.0.0.1/sheets/8594-9652/hard
|
mysql 5.7ab -k -c 15 -n 100 http://127.0.0.1/usersmysql用に最適化してないので余計に遅いのはある
ab -k -c 15 -n 100 http://127.0.0.1/sheets/8594-9652/hard
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mysqlとpostgresqlで軽いベンチマークを行い,
有用性が高いようならmysqlへ乗り換える.
ApacheBenchmark
2015/07/03時点の本番データ
nginx+unicornによるproduction環境
The text was updated successfully, but these errors were encountered: