SlideShare a Scribd company logo
1 of 33
Download to read offline
MySQL 5.6
              @RKajiyama
            MySQL
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/Features
MySQL Enterprise Monitor 2.2
                               Certifications                 New MySQL Enterprise
MySQL Cluster 7.1
                               MySQL Windows Installer        Commercial Extensions
MySQL Cluster Manager 1.0
                               New MySQL Enterprise
MySQL Workbench 5.2            Commercial Extensions
MySQL Database 5.5                                                    All GA!
                                      All GA!                 MySQL Database 5.6 RC
MySQL Enterprise Backup 3.5
                                                              MySQL Cluster 7.3 DMR
MySQL Enterprise Monitor 2.3   MySQL Database 5.6 DMR*
                                                              MySQL Cluster features in
MySQL 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
The world's most popular open source database
MySQL&Database&


DML   DDL
MySQL
• 
     – 
     – 
• 
     – 
• 
     – 
• 
     – 
     – 
     – 
MySQL&Server                                         &
•    Facebook&–& 10    &                                                  SNS&
     –               MySQL                           &
          •                      memcached                            &
          •                                      (2008 1   →2010   4 )&
          •                      *                                  &
               *&MySQL                       &
          •                          &
                –  1,300                     &
                –        3,700           &
                –        350         &
                –  440 IOPS&
MySQL&5.6&RC&
MySQL&5.6:&
•                 :&&          &
•                        :&&
•  InnoDB:&
•                   :&
•    NotOnlySQL          :&
MySQL 5.6.4:
• 
•  LIMIT
     •  3          – 40      10
• 
     •            – 15     90
• 
     •           – 2000      10
•  FROM
     •  EXPLAIN                240      –8     2
•  INSERT UPDATE        DELETE         EXPLAIN
•                           - InnoDB
• 
MySQL 5.6: Optimizer


•  EXPLAIN
  •  INSERT, UPDATE, DELETE
  •  JSON
•  InnoDB

•  Optimizer Traces
MySQL 5.6 –

•                             &
      •                                            &
•                            I/O       &
      •                                        &
•                                  &
      •                                                    &
•                     I/O&
           •                               &
     •            &
           •  &                                        &
MySQL&5.6:&InnoDB&–&Improvements&
 
     -     mutex        CPU
     - 
     - 
     -  SSD
 
     -      (            ) OS
     -  NoSQL, InnoDB
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
 
     - 
MySQL 5.6: Replication
Largest EVER set of Enhancements
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
• 
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
ID
• 
          /
     – 
• 
• 
              Master
                            GTID=123456

              GTID=123456

                            GTID=123456 GTID=123456
HA
                      • 
                      • 
                           –  mysqlfailover
Failed
Master                • 
                           –  mysqlrpladmin
         Promoted          Monitoring              HA Utilities
         Master
                      •  MySQL                HA
                         – 
                         –  HA

             Slaves
MySQL
         Workflow for Replication

     Check              Repl        Show             HA


•  Check:
•  Repl:
•  Show:
•  HA:
•  Python
   –  MySQL Workbench               (LaunchPad   )
   – 
MySQL                           – InnoDB
   NotOnlySQL: Memcached API
                                           •  InnoDB
                                               •  Memcached API
   SQL                        NoSQL            •        Memcached
MySQL                          Memcached       •  SQL
                                           •  NotOnlySQL
mysqld                                         • 
        MySQL Server   Memcached
                                               •             JOIN FK
                                                  SQL
        InnoDB                             • 
                                               •  mysqld Memcached

                                             •           InnoDB API
                                                  Memcached
            labs.mysql.com/                  • 
MySQL 5.6 RC




   dev.mysql.com/downloads/mysql
     [Development Release]
MySQL&CLUSTER&7.3&
&
:&                                       &
HLR / HSS


                                         ,
                                             ,
             &


                 • 
                 •  3
                 •           &                   =

 ,   , VLR       MySQL Cluster in Action: http://bit.ly/oRI5tF
:&                                                &
                             • 
                             • 
                                  • 
                                  • 
                                  • 
                                  • 
                             • 
                                  • 
                                  • 
                                  •                   &

                             •  4    MySQL Cluster        Linux
                                Windows
