MyNA会行ってきた

MyNA会に久々に参加してきました。

 

Relational and Document Databases with MySQL

@RDBMS さん

MySQL 5.7.12のお話。

資料が公開されてます

  • JSON周り
  • X Plugin / X DevAPI
  • mysqlsh   あたりの話。   X Pluginですごく速くなるっていう話はPerconaの記事がわかりやすいらしい。

  Perconaの記事:Asynchronous Query Execution with MySQL 5.7 X Plugin

MySQL 5.7 supports X Plugin / X Protocol, which allows (if the library supports it) asynchronous query execution. In 2014, I published a blog on how to increase a slow query performance with the parallel query execution. There, I created a prototype in the bash shell. Here, I’ve tried a similar idea with NodeJS + mysqlx library (which uses MySQL X Plugin).

TL;DR version: By using the MySQL X Plugin with NodeJS I was able to increase query performance 10x (some query rewrite required).

確かに書いてある。

あと、mysqlshは開発ブログの記事はこちら

mysqlsh から jsやpythonで直接叩けるということで、JSON周りの開発や運用時にとても便利そう。

Percona Live 2016行ってきた

@mita2さん

  • Group Replicationの話
  • AlibabaのMySQLチューニングの話
  • MySQL Toasterの話。

Group Replication

Group Replicationは色々夢が広がるけど、Transactionの制御が恐らくGalera clusterと同様Commitが早い方が優先されるのは、要注意かな。

挙動的にRead-Commited前提かな。

またノードダウン時に自動的に復旧してくれるのは嬉しい。今後に期待。

AlibabaのMySQL

innodbのレイヤでゴリゴリいじってて、独自SQLがたくさんある代わりに次バージョンは100倍くらい速いらしい。

これかな。

www.percona.com

Toaster

MySQLで make_toaster(250) とかで toaster(物理)を焼くらしい。

元々MySQLのbug #2がtoaster焼けないよっていうバグが登録されているのを踏まえたネタらしい。

他の発表

後で書く