SlideShare a Scribd company logo
1 of 57
Download to read offline
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Ivan Ma
Ivan-cs.ma@oracle.com
2018-04-20
Copyright © 2017, 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.
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
The world's most popular open source database
8.0
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
The world's most popular open source database
8.0
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Scalable &Stable
Better handling of high
contention, improved
security, and minimizing
downtime
Data Driven
Optimizing services with real
time data analysis
Developer First
Hybrid data model and data
access APIs for flexibility for
developers
Mobile Friendly
Ready for location based
services. Handling Emoji
and Unicode characters
MySQL 8.0 : Enables Modern Web Applications
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 7
24x7at Scale
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Before MySQL 8.0
Transactional Data Dictionary in MySQL 8.0
Atomic DDL
9
Data Dictionary
Data Dict
Storage
Engine
SQL
DD TableDD TableDD Table
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Example - DROP SCHEMA at high level
10
MySQL 5.7
• Delete tables
– Metadata, TRN/TRG/FRM files
– Data, InnoDB tables
• Delete stored programs
– Metadata, rows in MyISAM (non-
transactional)
• Delete schema
– Metadata, DB.OPT file
Mix of filesystem, non-
transactional/transactional
storage and multiple commits
MySQL 8.0
• Delete tables
– Metadata, rows in InnoDB
– Data, InnoDB tables
• Delete stored programs
– Metadata, rows in InnoDB
• Delete schema
– Metadata, rows in InnoDB
Updates to transactional storage,
one commit
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 11
100 schemas times 50 tables (5000 tables)
INFORMATION_SCHEMA Performance
0 0.5 1 1.5 2 2.5 3 3.5 4
Count All Schemas
Schema aggregate size stats
All Dynamic Table Info
All Static Table Info
Auto Increments Near Limit
Count All Columns
Count All Indexes
MySQL 8.0
MySQL 5.7
Time in Seconds (Lower is better)
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL 8.0 : Flexibility for Developers
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Hybrid APISQL FunctionData Type
MySQL X DevAPIJSON FunctionsJSON Datatype
13
Hybrid CRUD API of both SQL
and NoSQL provides more
flexibility for development
Various SQL functions
to search and modify JSON.
Analysing JSON with SQL by
converting into table with
JSON_TABLE()
Seamlessly managing
“unstructured” data in
RDBMS tables with efficient
update performance
{ } ();
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 14
Flexible Schema
CREATE TABLE seats (
id INT not null PRIMARY KEY,
venue_id INT,
doc JSON )
ENGINE=INNODB;
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
• MySQL Server 5.7 or 8.0
• JSON Datatype, JSON Function (5.7)
• Added Partial in-place JSON update (8.0)
• Replication Efficiency :
binlog_row_value_options=PARTIAL_JSON (8.0)
• more JSON functions (8.0)
JSON_TABLE, JSON_STORAGE_FREE,
JSON_STORAGE_SIZE, JSON_MERGE_PATH, …
• MySQL X Plugin & X Protocol
• Introduces X Protocol for relational- and
document operations
• Maps CRUD operations to standard SQL (relational
tables, JSON datatype and functions)
• X DevAPI
• New, modern, async developer API for CRUD and
SQL operations on top of X Protocol
• Introduces Collections as new Schema obj.
• MySQL Shell
• Offers interactive X DevAPI mode for app
prototyping
• MySQL Connectors
• Support for X DevAPI and X Session
15
MySQL Document Store – Components
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 16
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
JSON Functions
17
MySQL 5.7 and 8.0
JSON_ARRAY_APPEND()
JSON_ARRAY_INSERT()
JSON_ARRAY()
JSON_CONTAINS_PATH()
JSON_CONTAINS()
JSON_DEPTH()
JSON_EXTRACT()
JSON_INSERT()
JSON_KEYS()
JSON_LENGTH()
JSON_MERGE[_PRESERVE]()
JSON_OBJECT()
JSON_QUOTE()
JSON_REMOVE()
JSON_REPLACE()
JSON_SEARCH()
JSON_SET()
JSON_TYPE()
JSON_UNQUOTE()
JSON_VALID()
JSON_PRETTY()
JSON_STORAGE_SIZE()
JSON_STORAGE_FREE()
JSON_ARRAYAGG()
JSON_OBJECTAGG()
JSON_MERGE_PATCH()
JSON_TABLE()
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Table  JSON
18
https://mysqlserverteam.com/mysql-8-0-from-sql-tables-to-json-documents-and-back-again/
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
JSONTABLE
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
X Dev API
• MySQL Connectors include X Dev API
• Use SQL, CRUD APIs
20
Operation Document Relational
Create Collection.add() Table.insert()
Read Collection.find() Table.select()
Update Collection.modify() Table.update()
Delete Collection.remove() Table.delete()
http://dev.mysql.com/doc/x-devapi-userguide/en/crud-operations-overview.html
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Window FunctionCommon Table Expressions (CTEs)
• Alternative to derived table of subquery,
so called “WITH clause”
• For improvement of readability and
performance
• Frequently requested feature for data
analysis like ranking of data
• Calculation across a set of rows that are
related to the current row
WITH tickets_filtered AS (
SELECT tickets.*, seats.doc
FROM tickets
INNER JOIN seats ON
tickets.seat_id = seats.id
WHERE tickets.event_id = 3
)
SELECT * FROM tickets_filtered
WHERE doc->"$.section" = 201G
SELECT name, dept_id, salary,
RANK() OVER w AS `rank`
FROM employee
WINDOW w AS
(PARTITION BY dept_id
ORDER BY salary DESC);
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Window function: RANK
22
SELECT name, dept_id AS dept, salary,
RANK() OVER w AS `rank`
FROM employee
WINDOW w AS (PARTITION BY dept_id
ORDER BY salary DESC);
name dept_id salary rank
Newt NULL 75000 1
Ed 10 100000 1
Newt 10 80000 2
Fred 10 70000 3
Michael 10 70000 3
Jon 10 60000 5
Dag 10 NULL 6
Pete 20 65000 1
Lebedev 20 65000 1
Jeff 30 300000 1
Will 30 70000 2
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
SELECT MONTH(date), SUM(sale),
AVG(SUM(sale)) OVER w AS sliding_avg
FROM sales
GROUP BY MONTH(date)
WINDOW w AS (ORDER BY MONTH(date)
RANGE BETWEEN 1 PRECEDING AND 1 FOLLOWING);
23
v
Month = 7
Month = 7
Month = 8
Month = 8
Sum (month 8) = 250
Sum (month 7) = 1200
可读性-高 !
Windows Function – Moving Average
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
WITH tickets_filtered AS (
SELECT tickets.*, seats.doc
FROM tickets
INNER JOIN seats ON tickets.seat_id=seats.id
WHERE tickets.event_id = 3
)
SELECT * FROM tickets_filtered
WHERE doc->"$.section" = 201G
*************************** 1. row ***************************
id: 14447
event_id: 3
seat_id: 16430
order_id: NULL
doc: {"row": 2, "seat": 1, "section": 201, "properties": {"amenities":
[{"type": "washroom", "distance_in_meters": 171.80304788220957}, {"type": "bar",
"distance_in_meters": 58.53288591702737}, {"type": "snacks",
"distance_in_meters":
..
24
Common Table Expression
Using “WITH”
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
SQL to define SUDOKU problem statement
SELECT myproblem :=
'53..7....6..195....98....6.8...6...34..8.3..17...2...6.6....28....419..5....8..79' ;
25
Recursive CTE
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Using Recursive CTE
Align into 9 X 9 box
26
WITH RECURSIVE
input(sud) as ( select @myproblem ),
digits(z,lp) as ( select '1', 1
union all
select cast(lp+1 as char), lp+1 from digits where lp<9 ),
x(s,ind) as ( select sud, instr(sud,'.') from input
union all
select concat(substr(s,1, ind-1), z, substr(s, ind+1)),
instr( concat(substr(s,1,ind-1), z, substr(s, ind+1)), '.')
from x, digits as z
where ind> 0
and not exists (
select 1 from digits as lp
where z.z = substr(s, ((ind-1) div 9) *9 + lp, 1)
or z.z = substr(s, ((ind-1)%9) + (lp-1) *9 + 1, 1)
or z.z = substr(s, (((ind-1) div 3) %3) * 3
+ ((ind-1) div 27 ) * 27 + lp
+ ((lp-1) div 3) * 6, 1)
) ),
my19(n) AS (
SELECT 1 AS n
UNION ALL
SELECT 1+n FROM my19 WHERE n<9)
SELECT substr(s,(n-1)*9 + 1,9) as ans from x, my19 where ind=0 ;
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 27
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Performance
Schema
More instrumentation enabled by
default and better response to
view with indexes added
Invisible
Indexes
Indexes hidden from optimizer,
enables “soft delete” and “staged
rollout” of indexes
Solving
Contention
NOWAIT and SKIP LOCKED
options of SELECT FOR
UPDATE provides better handling
of hot row contention
MySQL 8.0 : Developers to Accelerate Applications
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 29
Expanded
Hints
Hints to control table orders for
join and indexes to be merged
without reorganize queries
Descending
Indexes
Faster by avoiding sorting data in
composite index using different
sorting orders
Set Session
Variables
Set a session variable for the
duration of a single statement with
new hint option SET_VAR
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Resource Group
shell> cat /proc/cpuinfo | grep processor
processor : 0
processor : 1
mysql> CREATE RESOURCE GROUP CPU1 TYPE=USER VCPU=1;
Query OK, 0 rows affected (0.24 sec)
mysql> SELECT * from INFORMATION_SCHEMA.RESOURCE_GROUPS;
+---------------------+---------------------+------------------------+----------+-----------------+
| RESOURCE_GROUP_NAME | RESOURCE_GROUP_TYPE | RESOURCE_GROUP_ENABLED | VCPU_IDS | THREAD_PRIORITY |
+---------------------+---------------------+------------------------+----------+-----------------+
| USR_default | USER | 1 | 0-1 | 0 |
| SYS_default | SYSTEM | 1 | 0-1 | 0 |
| CPU0 | USER | 1 | 0 | 0 |
| CPU1 | USER | 1 | 1 | 0 |
+---------------------+---------------------+------------------------+----------+-----------------+
4 rows in set (0.00 sec)
mysql> SET RESOURCE GROUP CPU0;select "This user connection will use Processor 0 Only";
mysql> SELECT /*+ RESOURCE_GROUP(CPU0) */ "This user connection will use Processor 0 Only";
30
Creating CPU group and assign to query!!!
WL#9467: Resource Groups
https://dev.mysql.com/worklog/task/?id=9467
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Write set parallelization
Highly Efficient Replication Applier
31
0
5000
10000
15000
20000
25000
30000
35000
40000
45000
50000
1 2 4 8 16 32 64 128 256
Updates/secondAppliesontheReplica
Number of Clients on the Master
Applier Throughput: Sysbench Update Index
COMMIT_ORDER WRITESET WRITESET_SESSION
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Highly Efficient Replication Applier
• WRITESET dependency tracking allows applying a single threaded
workload in parallel.
– Delivers the best throughput of the three dependency trackers, at any concurrency
level.
• WRITESET_SESSION in addition to writesets tracks sessions dependencies
as well. Two transactions executed on the same session are always
scheduled in execution order on replica servers.
• Fast Group Replication recovery – time to catch up.
Write set parallelization
32
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Replica quickly online by using WRITESET
Fast Group Replication Recovery
33
0
1
2
3
4
5
6
7
8
9
10
Sysbench RW at 33% capacity
(workload: 9K TPS on 64 threads)
Sysbench RW at 66% capacity
(workload: 18K TPS on 64 threads)
Timetocacth-uppertimeofworloadmissing(ratio)
Group Replication Recovery Time: Sysbench
Update Index (durable settings)
MySQL 5.7.20 MySQL 8.0.3
0
1
2
3
4
5
6
7
8
9
10
Sysbench RW at 33% capacity
(workload: 4K TPS on 64 threads)
Sysbench RW at 66% capacity
(workload: 8K TPS on 64 threads)
Timetocacth-uppertimeofworloadmissing(ratio)
Group Replication Recovery Time: Sysbench
RW (durable settings)
MySQL 5.7.20 MySQL 8.0.3
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
More transactions per second while sustaining zero lag on any replica
High Cluster Throughput
34
8 16 32 64
Number of Clients on the Master
Asynchronous Replication Sustained Throughput
(Sysbench Update Index, non-durable settings)
MySQL 5.7 MySQL 8.0.3
0
5000
10000
15000
20000
25000
30000
35000
40000
45000
8 16 32 64
Updatespersecond
Number of Clients on the Master
Asynchronous Replication Sustained Throughput
(Sysbench Update Index, durable settings)
MySQL 5.7 MySQL 8.0.3
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Replicate only changed fields of documents (Partial JSON Updates)
Efficient Replication of JSON Documents
35
0
10000
20000
30000
40000
50000
60000
Entire JSON Partial JSON
Bytespertransaction
Binary Log Space Per Transaction
FULL MINIMAL
• Numbers are from a specially
designed benchmark:
• tables have 10 JSON fields,
• each transaction modifies
around 10% of the data
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
0.0
500.0
1000.0
1500.0
2000.0
2500.0
1 2 3 4
Transactionspersecond
Throughput on the Master:
Partial JSON vs Complete JSON
4 8 16 32 64
Replicate only fields of the document that changed (Partial JSON Updates)
Efficient Replication of JSON Documents
36
0
1000
2000
3000
4000
5000
6000
7000
8000
9000
Throughput on the Slave:
Partial JSON vs Ccomplete JSON
4 8 16 32 64
FULL MINIMAL FULL MINIMAL FULL MINIMAL FULL MINIMAL
COMPLETE JSON PARTIAL JSON COMPLETE JSON PARTIAL JSON
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Changes to defaults in MySQL 8
• Binary log is on by default.
• Logging of slave updates is on by default.
• Replication metadata is stored in InnoDB tables by default instead of files.
• Row-based applier uses hash scans to find rows instead of table scans.
• Transaction write-set extraction is on by default.
• Binary log expiration is set to 30 days by default.
• Server-id is set to 1 by default instead of 0.
High performance replication enabled out-of-the-box
37
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
David Jiang – Director of DB Development & Operation Group, Tencent
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL InnoDB Cluster: Architecture Example
M
M M
MySQL Connector
Apache / PHP
MySQL Router
MySQL Connector
Apache / PHP
MySQL Router
MySQL Shell
HA
Group Replication
41
MySQL Enterprise Monitor
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Setup MySQL InnoDB Cluster with Word Press
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL 8 – InnoDB Cluster
• Single Primary Mode –
– group_replication_member_weight : 0 to 100  influence the primary member
election
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL Shell 8.0.11
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 45
MySQL Cloud Service
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud Capabilities
Full Control and Automated Management
MYSQL
ORACLE CLOUD
BACKUP/RECOVERY
PLUS HA & DR
AND Architects and IT
Ops
AUTOMATED
DBA AND PATCHING
SUPPORT ALL MYSQL
ENTERPRISE
EDITION FEATURES
SELF-SERVICE
PROVISIONING
FULL CONTROL WITH
SHELL ACCESS
ELASTIC SCALING
IN THE CLOUD
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Capacity Planning: Scale Up CPU, RAM, and Storage
No need to Buy New
Hardware!
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Simplified Deployment: Creating Your Service
Create your service with a
push-button interface
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Simplified Deployment: Patching
User-Initiated Patching:
Informs you that an update is
available (Pre-installed)
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Tools: MySQL Enterprise Backup
Backup the database by clicking
on ‘Back up Now’
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Tools: MySQL Enterprise Monitor
Access MySQL Enterprise
Monitor by clicking on
‘Enterprise Monitor URL’
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Tools: MySQL Enterprise Monitor
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Extra Tools: Enterprise Monitor
• Real-time query performance
• Visual correlation graphs
• Find & fix expensive queries
• Detailed query statistics
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL Cloud Service + MySQL Enterprise !!!
Data
Protection
Authentication
Audit
Enterprise Encryption &
TDE
MySQL Firewall
MySQL Enterprise Backup
(MEB)
Monitoring
& Tooling
MySQLEnterprise Monitor
(MEM)
MGR + InnoDB Support
MEB- Online Backup
MEB-Incremental Backup
Performance
MEM- Query Analyzer
MEB-Faster Backup
Thread Pool Plugin
Enterprise
Support
Oracle MySQL Engineering
Consultative Support
Oracle Certified
Oracle Confidential – Internal/Restricted/Highly Restricted 54
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
The world's most popular open source database
8.0
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL 8.0 - Transformation Age
• General Available & What is New in MySQL 8.0
– https://dev.mysql.com/doc/refman/8.0/en/mysql-nutshell.html
• Highly Robust, Scalable, Reliable and Secure
• Ease of Management & Performance
• Trendy, Data Driven – Supporting GIS, Window Function and Recursive CTE …
• Flexible Data Architecture – JSON / Document Store, Hybrid Database
• Cross platforms with Enterprise Features and Tools
– MySQL Enterprise Monitor 8.0 GA
– MySQL Shell 8.0 GA
https://dev.mysql.com/downloads/mysql/8.0.html
https://www.mysql.com/products/enterprise/
Download Now
MySQL Enterprise Edition for MySQL 8.0
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
MySQL 8.0 Enables Modern Web Apps

More Related Content

What's hot

Swedish MySQL User Group - MySQL InnoDB Cluster
Swedish MySQL User Group - MySQL InnoDB ClusterSwedish MySQL User Group - MySQL InnoDB Cluster
Swedish MySQL User Group - MySQL InnoDB ClusterFrederic Descamps
 
MySQL Document Store - How to replace a NoSQL database by MySQL without effor...
MySQL Document Store - How to replace a NoSQL database by MySQL without effor...MySQL Document Store - How to replace a NoSQL database by MySQL without effor...
MySQL Document Store - How to replace a NoSQL database by MySQL without effor...Frederic Descamps
 
MySQL Document Store - when SQL & NoSQL live together... in peace!
MySQL Document Store - when SQL & NoSQL live together... in peace!MySQL Document Store - when SQL & NoSQL live together... in peace!
MySQL Document Store - when SQL & NoSQL live together... in peace!Frederic Descamps
 
MySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on LabMySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on LabFrederic Descamps
 
MySQL 8.0 & Unicode: Why, what & how
MySQL 8.0 & Unicode: Why, what & howMySQL 8.0 & Unicode: Why, what & how
MySQL 8.0 & Unicode: Why, what & howBernt Marius Johnsen
 
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...Frederic Descamps
 
High Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB ClusterHigh Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB ClusterSven Sandberg
 
pre-FOSDEM MySQL day, February 2018 - MySQL Document Store
pre-FOSDEM MySQL day, February 2018 - MySQL Document Storepre-FOSDEM MySQL day, February 2018 - MySQL Document Store
pre-FOSDEM MySQL day, February 2018 - MySQL Document StoreFrederic Descamps
 
MySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e UberMySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e UberMySQL Brasil
 
MySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a NutshellMySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a NutshellFrederic Descamps
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterFrederic Descamps
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterFrederic Descamps
 
MySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the CommunityMySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the CommunityFrederic Descamps
 
MySQL Innovation: from 5.7 to 8.0
MySQL Innovation:  from 5.7 to 8.0MySQL Innovation:  from 5.7 to 8.0
MySQL Innovation: from 5.7 to 8.0Frederic Descamps
 
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)Alexandre Dutra
 
20161029 py con-mysq-lv3
20161029 py con-mysq-lv320161029 py con-mysq-lv3
20161029 py con-mysq-lv3Ivan Ma
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterFrederic Descamps
 
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 ClusterContinuent
 
Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7Morgan Tocker
 

What's hot (20)

Swedish MySQL User Group - MySQL InnoDB Cluster
Swedish MySQL User Group - MySQL InnoDB ClusterSwedish MySQL User Group - MySQL InnoDB Cluster
Swedish MySQL User Group - MySQL InnoDB Cluster
 
MySQL Document Store - How to replace a NoSQL database by MySQL without effor...
MySQL Document Store - How to replace a NoSQL database by MySQL without effor...MySQL Document Store - How to replace a NoSQL database by MySQL without effor...
MySQL Document Store - How to replace a NoSQL database by MySQL without effor...
 
MySQL Document Store - when SQL & NoSQL live together... in peace!
MySQL Document Store - when SQL & NoSQL live together... in peace!MySQL Document Store - when SQL & NoSQL live together... in peace!
MySQL Document Store - when SQL & NoSQL live together... in peace!
 
MySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on LabMySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on Lab
 
MySQL 8.0 & Unicode: Why, what & how
MySQL 8.0 & Unicode: Why, what & howMySQL 8.0 & Unicode: Why, what & how
MySQL 8.0 & Unicode: Why, what & how
 
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...
 
High Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB ClusterHigh Availability in MySQL 8 using InnoDB Cluster
High Availability in MySQL 8 using InnoDB Cluster
 
MySQL Devops Webinar
MySQL Devops WebinarMySQL Devops Webinar
MySQL Devops Webinar
 
pre-FOSDEM MySQL day, February 2018 - MySQL Document Store
pre-FOSDEM MySQL day, February 2018 - MySQL Document Storepre-FOSDEM MySQL day, February 2018 - MySQL Document Store
pre-FOSDEM MySQL day, February 2018 - MySQL Document Store
 
MySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e UberMySQL no Paypal Tesla e Uber
MySQL no Paypal Tesla e Uber
 
MySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a NutshellMySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a Nutshell
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
 
MySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the CommunityMySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the Community
 
MySQL Innovation: from 5.7 to 8.0
MySQL Innovation:  from 5.7 to 8.0MySQL Innovation:  from 5.7 to 8.0
MySQL Innovation: from 5.7 to 8.0
 
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
 
20161029 py con-mysq-lv3
20161029 py con-mysq-lv320161029 py con-mysq-lv3
20161029 py con-mysq-lv3
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
 
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
 
Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7
 

Similar to MySQL 8.0 Enables Modern Web Apps

MySQL 8.0 Optimizer Guide
MySQL 8.0 Optimizer GuideMySQL 8.0 Optimizer Guide
MySQL 8.0 Optimizer GuideMorgan Tocker
 
MySQL Optimizer: What’s New in 8.0
MySQL Optimizer: What’s New in 8.0MySQL Optimizer: What’s New in 8.0
MySQL Optimizer: What’s New in 8.0oysteing
 
What's New MySQL 8.0?
What's New MySQL 8.0?What's New MySQL 8.0?
What's New MySQL 8.0?OracleMySQL
 
Python and the MySQL Document Store
Python and the MySQL Document StorePython and the MySQL Document Store
Python and the MySQL Document StoreJesper Wisborg Krogh
 
MySQL 8.0 in a nutshell
MySQL 8.0 in a nutshellMySQL 8.0 in a nutshell
MySQL 8.0 in a nutshellOracleMySQL
 
State ofdolphin short
State ofdolphin shortState ofdolphin short
State ofdolphin shortMandy Ang
 
What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017Ivan Ma
 
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...Oracle Developers
 
Microsoft R - ScaleR Overview
Microsoft R - ScaleR OverviewMicrosoft R - ScaleR Overview
Microsoft R - ScaleR OverviewKhalid Salama
 
MySQL como Document Store PHP Conference 2017
MySQL como Document Store PHP Conference 2017MySQL como Document Store PHP Conference 2017
MySQL como Document Store PHP Conference 2017MySQL Brasil
 
PGQL: A Language for Graphs
PGQL: A Language for GraphsPGQL: A Language for Graphs
PGQL: A Language for GraphsJean Ihm
 
Get started with R lang
Get started with R langGet started with R lang
Get started with R langsenthil0809
 
Spark SQL Deep Dive @ Melbourne Spark Meetup
Spark SQL Deep Dive @ Melbourne Spark MeetupSpark SQL Deep Dive @ Melbourne Spark Meetup
Spark SQL Deep Dive @ Melbourne Spark MeetupDatabricks
 
Experience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data PlatformExperience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data PlatformBob Ward
 
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?Olivier DASINI
 
Interactive SQL POC on Hadoop (Hive, Presto and Hive-on-Tez)
Interactive SQL POC on Hadoop (Hive, Presto and Hive-on-Tez)Interactive SQL POC on Hadoop (Hive, Presto and Hive-on-Tez)
Interactive SQL POC on Hadoop (Hive, Presto and Hive-on-Tez)Sudhir Mallem
 
MySQL Document Store - A Document Store with all the benefts of a Transactona...
MySQL Document Store - A Document Store with all the benefts of a Transactona...MySQL Document Store - A Document Store with all the benefts of a Transactona...
MySQL Document Store - A Document Store with all the benefts of a Transactona...Olivier DASINI
 

Similar to MySQL 8.0 Enables Modern Web Apps (20)

MySQL 8.0 Optimizer Guide
MySQL 8.0 Optimizer GuideMySQL 8.0 Optimizer Guide
MySQL 8.0 Optimizer Guide
 
MySQL Optimizer: What’s New in 8.0
MySQL Optimizer: What’s New in 8.0MySQL Optimizer: What’s New in 8.0
MySQL Optimizer: What’s New in 8.0
 
What's New MySQL 8.0?
What's New MySQL 8.0?What's New MySQL 8.0?
What's New MySQL 8.0?
 
Python and the MySQL Document Store
Python and the MySQL Document StorePython and the MySQL Document Store
Python and the MySQL Document Store
 
MySQL 8.0 in a nutshell
MySQL 8.0 in a nutshellMySQL 8.0 in a nutshell
MySQL 8.0 in a nutshell
 
State ofdolphin short
State ofdolphin shortState ofdolphin short
State ofdolphin short
 
MySQL8.0 in COSCUP2017
MySQL8.0 in COSCUP2017MySQL8.0 in COSCUP2017
MySQL8.0 in COSCUP2017
 
What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017
 
Mysql8for blr usercamp
Mysql8for blr usercampMysql8for blr usercamp
Mysql8for blr usercamp
 
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...
 
Microsoft R - ScaleR Overview
Microsoft R - ScaleR OverviewMicrosoft R - ScaleR Overview
Microsoft R - ScaleR Overview
 
MySQL como Document Store PHP Conference 2017
MySQL como Document Store PHP Conference 2017MySQL como Document Store PHP Conference 2017
MySQL como Document Store PHP Conference 2017
 
PGQL: A Language for Graphs
PGQL: A Language for GraphsPGQL: A Language for Graphs
PGQL: A Language for Graphs
 
MySQL 8.0.1 DMR
MySQL 8.0.1 DMRMySQL 8.0.1 DMR
MySQL 8.0.1 DMR
 
Get started with R lang
Get started with R langGet started with R lang
Get started with R lang
 
Spark SQL Deep Dive @ Melbourne Spark Meetup
Spark SQL Deep Dive @ Melbourne Spark MeetupSpark SQL Deep Dive @ Melbourne Spark Meetup
Spark SQL Deep Dive @ Melbourne Spark Meetup
 
Experience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data PlatformExperience SQL Server 2017: The Modern Data Platform
Experience SQL Server 2017: The Modern Data Platform
 
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
MySQL Day Paris 2018 - What’s New in MySQL 8.0 ?
 
Interactive SQL POC on Hadoop (Hive, Presto and Hive-on-Tez)
Interactive SQL POC on Hadoop (Hive, Presto and Hive-on-Tez)Interactive SQL POC on Hadoop (Hive, Presto and Hive-on-Tez)
Interactive SQL POC on Hadoop (Hive, Presto and Hive-on-Tez)
 
MySQL Document Store - A Document Store with all the benefts of a Transactona...
MySQL Document Store - A Document Store with all the benefts of a Transactona...MySQL Document Store - A Document Store with all the benefts of a Transactona...
MySQL Document Store - A Document Store with all the benefts of a Transactona...
 

More from Ivan Ma

Exploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in PythonExploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in PythonIvan Ma
 
20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shellIvan Ma
 
20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deploymentIvan Ma
 
20191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv120191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv1Ivan Ma
 
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1Ivan Ma
 
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017Ivan Ma
 
20160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab0120160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab01Ivan Ma
 
Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Ivan Ma
 
20151010 my sq-landjavav2a
20151010 my sq-landjavav2a20151010 my sq-landjavav2a
20151010 my sq-landjavav2aIvan Ma
 
01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1Ivan Ma
 
Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Ivan Ma
 
20150110 my sql-performanceschema
20150110 my sql-performanceschema20150110 my sql-performanceschema
20150110 my sql-performanceschemaIvan Ma
 

More from Ivan Ma (12)

Exploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in PythonExploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in Python
 
20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell
 
20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deployment
 
20191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv120191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv1
 
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1
 
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
 
20160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab0120160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab01
 
Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07
 
20151010 my sq-landjavav2a
20151010 my sq-landjavav2a20151010 my sq-landjavav2a
20151010 my sq-landjavav2a
 
01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1
 
Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Exploring mysql cluster 7.4
Exploring mysql cluster 7.4
 
20150110 my sql-performanceschema
20150110 my sql-performanceschema20150110 my sql-performanceschema
20150110 my sql-performanceschema
 

Recently uploaded

WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )Pooja Nehwal
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxNikitaBankoti2
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Vipesco
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyPooja Nehwal
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Delhi Call girls
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxraffaeleoman
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Pooja Nehwal
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfhenrik385807
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMoumonDas2
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxmohammadalnahdi22
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...henrik385807
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024eCommerce Institute
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaKayode Fayemi
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...Sheetaleventcompany
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Kayode Fayemi
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardsticksaastr
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Hasting Chen
 

Recently uploaded (20)

WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
 
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
 
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
Night 7k Call Girls Noida Sector 128 Call Me: 8448380779
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
 
Mathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptxMathematics of Finance Presentation.pptx
Mathematics of Finance Presentation.pptx
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 

MySQL 8.0 Enables Modern Web Apps

  • 1. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Ivan Ma Ivan-cs.ma@oracle.com 2018-04-20
  • 2. Copyright © 2017, 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.
  • 3. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | The world's most popular open source database 8.0
  • 4. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | The world's most popular open source database 8.0
  • 5. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 6. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Scalable &Stable Better handling of high contention, improved security, and minimizing downtime Data Driven Optimizing services with real time data analysis Developer First Hybrid data model and data access APIs for flexibility for developers Mobile Friendly Ready for location based services. Handling Emoji and Unicode characters MySQL 8.0 : Enables Modern Web Applications Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 7 24x7at Scale
  • 7. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 8. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Before MySQL 8.0 Transactional Data Dictionary in MySQL 8.0 Atomic DDL 9 Data Dictionary Data Dict Storage Engine SQL DD TableDD TableDD Table
  • 9. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Example - DROP SCHEMA at high level 10 MySQL 5.7 • Delete tables – Metadata, TRN/TRG/FRM files – Data, InnoDB tables • Delete stored programs – Metadata, rows in MyISAM (non- transactional) • Delete schema – Metadata, DB.OPT file Mix of filesystem, non- transactional/transactional storage and multiple commits MySQL 8.0 • Delete tables – Metadata, rows in InnoDB – Data, InnoDB tables • Delete stored programs – Metadata, rows in InnoDB • Delete schema – Metadata, rows in InnoDB Updates to transactional storage, one commit
  • 10. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 11 100 schemas times 50 tables (5000 tables) INFORMATION_SCHEMA Performance 0 0.5 1 1.5 2 2.5 3 3.5 4 Count All Schemas Schema aggregate size stats All Dynamic Table Info All Static Table Info Auto Increments Near Limit Count All Columns Count All Indexes MySQL 8.0 MySQL 5.7 Time in Seconds (Lower is better)
  • 11. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 12. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL 8.0 : Flexibility for Developers Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Hybrid APISQL FunctionData Type MySQL X DevAPIJSON FunctionsJSON Datatype 13 Hybrid CRUD API of both SQL and NoSQL provides more flexibility for development Various SQL functions to search and modify JSON. Analysing JSON with SQL by converting into table with JSON_TABLE() Seamlessly managing “unstructured” data in RDBMS tables with efficient update performance { } ();
  • 13. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 14 Flexible Schema CREATE TABLE seats ( id INT not null PRIMARY KEY, venue_id INT, doc JSON ) ENGINE=INNODB;
  • 14. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | • MySQL Server 5.7 or 8.0 • JSON Datatype, JSON Function (5.7) • Added Partial in-place JSON update (8.0) • Replication Efficiency : binlog_row_value_options=PARTIAL_JSON (8.0) • more JSON functions (8.0) JSON_TABLE, JSON_STORAGE_FREE, JSON_STORAGE_SIZE, JSON_MERGE_PATH, … • MySQL X Plugin & X Protocol • Introduces X Protocol for relational- and document operations • Maps CRUD operations to standard SQL (relational tables, JSON datatype and functions) • X DevAPI • New, modern, async developer API for CRUD and SQL operations on top of X Protocol • Introduces Collections as new Schema obj. • MySQL Shell • Offers interactive X DevAPI mode for app prototyping • MySQL Connectors • Support for X DevAPI and X Session 15 MySQL Document Store – Components
  • 15. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 16
  • 16. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | JSON Functions 17 MySQL 5.7 and 8.0 JSON_ARRAY_APPEND() JSON_ARRAY_INSERT() JSON_ARRAY() JSON_CONTAINS_PATH() JSON_CONTAINS() JSON_DEPTH() JSON_EXTRACT() JSON_INSERT() JSON_KEYS() JSON_LENGTH() JSON_MERGE[_PRESERVE]() JSON_OBJECT() JSON_QUOTE() JSON_REMOVE() JSON_REPLACE() JSON_SEARCH() JSON_SET() JSON_TYPE() JSON_UNQUOTE() JSON_VALID() JSON_PRETTY() JSON_STORAGE_SIZE() JSON_STORAGE_FREE() JSON_ARRAYAGG() JSON_OBJECTAGG() JSON_MERGE_PATCH() JSON_TABLE()
  • 17. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Table  JSON 18 https://mysqlserverteam.com/mysql-8-0-from-sql-tables-to-json-documents-and-back-again/
  • 18. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | JSONTABLE
  • 19. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | X Dev API • MySQL Connectors include X Dev API • Use SQL, CRUD APIs 20 Operation Document Relational Create Collection.add() Table.insert() Read Collection.find() Table.select() Update Collection.modify() Table.update() Delete Collection.remove() Table.delete() http://dev.mysql.com/doc/x-devapi-userguide/en/crud-operations-overview.html
  • 20. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Window FunctionCommon Table Expressions (CTEs) • Alternative to derived table of subquery, so called “WITH clause” • For improvement of readability and performance • Frequently requested feature for data analysis like ranking of data • Calculation across a set of rows that are related to the current row WITH tickets_filtered AS ( SELECT tickets.*, seats.doc FROM tickets INNER JOIN seats ON tickets.seat_id = seats.id WHERE tickets.event_id = 3 ) SELECT * FROM tickets_filtered WHERE doc->"$.section" = 201G SELECT name, dept_id, salary, RANK() OVER w AS `rank` FROM employee WINDOW w AS (PARTITION BY dept_id ORDER BY salary DESC);
  • 21. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Window function: RANK 22 SELECT name, dept_id AS dept, salary, RANK() OVER w AS `rank` FROM employee WINDOW w AS (PARTITION BY dept_id ORDER BY salary DESC); name dept_id salary rank Newt NULL 75000 1 Ed 10 100000 1 Newt 10 80000 2 Fred 10 70000 3 Michael 10 70000 3 Jon 10 60000 5 Dag 10 NULL 6 Pete 20 65000 1 Lebedev 20 65000 1 Jeff 30 300000 1 Will 30 70000 2
  • 22. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | SELECT MONTH(date), SUM(sale), AVG(SUM(sale)) OVER w AS sliding_avg FROM sales GROUP BY MONTH(date) WINDOW w AS (ORDER BY MONTH(date) RANGE BETWEEN 1 PRECEDING AND 1 FOLLOWING); 23 v Month = 7 Month = 7 Month = 8 Month = 8 Sum (month 8) = 250 Sum (month 7) = 1200 可读性-高 ! Windows Function – Moving Average
  • 23. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | WITH tickets_filtered AS ( SELECT tickets.*, seats.doc FROM tickets INNER JOIN seats ON tickets.seat_id=seats.id WHERE tickets.event_id = 3 ) SELECT * FROM tickets_filtered WHERE doc->"$.section" = 201G *************************** 1. row *************************** id: 14447 event_id: 3 seat_id: 16430 order_id: NULL doc: {"row": 2, "seat": 1, "section": 201, "properties": {"amenities": [{"type": "washroom", "distance_in_meters": 171.80304788220957}, {"type": "bar", "distance_in_meters": 58.53288591702737}, {"type": "snacks", "distance_in_meters": .. 24 Common Table Expression Using “WITH”
  • 24. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | SQL to define SUDOKU problem statement SELECT myproblem := '53..7....6..195....98....6.8...6...34..8.3..17...2...6.6....28....419..5....8..79' ; 25 Recursive CTE
  • 25. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Using Recursive CTE Align into 9 X 9 box 26 WITH RECURSIVE input(sud) as ( select @myproblem ), digits(z,lp) as ( select '1', 1 union all select cast(lp+1 as char), lp+1 from digits where lp<9 ), x(s,ind) as ( select sud, instr(sud,'.') from input union all select concat(substr(s,1, ind-1), z, substr(s, ind+1)), instr( concat(substr(s,1,ind-1), z, substr(s, ind+1)), '.') from x, digits as z where ind> 0 and not exists ( select 1 from digits as lp where z.z = substr(s, ((ind-1) div 9) *9 + lp, 1) or z.z = substr(s, ((ind-1)%9) + (lp-1) *9 + 1, 1) or z.z = substr(s, (((ind-1) div 3) %3) * 3 + ((ind-1) div 27 ) * 27 + lp + ((lp-1) div 3) * 6, 1) ) ), my19(n) AS ( SELECT 1 AS n UNION ALL SELECT 1+n FROM my19 WHERE n<9) SELECT substr(s,(n-1)*9 + 1,9) as ans from x, my19 where ind=0 ;
  • 26. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 27
  • 27. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 28. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Performance Schema More instrumentation enabled by default and better response to view with indexes added Invisible Indexes Indexes hidden from optimizer, enables “soft delete” and “staged rollout” of indexes Solving Contention NOWAIT and SKIP LOCKED options of SELECT FOR UPDATE provides better handling of hot row contention MySQL 8.0 : Developers to Accelerate Applications Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 29 Expanded Hints Hints to control table orders for join and indexes to be merged without reorganize queries Descending Indexes Faster by avoiding sorting data in composite index using different sorting orders Set Session Variables Set a session variable for the duration of a single statement with new hint option SET_VAR
  • 29. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Resource Group shell> cat /proc/cpuinfo | grep processor processor : 0 processor : 1 mysql> CREATE RESOURCE GROUP CPU1 TYPE=USER VCPU=1; Query OK, 0 rows affected (0.24 sec) mysql> SELECT * from INFORMATION_SCHEMA.RESOURCE_GROUPS; +---------------------+---------------------+------------------------+----------+-----------------+ | RESOURCE_GROUP_NAME | RESOURCE_GROUP_TYPE | RESOURCE_GROUP_ENABLED | VCPU_IDS | THREAD_PRIORITY | +---------------------+---------------------+------------------------+----------+-----------------+ | USR_default | USER | 1 | 0-1 | 0 | | SYS_default | SYSTEM | 1 | 0-1 | 0 | | CPU0 | USER | 1 | 0 | 0 | | CPU1 | USER | 1 | 1 | 0 | +---------------------+---------------------+------------------------+----------+-----------------+ 4 rows in set (0.00 sec) mysql> SET RESOURCE GROUP CPU0;select "This user connection will use Processor 0 Only"; mysql> SELECT /*+ RESOURCE_GROUP(CPU0) */ "This user connection will use Processor 0 Only"; 30 Creating CPU group and assign to query!!! WL#9467: Resource Groups https://dev.mysql.com/worklog/task/?id=9467
  • 30. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Write set parallelization Highly Efficient Replication Applier 31 0 5000 10000 15000 20000 25000 30000 35000 40000 45000 50000 1 2 4 8 16 32 64 128 256 Updates/secondAppliesontheReplica Number of Clients on the Master Applier Throughput: Sysbench Update Index COMMIT_ORDER WRITESET WRITESET_SESSION
  • 31. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Highly Efficient Replication Applier • WRITESET dependency tracking allows applying a single threaded workload in parallel. – Delivers the best throughput of the three dependency trackers, at any concurrency level. • WRITESET_SESSION in addition to writesets tracks sessions dependencies as well. Two transactions executed on the same session are always scheduled in execution order on replica servers. • Fast Group Replication recovery – time to catch up. Write set parallelization 32
  • 32. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Replica quickly online by using WRITESET Fast Group Replication Recovery 33 0 1 2 3 4 5 6 7 8 9 10 Sysbench RW at 33% capacity (workload: 9K TPS on 64 threads) Sysbench RW at 66% capacity (workload: 18K TPS on 64 threads) Timetocacth-uppertimeofworloadmissing(ratio) Group Replication Recovery Time: Sysbench Update Index (durable settings) MySQL 5.7.20 MySQL 8.0.3 0 1 2 3 4 5 6 7 8 9 10 Sysbench RW at 33% capacity (workload: 4K TPS on 64 threads) Sysbench RW at 66% capacity (workload: 8K TPS on 64 threads) Timetocacth-uppertimeofworloadmissing(ratio) Group Replication Recovery Time: Sysbench RW (durable settings) MySQL 5.7.20 MySQL 8.0.3
  • 33. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | More transactions per second while sustaining zero lag on any replica High Cluster Throughput 34 8 16 32 64 Number of Clients on the Master Asynchronous Replication Sustained Throughput (Sysbench Update Index, non-durable settings) MySQL 5.7 MySQL 8.0.3 0 5000 10000 15000 20000 25000 30000 35000 40000 45000 8 16 32 64 Updatespersecond Number of Clients on the Master Asynchronous Replication Sustained Throughput (Sysbench Update Index, durable settings) MySQL 5.7 MySQL 8.0.3
  • 34. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Replicate only changed fields of documents (Partial JSON Updates) Efficient Replication of JSON Documents 35 0 10000 20000 30000 40000 50000 60000 Entire JSON Partial JSON Bytespertransaction Binary Log Space Per Transaction FULL MINIMAL • Numbers are from a specially designed benchmark: • tables have 10 JSON fields, • each transaction modifies around 10% of the data
  • 35. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 0.0 500.0 1000.0 1500.0 2000.0 2500.0 1 2 3 4 Transactionspersecond Throughput on the Master: Partial JSON vs Complete JSON 4 8 16 32 64 Replicate only fields of the document that changed (Partial JSON Updates) Efficient Replication of JSON Documents 36 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 Throughput on the Slave: Partial JSON vs Ccomplete JSON 4 8 16 32 64 FULL MINIMAL FULL MINIMAL FULL MINIMAL FULL MINIMAL COMPLETE JSON PARTIAL JSON COMPLETE JSON PARTIAL JSON
  • 36. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Changes to defaults in MySQL 8 • Binary log is on by default. • Logging of slave updates is on by default. • Replication metadata is stored in InnoDB tables by default instead of files. • Row-based applier uses hash scans to find rows instead of table scans. • Transaction write-set extraction is on by default. • Binary log expiration is set to 30 days by default. • Server-id is set to 1 by default instead of 0. High performance replication enabled out-of-the-box 37
  • 37. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 38. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 39. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | David Jiang – Director of DB Development & Operation Group, Tencent
  • 40. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL InnoDB Cluster: Architecture Example M M M MySQL Connector Apache / PHP MySQL Router MySQL Connector Apache / PHP MySQL Router MySQL Shell HA Group Replication 41 MySQL Enterprise Monitor
  • 41. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Setup MySQL InnoDB Cluster with Word Press
  • 42. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL 8 – InnoDB Cluster • Single Primary Mode – – group_replication_member_weight : 0 to 100  influence the primary member election
  • 43. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL Shell 8.0.11
  • 44. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 45 MySQL Cloud Service
  • 45. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL Cloud Capabilities Full Control and Automated Management MYSQL ORACLE CLOUD BACKUP/RECOVERY PLUS HA & DR AND Architects and IT Ops AUTOMATED DBA AND PATCHING SUPPORT ALL MYSQL ENTERPRISE EDITION FEATURES SELF-SERVICE PROVISIONING FULL CONTROL WITH SHELL ACCESS ELASTIC SCALING IN THE CLOUD
  • 46. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Capacity Planning: Scale Up CPU, RAM, and Storage No need to Buy New Hardware!
  • 47. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Simplified Deployment: Creating Your Service Create your service with a push-button interface
  • 48. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Simplified Deployment: Patching User-Initiated Patching: Informs you that an update is available (Pre-installed)
  • 49. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Tools: MySQL Enterprise Backup Backup the database by clicking on ‘Back up Now’
  • 50. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Tools: MySQL Enterprise Monitor Access MySQL Enterprise Monitor by clicking on ‘Enterprise Monitor URL’
  • 51. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Tools: MySQL Enterprise Monitor
  • 52. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Extra Tools: Enterprise Monitor • Real-time query performance • Visual correlation graphs • Find & fix expensive queries • Detailed query statistics
  • 53. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL Cloud Service + MySQL Enterprise !!! Data Protection Authentication Audit Enterprise Encryption & TDE MySQL Firewall MySQL Enterprise Backup (MEB) Monitoring & Tooling MySQLEnterprise Monitor (MEM) MGR + InnoDB Support MEB- Online Backup MEB-Incremental Backup Performance MEM- Query Analyzer MEB-Faster Backup Thread Pool Plugin Enterprise Support Oracle MySQL Engineering Consultative Support Oracle Certified Oracle Confidential – Internal/Restricted/Highly Restricted 54
  • 54. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | The world's most popular open source database 8.0
  • 55. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | MySQL 8.0 - Transformation Age • General Available & What is New in MySQL 8.0 – https://dev.mysql.com/doc/refman/8.0/en/mysql-nutshell.html • Highly Robust, Scalable, Reliable and Secure • Ease of Management & Performance • Trendy, Data Driven – Supporting GIS, Window Function and Recursive CTE … • Flexible Data Architecture – JSON / Document Store, Hybrid Database • Cross platforms with Enterprise Features and Tools – MySQL Enterprise Monitor 8.0 GA – MySQL Shell 8.0 GA https://dev.mysql.com/downloads/mysql/8.0.html https://www.mysql.com/products/enterprise/ Download Now MySQL Enterprise Edition for MySQL 8.0
  • 56. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |