2012.10.20 OSC 2012 Hiroshima

783
-1

Published on

MySQL

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
783
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

2012.10.20 OSC 2012 Hiroshima

  1. 1. MySQL 5.6 @RKajiyama MySQL
  2. 2. MySQL MySQL Cluster 7.2 MySQL Enterprise Backup 3.7 Oracle VM Template for MySQL MySQL Utilities 1.0.6 Enterprise Edition Database Migration Wizard MySQL Enterprise Oracle New Windows Tools/FeaturesMySQL Enterprise Monitor 2.2 Certifications New MySQL EnterpriseMySQL Cluster 7.1 MySQL Windows Installer Commercial ExtensionsMySQL Cluster Manager 1.0 New MySQL EnterpriseMySQL Workbench 5.2 Commercial ExtensionsMySQL Database 5.5 All GA! All GA! MySQL Database 5.6 RCMySQL Enterprise Backup 3.5 MySQL Cluster 7.3 DMRMySQL Enterprise Monitor 2.3 MySQL Database 5.6 DMR* MySQL Cluster features inMySQL Cluster Manager 1.1 MySQL Cluster 7.2 DMR MySQL Labs MySQL Labs! All GA! ( early and often ) 2012 New! 2010 2011 *Development Milestone Release
  3. 3. The worlds most popular open source database
  4. 4. MySQL&Database&DML DDL
  5. 5. MySQL•  –  – •  – •  – •  –  –  – 
  6. 6. MySQL&Server &•  Facebook&–& 10 & SNS& –  MySQL & •  memcached & •  (2008 1 →2010 4 )& •  * & *&MySQL & •  & –  1,300 & –  3,700 & –  350 & –  440 IOPS&
  7. 7. MySQL&5.6&RC&
  8. 8. MySQL&5.6:&•  :&& &•  :&&•  InnoDB:&•  :&•  NotOnlySQL :&
  9. 9. MySQL 5.6.4:• •  LIMIT •  3 – 40 10•  •  – 15 90•  •  – 2000 10•  FROM •  EXPLAIN 240 –8 2•  INSERT UPDATE DELETE EXPLAIN•  - InnoDB• 
  10. 10. MySQL 5.6: Optimizer•  EXPLAIN •  INSERT, UPDATE, DELETE •  JSON•  InnoDB•  Optimizer Traces
  11. 11. MySQL 5.6 –•  & •  &•  I/O & •  &•  & •  &•  I/O& •  & •  & •  & &
  12. 12. MySQL&5.6:&InnoDB&–&Improvements&  -  mutex CPU -  -  -  SSD  -  ( ) OS -  NoSQL, InnoDB
  13. 13. MySQL&5.6:&InnoDB&  DDL -  ADD/DROP INDEX -  ADD/DROP COLUMN -  ADD/DROP FOREIGN KEY -  RENAME COLUMN, TABLE -  CREATE PRIMARY KEY -  ALTER ROW_FORMAT, KEY_BLOCK_SIZE -  ALTER COLUMN NULLABLE, NOT_NULLABLE -  Reorg / rebuild cluster index  - 
  14. 14. MySQL 5.6: ReplicationLargest EVER set of Enhancements
  15. 15. MySQL 5.6:•  • •  MySQL Masters •  •  RBR•  •  Slave 6 Slave 7 Slave 8 Slave 9 Slave 10•  •  Slave 1 Slave 2 Slave 3 Slave 4 Slave 5 SQL• 
  16. 16. 5x Higher Replication Performance MulFGThreaded&Slave&Performance& 300& 250&Queries&per&Second& 200& 150& 100& 50& 0& 0& 5& 10& QPS& 58& 144& 283& Worker&Threads&•  SysBench, running across 10 x schemas•  Oracle Linux 6.1, Oracle Sun Fire x4150 m2 Server
  17. 17. ID•  / – • •  Master GTID=123456 GTID=123456 GTID=123456 GTID=123456
  18. 18. HA •  •  –  mysqlfailoverFailedMaster •  –  mysqlrpladmin Promoted Monitoring HA Utilities Master •  MySQL HA –  –  HA Slaves
  19. 19. MySQL Workflow for Replication Check Repl Show HA•  Check:•  Repl:•  Show:•  HA:•  Python –  MySQL Workbench (LaunchPad ) – 
  20. 20. MySQL – InnoDB NotOnlySQL: Memcached API •  InnoDB •  Memcached API SQL NoSQL •  MemcachedMySQL Memcached •  SQL •  NotOnlySQLmysqld •  MySQL Server Memcached •  JOIN FK SQL InnoDB •  •  mysqld Memcached •  InnoDB API Memcached labs.mysql.com/ • 
  21. 21. MySQL 5.6 RC dev.mysql.com/downloads/mysql [Development Release]
  22. 22. MySQL&CLUSTER&7.3&&
  23. 23. :& &HLR / HSS , , & •  •  3 •  & = , , VLR MySQL Cluster in Action: http://bit.ly/oRI5tF
  24. 24. :& & •  •  •  •  •  •  •  •  •  •  & •  4 MySQL Cluster Linux WindowsMySQL User Conference Session: http://bit.ly/ogeid3
  25. 25. MySQL&Cluster& & JPA REST LDAP 1 2 1 3 F1 F2 F3 F4 4 2 F3 F4 F1 F2
  26. 26. Comparing MySQL Cluster Performance8x Higher Performance per Node 20& 18& Reads&per&Second&(Millions)& 16& 14& 12& 10& 8& :& 1,600 & 6& 4& 8 2& 0& MySQL&Cluster&7.1& MySQL&Cluster&7.2&•  1 Billion+ Reads per Minute, 8 node Intel Xeon cluster•  NoSQL C++ API, flexaSynch benchmark•  Multi-Threaded Data Node Extensions
  27. 27. 1.2 Billion UPDATEs per Minute 25&Millions of UPDATEs per Second 20& 15& 10& :& 2,000 & 5& 30 0& 2& 4& 6& 8& 10& 12& 14& 16& 18& 20& 22& 24& 26& 28& 30& MySQL Cluster Data Nodes •  30 x Intel E5-2600 Intel Servers •  NoSQL C++ API, flexaSynch benchmark •  ACID Transactions, with Synchronous Replication
  28. 28. && •  & & •  DR&&& & •  & •  &/& & & •  & & &
  29. 29. & •  & & & –  & & 1& &1& & 2& & & –  & & 2& •  & 3& 4& & •  & / &
  30. 30. SQL NoSQL & SQL& NoSQL & JDBC / ODBC PHP / PERLmemcached HTTP/REST Python / Ruby NDB API•  SQL:•  HTTP / memcached: Web•  Java:•  NDB API:
  31. 31. New! MySQL&Cluster&7.3:&Node.js&NoSQL&API& •  JavaScript &MySQL&Cluster& & Clients –  JavaScript& &MySQL&Cluster& & –  SQL& & •  node.js &V8 JavaScript Engine –  MySQLCluster&API & Web &MySQL Cluster Node.js Module •  & & MySQL Cluster Data Nodes
  32. 32. MySQL&ConnecthXp://goo.gl/78M8g&MySQL&Tech&Tour&hXp://goo.gl/01FnD
  33. 33. MySQL Server - GA5.5 InnoDB Plugin (Semi-synchronous) MySQL Server – RC5.6 NoSQL MySQL Cluster - GA7.2 JOIN MySQL Cluster - DMR7.3 Node.jp API
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×