state of the dolphin - percona · title: how to use the powerpoint template author: production...
TRANSCRIPT
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
State of the DolphinGeir Høydalsvik
Copyright © 2016, Oracle and/or its affiliates. All rights reserved.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
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.
2
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
20yConstant improvements of MySQL as a relational database.
3
JSON Functions
Stored Procedures
Async Replication
Semi-Sync Replication
Group Replication
Foreign Keys
Performance Schema
Triggers
Partitioning
Sub-queriesDocument Store
Prepared Statements
R-Trees
B-Trees
Row-based Replication
Plugin API
Event Scheduler
Unicode
Full-Text Search
Enterprise Monitor
WorkbenchInnoDB
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
#1 MySQL is the #1 open source database for web-based applications.
Used by 9 of the top 10 web sites.
4
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
New! MySQL Cloud Service
• Oracle Public Cloud
• Managed Database Service (PaaS)
• Powered by MySQL Enterprise Edition
– Support Included
5
Management Access
Oracle Cloud Console MySQL Tools
CLI
REST API
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• UTF-8
– New! Unicode 9.0
– UTF8MB4 will be the default character set
• UUID Improvements
– UUID_TO_BIN()
– BIN_TO_UUID()
– plus IS_UUID()
• New! Bit-wise operations on binary data types
6
• GIS
– Spatial Reference Systems
– Work continues on from MySQL 5.7.
MySQL 8.0: The future is Mobile
25 26 27 28 29
UUID Insert Performance (lower is better)
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• JSON Aggregate Functions
– Continuing the JSON Experience introduced in MySQL 5.7.
• Common Table Expressions
– Simplifies Complex SQL
– Both WITH and WITH RECURSIVE
7
• InnoDB Auto Increment Now Persists
– First reported as BUG #199!
– Auto increment counters written to the REDO log
MySQL 8.0: Developer Features
#1 Feature Requestfrom Developers
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• New! Invisible Indexes
– Lowers Risk for Operations Teams
• New! Role based Management
• Native Data Dictionary
– Improved Server Reliability
– No more FRM files!
– Atomic DDL
– Faster Information Schema
• New! Performance Schema Indexes
8
• New! Persist Configuration
– SET PERSIST
sql_mode='STRICT_TR
ANS_TABLES,NO_ENGIN
E_SUBSTITUTION';
MySQL 8.0: Operations Teams
0 5 10 15 20 25 30 35 40
SYS.Session Query Time (lower is better)
Cloud Friendly
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
• New! Source code documented with Doxygen
• New! Plugin Infrastructure!
• Expanded Query Hints Support
• Improved Scan Query Performance
• Improved BLOB Storage
• Improved Memcached Interface
• Scalability Improvements
• Parser Refactoring
• New! Information_schema variables info
• Improvements to Temporary Tables
• C++11 and Toolchain Improvements
• Replication Applier Thread Progress Reports
• Atomicity in Privileges
• Performance Schema Error Instrumentation
• GTID_PURGED always settable
9
MySQL 8.0: All this and more….
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 11
Scale-OutHigh Performance
Ease-of-UseBuilt-in HA
Out-of-Box SolutionEverything Integrated
MySQLInnoDB
cluster
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 12
A Single Product: MySQL• All components created together
• Tested together
• Packaged together
Flexible and Modern• SQL and NoSQL in one product
• Protocol Buffers
• Developer friendly
MySQL InnoDB Cluster
Easy to Use • A single client: MySQL Shell
• Easy packaging
• Homogenous servers
Scale-Out• Sharded clusters
• Federated system of N replica sets
• Each replica set manages a shard
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
4 Rollout will happen in four steps.
13
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 14
Read Scale-Out
Async Replication + Auto Failover
Write Scale-Out
Sharding
S1
S2
S3
S4
MySQL Mission – 4 Steps
Timeline
MySQL Document Store
Relational & Document Model
MySQL HA
Out-Of-Box HA
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL
InnoDBcluster
MySQL InnoDB Cluster – Architecture - S2
M
M M
MySQL Connector
Application
MySQL Router
MySQL Connector
Application
MySQL Router
MySQL Shell
HA
Group Replication
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
S1 S2 S3 S4 S…
M
M M
MySQL Connector
Application
MySQL Router
MySQL Connector
Application
MySQL Router
MySQL Shell
HA
MySQL InnoDB Cluster – Architecture - S3 MySQL
InnoDBcluster
Read-Only Slaves
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
S1 S2 S3 S4 S…
M
M M
MySQL Connector
Application
MySQL Router
MySQL Connector
Application
MySQL Router
MySQL Shell
HA
Rep
licaS
et (
Shar
d 1
)
S1 S2 S3 S4 S…
M
M M
MySQL Connector
Application
MySQL Router
HA
Rep
licaS
et (
Shar
d 2
)
S1 S2 S3 S4
M
M M
HA
Rep
licaS
et (
Shar
d 3
)
MySQL Connector
Application
MySQL Router
MySQL InnoDB Cluster – Architecture - S4 MySQL
InnoDBcluster
…
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Connector
ApplicationMySQL Connector
Application
MySQL Shell
MySQL Connector
Application
MySQL Connector
Application
MySQL InnoDB Cluster – Architecture
MySQLInnoDB
clusterMySQL Enterprise Monitor
…
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL
InnoDBcluster
MySQL InnoDB Cluster – Performance
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 21
The Demo Showed…
• MySQL HA in 4 minutes
• Very easy, even for somebody new to MySQL
• Everything managed through MySQL Shell
• Convenient, easy-to-use AdminAPI
MySQL
InnoDBcluster
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
1 One seamless solution for HA: Easy-to-Use, Out-of-Box, Scale-Out.
22
MySQL
InnoDBcluster
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 24
Read Scale-Out
Async Replication + Auto Failover
Write Scale-Out
Sharding
S1
S2
S3
S4
MySQL Mission – 4 Steps
Timeline
Download Preview Release fromlabs.mysql.com
MySQL Document Store
Relational & Document Model
MySQL HA
Out-Of-Box HA