7. MySQLのイノベーション
MySQL Cluster 7.3
MySQL Migration Wizard
MySQL Workbench 6.0
MySQL 5.6
MySQL 5.5
MySQL Cluster
Manager
Windows installer & Tools
MySQL
MySQL Enterprise Monitor 2.3
Applier for
Hadoop
MySQL Enterprise Backup
Security
MySQL Utilities
MySQL Workbench 5.2
Scalability
MySQL Cluster 7.2
MySQL Enterprise
HA
MySQL Cluster 7.1
Oracle Certifications
Audit
8. イノベーションの推進と「品質」向上
•
•
•
•
•
191 Worklogs for MySQL 5.6
1991 Bugs Fixed in 5.6
3763 Bugs Fixed in Total Since MySQL 5.5 GA
911 New MTR Tests in MySQL 5.6
Tripled QA Team - 400 Man/Year Database QA
Experience
9. MySQL 5.6: 今までで最高のリリース
“MySQL 5.6 is probably the version of MySQL with
the biggest bundle of new features.”
Giuseppe Maxia
“MySQL 5.6 is an impressive release with features that
make it much easier to scale MySQL and take advantage
of modern hardware.”
Mark Callaghan
“I am very excited and thrilled to use the latest release of MySQL 5.6 in production. This is probably the most notable
and innovative release from many years, if not ever. Oracle developer teams did great work for MySQL 5.6, so we
have to give Oracle credit for that.“
Marco Tusa
“MySQL 5.6 is the largest MySQL code size increase in a MySQL version ever. The last time we saw anything like this
was with the merging of MySQL Cluster in 4.1. At the very least, Oracle is paying people to write lines of code to
extent that nobody has before.”
Stewart Smith
“MySQL vs MariaDB performance. The obvious take away is as expected, upgrade any 5.5 installations to 5.6.” Brian
Aker
10. The Open Road to MySQL 5.6
Predictable Releases for the MySQL Community, Allowing Feedback
DMR1*
DMR2
DMR3
DMR4
DMR5
RC
April 2011
Oct 2011
Dec 2011
April 2012
Aug 2012
Nov 2012
Optimizer:
Optimizer:
Optimizer:
Optimizer:
InnoDB:
MRR, ICP, File Sort
BKA, New EXPLAIN,
Traces
Sub-Queries
JSON EXPLAIN, SubQueries
TT, Online DDL,
Memcached API
Replication:
Replication:
InnoDB:
Split Kernel Mutex, MT Purge
InnoDB:
Replication:
Dump/Restore
Buffer Pool
Crash-Safe, Multi-Thread Slave,
Checksums
Memcached API
More P_S
InnoDB:
Full Text Index, ReadOnly Optimizations GTIDs
Binary Log Group
Commit
More
Partitioning
Condition
Handling
TIMESTAMP &
DATESTAMP
Password Mgmt More GTID, TT
Fractional
Seconds
More P_S
More
Partitioning
New P_S
Partitioning
Improvements
New Server
Defaults
11. Complete Solutions
On Premise and in the Cloud
• Oracle never settles for second best at
any level of the stack
• “Complete” means we meet most
customer requirements at every level
That’s why MySQL matters to
Oracle and Oracle customers
19. MySQL 5.7.2 DMR
New!
MySQL 5.6をベースに各種機能を改良
• InnoDB より高いトランザクション処理性能と可
用性
• レプリケーション より高い拡張性と可用性
• Performance Schema より詳細な性能統計情報
• オプティマイザ EXPLAIN可視化の改良
Available Now! Get it here:
dev.mysql.com/downloads/mysql/
20. MySQL 5.7.2 Sysbench Benchmarks
Sysbench Point Select
500,000 QPS
600000
Queries per Second
500000
400000
MySQL-5.7
300000
MySQL-5.6
200000
MySQL-5.5
100000
0
8
16
32
64
128
256
512
Concurrent User Sessions
95% Faster than MySQL 5.6
172% Faster than MySQL 5.5
1024
Intel(R) Xeon(R) CPU X7560 x86_64
4 sockets x 8 cores-HT (64 CPU threads)
2.27GHz, 256G RAM
Oracle Linux 6.2
21. MySQL 5.7.2 Sysbench Benchmarks
OLTP Read Only
Transactions per Second
25000
20000
15000
MySQL-5.7
MySQL-5.6
10000
MySQL-5.5
5000
0
8
16
32
64
128
256
512
Concurrent User Sessions
17% Faster than MySQL 5.6
134% Faster than MySQL 5.5
1024
Intel(R) Xeon(R) CPU X7560 x86_64
4 sockets x 8 cores-HT (64 CPU threads)
2.27GHz, 256G RAM
Oracle Linux 6.2
sb_OLTP_RO_1M_8tab-ps Max-TPS
22. MySQL 5.7.2: Connections / second
新規接続の処理の高速化
40000
Connections per second
35000
MySQL 5.7.2
30000
25000
20000
15000
MySQL 5.6.9
+32%
+64%
10000
5000
0
With Selects
Without Select
• mysql-bench
• 25 concurrent client threads
• Executing connect/select/disconnect
• 100000 iterations each
Facebookからの要望をベースに開発
THDの初期化処理とネットワークの初期化処理をワーカースレッドに分離
23. MySQL 5.7.2: InnoDB Temporary Tables
性能の向上
2-4倍 高速化
INSERT/DELETE/ UPDATE
REDOログの書き込み、ロックおよびチェン
ジバッファの利用を削減
4X
2X
2500
Total Time in Seconds
11倍 高速化
CREATE/DROP
テーブルの作成や削除処理中のIOを
削減
MySQL 5.7 versus 5.6
2 - 11 X Improvement
2000
1500
11X
2X
5.6.13
5.7.2
1000
500
0
create/drop
insert
delete
update
Total time to complete in seconds
* sql-bench, modified to use temp-tables
* Seed size of 10K for Create/Drop
* Seed size of 5M for Insert/Delete/Update
35. MySQL 5.7.2: InnoDB
オンラインALTER TABLE の拡張
• オンラインでのインデックス名の変更
ALTER TABLE t RENAME INDEX i1 to i2;
• オンラインでのVARCHAR列の変更
ALTER TABLE t1 ALGORITHM=INPLACE,
CHANGE COLUMN c1 c1 VARCHAR(255);
40. MySQL Utilities
Powerful DevOps Management tools for MySQL
• New, standalone package: MySQL Utilities 1.3
• Automate common Dev/Ops tasks
– Replication: provisioning, testing, monitoring and failover
(now as daemon)
– Database comparisons: consistency checking
– Database administration: users, connections, tables, etc
– Auditing
• Python scripts
– Standalone or launched from MySQL Workbench
– Available from dev.mysql.com
– Extensible to include custom scripting; Python library for
extensibility
41. MySQL Utilities – Fabric
「シャーディング」を利用した拡張性
• 対応コネクタ
Application
Connector
SQL
MySQL Fabric
– Python
– Java
– PHP
• アプリケーションが分割キーを
用意
– レンジまたはハッシュ
– シャードの再構成可能
– 全体の一括更新可能
Read-slaves
Read-slaves
Master group
Master group
• MySQL Utilities 1.4.0にて提供
64. MySQL Enterprise Edition
最高レベルの可用性、パフォーマンス、セキュリティ
Oracle Premier
Lifetime Support
MySQL Enterprise
Security
MySQL Enterprise
Audit
MySQL Enterprise
Scalability
MySQL Enterprise
High Availability
Oracle Product
Certifications/Integrations
MySQL Enterprise
Monitor/Query Analyzer
MySQL Enterprise
Backup
MySQL Workbench
69. まとめ
MySQLコミュニティのためのイノベーション
• この12ヶ月間のリリース:
– GA: MySQL 5.6, MySQL Cluster 7.3, MySQL
Workbench 6.0, MySQL Enterprise Monitor 3.0,
MySQL Utilities, MySQL Connectors など
– DMRs: MySQL 5.7
– Labs: Multi-source Replication, Fabric, Hadoop
Applier for MySQL
• ぜひお試しいただきフィードバックをお願いし
ます!