MySQL User Conference Session: http://bit.ly/ogeid3
MySQL&Cluster&                      &

        JPA      REST   LDAP




          1                     2
    1




                          3
         F1                    F2
         F3                    F4




                          4
    2




         F3                    F4
         F1                    F2
Comparing MySQL Cluster Performance
8x 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
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
&
&
    •                     &
                                  &
         •  DR&&&             &
         •                    &
    •               &/&           &
                                              &
         •                                &
                                          &
                              &
&
                                     •                 &
                                                                            &
          &                               –        &
      &               1&                                                    &
1&
              &
                                2&                                      &
                  &                       – 
          &                                                                         &
                      2&             •                          &
 3&                        4&                               &
                                     •                     &
                                               /                                &
SQL NoSQL                                      &
                SQL&    NoSQL           &

                                      JDBC / ODBC
                                       PHP / PERL
memcached   HTTP/REST                   Python /
                                         Ruby
                    NDB API




•  SQL:
•  HTTP / memcached:            Web
•  Java:
•  NDB API:
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
MySQL&Connect
hXp://goo.gl/78M8g&
MySQL&Tech&Tour&
hXp://goo.gl/01FnD
MySQL Server - GA
5.5   InnoDB Plugin
              (Semi-synchronous)

      MySQL Server – RC
5.6   NoSQL

      MySQL Cluster - GA
7.2   JOIN


      MySQL Cluster - DMR
7.3   Node.jp API

More Related Content

What's hot

A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
Insight Technology, Inc.
 
MariaDB 10 and what's new with the project
MariaDB 10 and what's new with the projectMariaDB 10 and what's new with the project
MariaDB 10 and what's new with the project
Colin Charles
 
2012 ohiolinuxfest replication
2012 ohiolinuxfest replication2012 ohiolinuxfest replication
2012 ohiolinuxfest replication
sqlhjalp
 
2012 replication
2012 replication2012 replication
2012 replication
sqlhjalp
 

What's hot (20)

The Dolphins Leap Again
The Dolphins Leap AgainThe Dolphins Leap Again
The Dolphins Leap Again
 
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
 
My sql crashcourse_2012
My sql crashcourse_2012My sql crashcourse_2012
My sql crashcourse_2012
 
My sql susecon_crashcourse_2012
My sql susecon_crashcourse_2012My sql susecon_crashcourse_2012
My sql susecon_crashcourse_2012
 
MariaDB 10 and what's new with the project
MariaDB 10 and what's new with the projectMariaDB 10 and what's new with the project
MariaDB 10 and what's new with the project
 
Why MariaDB?
Why MariaDB?Why MariaDB?
Why MariaDB?
 
MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC
 
MariaDB 10: The Complete Tutorial
MariaDB 10: The Complete TutorialMariaDB 10: The Complete Tutorial
MariaDB 10: The Complete Tutorial
 
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB ClusterMySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
 
MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014
 
MariaDB 5.5 and what comes next - Percona Live NYC 2012
MariaDB 5.5 and what comes next - Percona Live NYC 2012MariaDB 5.5 and what comes next - Percona Live NYC 2012
MariaDB 5.5 and what comes next - Percona Live NYC 2012
 
Introduction to MariaDB
Introduction to MariaDBIntroduction to MariaDB
Introduction to MariaDB
 
2012 scale replication
2012 scale replication2012 scale replication
2012 scale replication
 
Mysql nowwhat
Mysql nowwhatMysql nowwhat
Mysql nowwhat
 
MariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live LondonMariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live London
 
OpenWorld 2014 - Schema Management: versioning and automation with Puppet and...
OpenWorld 2014 - Schema Management: versioning and automation with Puppet and...OpenWorld 2014 - Schema Management: versioning and automation with Puppet and...
OpenWorld 2014 - Schema Management: versioning and automation with Puppet and...
 
2012 ohiolinuxfest replication
2012 ohiolinuxfest replication2012 ohiolinuxfest replication
2012 ohiolinuxfest replication
 
2012 replication
2012 replication2012 replication
2012 replication
 
MySQL Document Store
MySQL Document StoreMySQL Document Store
MySQL Document Store
 
MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)
 

Similar to 2012.10.20 OSC 2012 Hiroshima

My sql 56_roadmap_april2012_zht2
My sql 56_roadmap_april2012_zht2My sql 56_roadmap_april2012_zht2
My sql 56_roadmap_april2012_zht2
Ivan Tu
 
What's New in MySQL 5.6
What's New in MySQL 5.6What's New in MySQL 5.6
What's New in MySQL 5.6
Santo Leto
 
My sqlstrategyroadmap
My sqlstrategyroadmapMy sqlstrategyroadmap
My sqlstrategyroadmap
slidethanks
 
Technology Day 2011 MySQL & MariaDB
Technology Day 2011 MySQL & MariaDBTechnology Day 2011 MySQL & MariaDB
Technology Day 2011 MySQL & MariaDB
Dan-Claudiu Dragoș
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB ClusterWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Continuent
 
MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0
IDG Romania
 

Similar to 2012.10.20 OSC 2012 Hiroshima (20)

20111121 osi keynote
20111121 osi keynote20111121 osi keynote
20111121 osi keynote
 
MySQL State of the Dolphin - Rich Mason
MySQL State of the Dolphin - Rich MasonMySQL State of the Dolphin - Rich Mason
MySQL State of the Dolphin - Rich Mason
 
My sql 56_roadmap_april2012_zht2
My sql 56_roadmap_april2012_zht2My sql 56_roadmap_april2012_zht2
My sql 56_roadmap_april2012_zht2
 
What's New in MySQL 5.6
What's New in MySQL 5.6What's New in MySQL 5.6
What's New in MySQL 5.6
 
My sqlstrategyroadmap
My sqlstrategyroadmapMy sqlstrategyroadmap
My sqlstrategyroadmap
 
MySQL Strategy&Roadmap
MySQL Strategy&RoadmapMySQL Strategy&Roadmap
MySQL Strategy&Roadmap
 
High Performance Rails with MySQL
High Performance Rails with MySQLHigh Performance Rails with MySQL
High Performance Rails with MySQL
 
Technology Day 2011 MySQL & MariaDB
Technology Day 2011 MySQL & MariaDBTechnology Day 2011 MySQL & MariaDB
Technology Day 2011 MySQL & MariaDB
 
Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015
 
MySQL Latest News
MySQL Latest NewsMySQL Latest News
MySQL Latest News
 
视觉中国的MongoDB应用实践(QConBeijing2011)
视觉中国的MongoDB应用实践(QConBeijing2011)视觉中国的MongoDB应用实践(QConBeijing2011)
视觉中国的MongoDB应用实践(QConBeijing2011)
 
MariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQLMariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQL
 
MongoDB开发应用实践
MongoDB开发应用实践MongoDB开发应用实践
MongoDB开发应用实践
 
My sql 56_roadmap_april2012
My sql 56_roadmap_april2012My sql 56_roadmap_april2012
My sql 56_roadmap_april2012
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB ClusterWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
 
MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0
 
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
 
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdfMySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
 
The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016
 
Posscon my sql56
Posscon my sql56Posscon my sql56
Posscon my sql56
 

More from Ryusuke Kajiyama

MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
Ryusuke Kajiyama
 

More from Ryusuke Kajiyama (20)

[OSC 2020 Online/Nagoya] MySQLドキュメントストア
[OSC 2020 Online/Nagoya] MySQLドキュメントストア[OSC 2020 Online/Nagoya] MySQLドキュメントストア
[OSC 2020 Online/Nagoya] MySQLドキュメントストア
 
[OSC 2020 Osaka] MySQL"超"入門
[OSC 2020 Osaka] MySQL"超"入門[OSC 2020 Osaka] MySQL"超"入門
[OSC 2020 Osaka] MySQL"超"入門
 
[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能
[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能
[中国地方DB勉強会] 第22回 Webアプリ開発をデータベース側から変革していく - MySQL 8.0新機能
 
[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0
[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0
[OSC 2017 Tokyo/Fall] OSSコンソーシアム DB部会 MySQL 8.0
 
[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合
[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合
[db tech showcase 2017 Tokyo] D31 - MySQL 8.0の日本語キャラクタ・セットと文字照合
 
[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状
[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状
[db tech showcase 2017 Tokyo] A23 - MySQLのセキュリティ関連機能の現状
 
2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」
2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」
2017年5月26日 オープンソースデータベース比較セミナー「NoSQLとしても使えるMySQLとMySQL Cluster」
 
第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーション
第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーション第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーション
第20回 中国地方DB勉強会 in 岡山 MySQLレプリケーション
 
[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデート
[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデート[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデート
[Java Küche RDB 最前線 2015] MySQL 5.7技術アップデート
 
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL as document database!?
 
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7
[db tech showcase 2015 Sapporo HOKKAIDO] MySQL 5.7
 
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCTWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RC
 
TWJUG August, MySQL JDBC Driver "Connector/J"
TWJUG August, MySQL JDBC Driver "Connector/J"TWJUG August, MySQL JDBC Driver "Connector/J"
TWJUG August, MySQL JDBC Driver "Connector/J"
 
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
MySQL 5.7 & 最新開発状況 @ オープンソースカンファレンス20
 
MySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQL
MySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQLMySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQL
MySQLのNoSQL機能 - MySQL JSON & HTTP Plugin for MySQL
 
第九回中国地方DB勉強会 in 米子 MySQL 5.7+
第九回中国地方DB勉強会 in 米子 MySQL 5.7+第九回中国地方DB勉強会 in 米子 MySQL 5.7+
第九回中国地方DB勉強会 in 米子 MySQL 5.7+
 
MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)MySQL Cluster as Transactional NoSQL (KVS)
MySQL Cluster as Transactional NoSQL (KVS)
 
20150131 ChugokuDB-Shimane-MySQL
20150131 ChugokuDB-Shimane-MySQL20150131 ChugokuDB-Shimane-MySQL
20150131 ChugokuDB-Shimane-MySQL
 
[Preview] MySQL session at Open Source Conference 2014 .Enterprise Osaka
[Preview] MySQL session at Open Source Conference 2014 .Enterprise Osaka[Preview] MySQL session at Open Source Conference 2014 .Enterprise Osaka
[Preview] MySQL session at Open Source Conference 2014 .Enterprise Osaka
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

2012.10.20 OSC 2012 Hiroshima

  • 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/Features MySQL Enterprise Monitor 2.2 Certifications New MySQL Enterprise MySQL Cluster 7.1 MySQL Windows Installer Commercial Extensions MySQL Cluster Manager 1.0 New MySQL Enterprise MySQL Workbench 5.2 Commercial Extensions MySQL Database 5.5 All GA! All GA! MySQL Database 5.6 RC MySQL Enterprise Backup 3.5 MySQL Cluster 7.3 DMR MySQL Enterprise Monitor 2.3 MySQL Database 5.6 DMR* MySQL Cluster features in MySQL 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 world's most popular open source database
  • 5. MySQL •  –  –  •  –  •  –  •  –  –  – 
  • 6. MySQL&Server & •  Facebook&–& 10 & SNS& –  MySQL & •  memcached & •  (2008 1 →2010 4 )& •  * & *&MySQL & •  & –  1,300 & –  3,700 & –  350 & –  440 IOPS&
  • 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: Replication Largest 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 •  •  –  mysqlfailover Failed Master •  –  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 •  Memcached MySQL Memcached •  SQL •  NotOnlySQL mysqld •  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]
  • 23. :& & HLR / HSS , , & •  •  3 •  & = , , VLR MySQL Cluster in Action: http://bit.ly/oRI5tF
  • 24. :& & •  •  •  •  •  •  •  •  •  •  & •  4 MySQL Cluster Linux Windows MySQL 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 Performance 8x 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 / PERL memcached 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
  • 33. MySQL Server - GA 5.5 InnoDB Plugin (Semi-synchronous) MySQL Server – RC 5.6 NoSQL MySQL Cluster - GA 7.2 JOIN MySQL Cluster - DMR 7.3 Node.jp API