1. MySQL Update Aug 2012
Š 2011 Oracle Corporation â Proprietary and Confidential 1
2. Safe Harbor Statement
The following is intended to outline our general product
direction. It is intended for information purposes only, and may
not be incorporated into any contract. It is not a commitment
to deliver any material, code, or functionality, and should not
be relied upon in making purchasing decisions.
The development, release, and timing of any features or
functionality described for Oracleâs products remains at the
sole discretion of Oracle.
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
3. MySQL Completes The Stack
⢠Best of Breed at Every Level
⢠Built & Tested together
⢠Managed together
⢠Serviced together
⢠Based on open standards
⢠Lower cost
⢠Lower risk
⢠More reliable
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
4. UNMATCHED INVESTMENT InnoDB
REPLICATION
PERFORMANCE IMPROVEMENTS EMBEDDED
CLOUD WINDOWS HUNDREDS OF EXPERTS
STRATEGIC
WORLD-CLASS SUPPORT
MySQL CLUSTER
WEB
NoSQL LINUX MySQL ENTERPRISE EDITION
LARGEST MySQL ENGINEERING & SUPPORT ORGANIZATION
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
7. MySQL 5.6: A Better MySQL
⢠MySQL 5.6 builds on MySQL 5.5 by
improving:
⢠Optimizer for better Performance, Scalability
⢠Performance Schema for better instrumentation
⢠InnoDB for better transactional throughput
⢠Replication for higher availability, data integrity
⢠âNotOnlySQLâ options for more flexibility
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
8. MySQL 5.6: InnoDB
⢠Better Performance, Scale Transactional by Default
⢠Improved thread concurrency, LRU flushing
⢠Reduced contention during file extension
⢠Increase max redo log size
⢠Separate tablespaces for undo log
⢠Fast checksum
⢠Better Recovery
⢠Dump and restore buffer pool
⢠Better Usability
⢠Full-text Search > 95% of MySQL apps run InnoDB
⢠Variable page sizes â 4k, 8k
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
9. MySQL 5.6: Replication
Largest EVER set of Enhancements
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
10. 5x Higher Replication Performance
⢠SysBench, running across 10 x schemas
⢠Oracle Linux 6.1, Oracle Sun Fire x4150 m2 Server
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
11. Global Transaction Identifiers
⢠Simple to track & compare replication across the
cluster
â Unique identifier for each transaction written to the
Binlog
⢠Automatically identify the most up-to-date slave for
failover Master
GTID=123456
⢠Deploy n-tier replication hierarchies
GTID=123456
GTID=123456 GTID=123456
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
12. Replication HA Utilities
⢠Enabling self-healing replication
topologies
⢠Automated failover & recovery
Failed â mysqlfailover Utility
Master
⢠Switchover & administration
â mysqlrpladmin Utility
Promoted Monitoring HA Utilities
Master
⢠Delivers HA within the core MySQL
distribution
â Eliminates the need for 3rd party
Slaves solutions
â Allows extensibility to support variety
of HA mechanisms
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
13. Growing Suite of MySQL Utilities
Workflow for Replication
Check Repl Show HA
⢠Check: Verifying pre-requisites for Replication
⢠Repl: Initiating Replication to the new slave
⢠Show: Displaying Replication topology
⢠HA: Detecting and failing-over from master to slave. Monitoring status.
⢠Implemented as Python scripts
â Available from LaunchPad or as a plug-in for MySQL Workbench
â Extensible to include custom scripting
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
14. MySQL 5.6: Optimizer
⢠Subquery Optimizations
⢠File sort optimizations with small limit
â˘4X better execution time â 40s to 10s
⢠Index Condition Pushdown
â˘160X Better execution time â 15s to 90ms
⢠Postpone Materialization of views/subqueries in FROM
â˘240X better execution time for EXPLAIN â 8m to 2s
⢠Batched Key Access and Multi Range Read
â˘280X Better execution time â 2800s to 10s
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
15. MySQL 5.6: Optimizer
Better Diagnostics and Debugging
⢠EXPLAIN
⢠INSERT, UPDATE, and DELETE
⢠JSON format for better readability
⢠Persistent Optimizer Statistics - InnoDB
⢠Optimizer Traces
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
16. MySQL 5.6: Optimizer
Batched Key Access (BKA) & Multi Range Read
Improve performance of disk-bound join queries
5000
Execution time
2821
without MRR + BKA
1225
Query Time (secs)
500
DBT3 Q13: âCustomer Distribution
No BKA
BKA
50 Queryâ
9.63 Execution time
5
0 8 16 24 32 40 48 56 64
with MRR + BKA
Join Buffer Size (MB)
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
17. MySQL 5.6: Performance Schema Instrumentation
Improved Database Profiling/Application Tuning â Less Than 5% Overhead
⢠Statements/Stages
⢠Most resource intensive queries? Where do they spend time?
⢠Table/Index I/O, Table Locks
⢠Which application tables/indexes cause the most load or contention?
⢠Users/Hosts/Accounts
⢠Which application users/hosts/apps consume the most resources?
⢠Network I/O
⢠Network loaded? How long do sessions idle?
⢠Summaries
⢠Aggregate stats grouped by thread, user, host, account or object
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
18. Evaluate MySQL 5.6 TODAY
dev.mysql.com/downloads/mysql
Select Development Release tab
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
19. Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
20. InnoDB
Early Access Features
⢠âNotOnlySQLâ Key-value access to InnoDB data
â˘Online Operations (INDEX add, FK Drop, Column
rename)....more to come
â˘Removal of LOCK_open as a bottleneck
â˘Removal of CPU cache sharings as a bottleneck
â˘Improved InnoDB flushing
Try it Today!
labs.mysql.com/
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
21. InnoDB Performance Improvements
12000 ⢠Up to 2.8x higher
10000
performance
⢠Removal of LOCK_open
Queriesper Second
8000
⢠Removal of CPU cache
6000
MySQL 5.6.5 sharings
4000 MySQL 5.6.June ⢠InnoDB flushing
2000 ⢠Sysbench R/W
0 ⢠8 x Socket / 6-core Intel
24 32 64 96 128 Xeon 7540, 2GHz
Threads
⢠512GB RAM
⢠SSD
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
22. Key-value Access to InnoDB Data
⢠Fast, simple access to InnoDB
⢠via Memcached API
Application
⢠Use existing Memcached clients
SQL NoSQL
(MySQL Client) (Memcached ⢠Bypasses SQL parsing
Protocol) ⢠NotOnlySQL access
mysqld
MySQL Server Memcached plugin ⢠For key-value operations
⢠SQL for rich queries, JOINs, FKs, etc.
InnoDB Storage Engine ⢠Implementation
⢠Memcached plug-in to mysqld
⢠Memcached mapped to native InnoDB
Try it Today! API
labs.mysql.com/ ⢠Shared process for ultra-low latency
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
23. Binary Log Group Commit New!
Early Access Features
Binary Log
T1 T2
Session
T3 T4
⢠Increases performance
Group ⢠Commits multiple
commit transactions as a group to
Master Database Binlog on disk
Try it Today!
labs.mysql.com/
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
24. Binary Log Group Commit New!
Performance
10000 ⢠Up to 2.3x with binlog
9000
8000
configured versus 5.6.5
MySQL 5.6 June
with no binlog
Queriesper Second
7000 â sync_binlog =
MySQL 5.6.5 - No
6000 1
5000
Binlog ⢠Up to 3.5x faster with
MySQL 5.6.
4000 MySQL 5.6.5 -
â No Binlog
sync_binlog = 1
binlog configured
3000
2000 MySQL 5.6 June - ⢠Sysbench R/W
MySQL 5.6.5 â
sync_binlog = 1
1000 sync_binlog = ⢠8 x Socket / 6-core Intel
1
0
24 32 64 96 128
Xeon 7540, 2GHz
Threads ⢠512GB RAM
⢠SSD
Sync_binlog = 1
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
25. Binary Log Group Commit New!
Performance Impact
⢠11% average with
sync_binlog = 0
⢠0%10% with sync_binlog =
1 above 48 threads
⢠20% at lower thread counts
⢠Sysbench R/W
⢠8 x Socket / 6-core Intel Xeon
7540, 2GHz
⢠512GB RAM
⢠SSD
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
26. MySQL 5.6: A Better MySQL
⢠Optimizer: Up to 280X Better Execution Time
⢠Replication: Up to 5X Higher Performance, Self-Healing
⢠InnoDB: Better Performance, Scalability, NoSQL,
Recovery and Usability
⢠Plus, Performance Schema, MySQL Utilities
Best Open Source Product 2011 Award by CRN
âMySQL 5.6 ⌠includes significant advances in text-based search
inside a database, as well as performance enhancements... MySQL
5.6 is firmly in place as the strongest open-source database.â
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
28. MySQL Cluster 7.2
Fastest Growing Release EVER
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
29. Comparing MySQL Cluster Performance
8x Higher Performance per Node
⢠1 Billion+ Reads per Minute, 8 node Intel Xeon cluster
⢠NoSQL C++ API, flexaSynch benchmark
⢠Multi-Threaded Data Node Extensions
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
30. ⢠30 x Intel E5-2600 Intel Servers
⢠NoSQL C++ API, flexaSynch benchmark
⢠ACID Transactions, with Synchronous Replication
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
31. MySQL Cluster 7.3 New!
Early Access Features
⢠Foreign Keys
- Design Goal: compatibility to InnoDB
- Natively implemented in the data layer
- Accessible from SQL and NoSQL access layer
- Online add/drop foreign keys
Blending SQL &
NoSQL
Try it Today -- labs.mysql.com
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
32. MySQL Connect
September 29-30, San Francisco
⢠Keynotes, Breakout Sessions, Hands-On Labs and BOFs
⢠Boost Your MySQL Skills in Two Days
⢠Share & Network with the MySQL Community
⢠Meet the Engineers Behind the Latest Code
⢠Talk to the Experts in the MySQL Support Team
⢠Learn About the New Features and Roadmaps
oracle.com/mysqlconnect
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
33. MySQL Connect - Keynotes
Saturday, 9.00 am PT
The State of The Dolphin
Join Oracle Executive Vice President
Edward Screven and MySQL Vice
President of Engineering Tomas Ulin to
hear about Oracleâs MySQL strategy, and
the key latest developments including
product releases, roadmap and
community.
Additional Keynotes to be announcedâŚ
oracle.com/mysqlconnec
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
34. MySQL Connect
Breakout Sessions
⢠Over 65 technical breakout sessions
⢠Oracle MySQL Engineers on MySQL 5.6 new features,
InnoDB, Replication, Backup, Optmizer, MySQL
Cluster, Security, Performance & scalabilityâŚand
more!
⢠Case Studies from users and customers
⢠Sessions from partners and community members
oracle.com/mysqlconnec
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
35. MySQL Connect
Birds-of-a-feather, Hands-On Labs
⢠BOFs on Backup, MySQL 5.6 replication, Optimizer,
Community...and more
⢠Hands-On Labs running throughout the two days
on Performance schema, MySQL Utilities, Getting
started with MySQL, Security, MySQL ClusterâŚand
more
oracle.com/mysqlconnec
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
36. MySQL Connect
âŚAnd
⢠Exhibit hall
⢠Demo pods
⢠Saturday evening reception
⢠Taylor Street Open House Sunday Reception
⢠Sponsorship and Exhibit opportunities
ď Register Now! Early Bird Rate until July 27: Save $500
oracle.com/mysqlconnec
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
37. ORACLE DRIVES MySQL
INNOVATION
BEST OF BREED SOLUTIONS FOR NEXT
GENERATION WEB APPLICATIONS
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
38. David.Stokes @ Oracle.com
slideshare.net/davestokes/presentations
Copyright Š 2012 Oracle and/or its affiliates. All rights reserved.
Hinweis der Redaktion
The key point Iâd like to get across today is that Oracle Drives MySQL Innovation Weâre delivering more and better products than ever before in MySQLâs history Weâre improving the MySQL experience: For MySQL users, for example delivering many new features available to all in the DMR of MySQL 5.6 and MySQL Cluster 7.2, as well as for early testing via labs.mysql.com For customers using MySQL Enterprise Edition, providing them with new added value features and tools For folks using Linux, Windows and other platforms For Oracle customers using or considering to use MySQL in their environment And we can do all this because: Largest MySQL Engineering & Support Organization Hundreds of Experts, including Core MySQL Engineers plus Oracle Performance and Database Gurus Improved Engineering Processes Oracleâs Human and Capital Investment in MySQL is unmatched
Letâs look at each of these areas in a bit more detail.
The key point Iâd like to get across today is that Oracle Drives MySQL Innovation Weâre delivering more and better products than ever before in MySQLâs history Weâre improving the MySQL experience: For MySQL users, for example delivering many new features available to all in the DMR of MySQL 5.6 and MySQL Cluster 7.2, as well as for early testing via labs.mysql.com For customers using MySQL Enterprise Edition, providing them with new added value features and tools For folks using Linux, Windows and other platforms For Oracle customers using or considering to use MySQL in their environment And we can do all this because: Largest MySQL Engineering & Support Organization Hundreds of Experts, including Core MySQL Engineers plus Oracle Performance and Database Gurus Improved Engineering Processes Oracleâs Human and Capital Investment in MySQL is unmatched
The key point Iâd like to get across today is that Oracle Drives MySQL Innovation Weâre delivering more and better products than ever before in MySQLâs history Weâre improving the MySQL experience: For MySQL users, for example delivering many new features available to all in the DMR of MySQL 5.6 and MySQL Cluster 7.2, as well as for early testing via labs.mysql.com For customers using MySQL Enterprise Edition, providing them with new added value features and tools For folks using Linux, Windows and other platforms For Oracle customers using or considering to use MySQL in their environment And we can do all this because: Largest MySQL Engineering & Support Organization Hundreds of Experts, including Core MySQL Engineers plus Oracle Performance and Database Gurus Improved Engineering Processes Oracleâs Human and Capital Investment in MySQL is unmatched
- Removal of the infamous LOCK_open as a bottleneck, replaced by a configurable number of table caches. - Removal of a number of false CPU cache sharings that in some cases was a significant bottleneck to the MySQL Server - Improved flushing in InnoDB to remove performance dips and get a much more stable performance
Letâs look at each of these areas in a bit more detail.
- Removal of the infamous LOCK_open as a bottleneck, replaced by a configurable number of table caches. - Removal of a number of false CPU cache sharings that in some cases was a significant bottleneck to the MySQL Server - Improved flushing in InnoDB to remove performance dips and get a much more stable performance
Oracle Drives MySQL Innovation Complementary to the Oracle Database and Other Oracle offerings Best of Breed & Best of Both Worlds MySQL Solutions for Web Applications Strong MySQL Momentum MySQL Ubiquitous in the Cloud