2012.10.20 OSC 2012 Hiroshima
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

2012.10.20 OSC 2012 Hiroshima

on

  • 913 views

MySQL

MySQL

Statistics

Views

Total Views
913
Views on SlideShare
913
Embed Views
0

Actions

Likes
1
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

2012.10.20 OSC 2012 Hiroshima Presentation Transcript

  • 1. MySQL 5.6 @RKajiyama MySQL
  • 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. The worlds most popular open source database
  • 4. MySQL&Database&DML DDL
  • 5. MySQL•  –  – •  – •  – •  –  –  – 
  • 6. MySQL&Server &•  Facebook&–& 10 & SNS& –  MySQL & •  memcached & •  (2008 1 →2010 4 )& •  * & *&MySQL & •  & –  1,300 & –  3,700 & –  350 & –  440 IOPS&
  • 7. MySQL&5.6&RC&
  • 8. MySQL&5.6:&•  :&& &•  :&&•  InnoDB:&•  :&•  NotOnlySQL :&
  • 9. MySQL 5.6.4:• •  LIMIT •  3 – 40 10•  •  – 15 90•  •  – 2000 10•  FROM •  EXPLAIN 240 –8 2•  INSERT UPDATE DELETE EXPLAIN•  - InnoDB• 
  • 10. MySQL 5.6: Optimizer•  EXPLAIN •  INSERT, UPDATE, DELETE •  JSON•  InnoDB•  Optimizer Traces
  • 11. MySQL 5.6 –•  & •  &•  I/O & •  &•  & •  &•  I/O& •  & •  & •  & &
  • 12. MySQL&5.6:&InnoDB&–&Improvements&  -  mutex CPU -  -  -  SSD  -  ( ) OS -  NoSQL, InnoDB
  • 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. MySQL 5.6: ReplicationLargest EVER set of Enhancements
  • 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. 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. ID•  / – • •  Master GTID=123456 GTID=123456 GTID=123456 GTID=123456
  • 18. HA •  •  –  mysqlfailoverFailedMaster •  –  mysqlrpladmin Promoted Monitoring HA Utilities Master •  MySQL HA –  –  HA Slaves
  • 19. MySQL Workflow for Replication Check Repl Show HA•  Check:•  Repl:•  Show:•  HA:•  Python –  MySQL Workbench (LaunchPad ) – 
  • 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. MySQL 5.6 RC dev.mysql.com/downloads/mysql [Development Release]
  • 22. MySQL&CLUSTER&7.3&&
  • 23. :& &HLR / HSS , , & •  •  3 •  & = , , VLR MySQL Cluster in Action: http://bit.ly/oRI5tF
  • 24. :& & •  •  •  •  •  •  •  •  •  •  & •  4 MySQL Cluster Linux WindowsMySQL User Conference Session: http://bit.ly/ogeid3
  • 25. MySQL&Cluster& & JPA REST LDAP 1 2 1 3 F1 F2 F3 F4 4 2 F3 F4 F1 F2
  • 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. 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. && •  & & •  DR&&& & •  & •  &/& & & •  & & &
  • 29. & •  & & & –  & & 1& &1& & 2& & & –  & & 2& •  & 3& 4& & •  & / &
  • 30. SQL NoSQL & SQL& NoSQL & JDBC / ODBC PHP / PERLmemcached HTTP/REST Python / Ruby NDB API•  SQL:•  HTTP / memcached: Web•  Java:•  NDB API:
  • 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. MySQL&ConnecthXp://goo.gl/78M8g&MySQL&Tech&Tour&hXp://goo.gl/01FnD
  • 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