SlideShare ist ein Scribd-Unternehmen logo
1 von 35
Downloaden Sie, um offline zu lesen
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL 8 : NoSQL + SQL
Tomas Ulin
VP MySQL Engineering
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
1
Copyright © 2018, 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 © 2018, Oracle and/or its affiliates. All rights reserved. |
MySQL Powers the Web
3
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
They Scale
with MySQL
Mobile Network
Supporting Over 800
Million Subscribers
1.6 Billion Active Users
100 TB of User Data for PayPal
IDs Processed for 1
Billion Citizens
850 Million Candy
Crush Game Plays/Day
2 Billion Events/Day for
Booking.com
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
MySQL Innovation: 5.7 -> 8.0
- 3x Better Performance
- Replication Enhancements
- Optimizer Cost Model
- JSON Support
- Improved Security
- Sys & Performance Schema
- GIS
MySQL 5.7
MySQL InnoDB Cluster
- MySQL Group Replication
- MySQL Router
- MySQL Shell
MySQL 8.0
- NoSQL Document Store
- JSON
- CTEs
- Window Functions
- Data Dictionary
- InnoDB
- Replication
- Roles
- Unicode
- GIS
2 Years in Development
400+ Worklogs
5000+ Bugs Fixed
500 New Tests
GA
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 6
MySQL 8.0: Document Store
• Document oriented data storage for MySQL
– Full JSON document support through SQL and new X DevAPI NoSQL interface
• Schema-less and schema based data in the same technology stack
– Use COLLECTIONs of documents & relational TABLEs together
• Rapid Prototyping & Simple CRUD APIs
– Modern APIs using “method chaining” and asynchronous execution (e.g. promises, callbacks, etc.)
• Connectors for many different languages and frameworks
– Node.JS, Java, NET, C++/C, PHP, Python
NoSQL + SQL
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 7
X ProtocolStd Protocol
SQL API CRUD and SQL APIs
JSON Collections
SQL Tables
MySQL Databases
SQL and NoSQL
{“_id: “232342”,
“firstname”: “John”,
“lastname”: “Doe”,
“city”: “anytown”};
City
Name Pop Area
Anytown 2003 33
Othertown 23000 400
Relational Tables
MySQL Shell
Scripting
MySQL Connectors (Node.js, Python, Java, .Net)
SQL NoSQL
JSON Collections
Applications
MySQL 8.0: Document Store Architecture
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
• Full Node.js integration
– Support for “Promises”
• Autocompletion support in IDEs
– Due to method chaining support
• Intuitive Documentation & Tutorials
– Example:
8
MySQL 8.0: Document Store
Designed for modern Developers
COLLECTION.add Function
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 9
Get started in minutes
MySQL 8.0: Shell
• Rapid prototyping capabilities
– Using JavaScript and Python
• Full SQL and X DevAPI support
– With built in auto-completion
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: JSON_TABLE Function
• Convert JSON column into a table with 2 columns:
SELECT people.* FROM t1, JSON_TABLE(json_col, '$.people[*]' COLUMNS (
name VARCHAR(40) PATH '$.name',
address VARCHAR(100) PATH '$.address')) people
WHERE people.address LIKE '%San Francisco%';
10
• JSON is NOT limited to CRUD, can also be used in complex queries
• JSON_TABLE converts JSON into SQL table
• Leverage existing SQL framework for aggregation
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: JSON Functions
11
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 © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: Efficient Replication of JSON Documents
Replicate only changed fields of documents (Partial JSON Updates)
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 © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: Transactional Data Dictionary
MySQL 8.0 increases the overall
reliability because:
 MySQL 8.0 stores its meta-data into
InnoDB, a proven transactional storage
engine.
 MySQL 8.0 eliminates one source of
potential inconsistency (5.7 had two
dictionaries)
 MySQL 8.0 ensures atomic, crash safe
DDL.
 MySQL 8.0 reimplements Information
Schema, as simple views on data
dictionary tables which execute up to 100
times faster than 5.7.
Data Dictionary
InnoDB
Storage
Engine
DD
Table
DD Table
Transactional
Dictionary
Tables
Metadata store in 8.0
Data Dictionary
Files
FRM TRG OPT
System Tables (mysql.)
user procevents
InnoDB System Tables
MyISAM
File system
InnoDB
Metadata store in 5.7
Atomic and crash-safe DDL
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: CTEs & Window Functions
• Common Table Expression (WITH clause)
– Non-recursive
– Recursive
– Used for hierarchy traversal
• Window functions
– Aggregation, ranking, analytics
– Used for analytics and reporting
14
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: Better Handling of Hot Row Contention
15
SELECT * FROM tickets
WHERE id IN (1,2,3,4)
AND order_id IS NULL
FOR UPDATE
NOWAIT;
SELECT * FROM tickets
WHERE id IN (1,2,3,4)
AND order_id IS NULL
FOR UPDATE
SKIP LOCKED;
Error immediately if
a row is already
locked
Non
deterministically
skip over locked
rows
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: InnoDB Improvements
• Document Store/JSON
– More efficient BLOBs, up to 4x improvement on update
– Better performance for both small and large BLOBs
• New Scalable WAL
– Lock free design
• Atomic DDL
• Persistent Auto Increment
• Contention Aware Transaction Scheduling (CATS)
– Contribution from University of Michigan
• Removed IO bottlenecks
– More scalable design
16
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
0
50 000
100 000
150 000
200 000
250 000
300 000
1 2 4 8 16 32 64 128 256 512 1 024
QueriesperSecond
Users
MySQL 8.0
MySQL 5.7
MySQL 8.0: SysBench Read Write (update nokey)
2x Faster than MySQL 5.7
Oracle Confidential – Internal/Restricted/Highly Restricted 17
OS : Oracle Linux 7.4
CPU : 48cores-HT Intel Skylake 2.7Ghz
(2CPU sockets, Intel(R) Xeon(R) Platinum 8168 CPU)
RAM: 256GB
Storage : x2 Intel Optane flash devices
(Intel (R) Optane (TM) SSD P4800X Series)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: SysBench IO Bound Read Only (Point Selects)
2x Faster than MySQL 5.7
Oracle Confidential – Internal/Restricted/Highly Restricted 18
0
200 000
400 000
600 000
800 000
1 000 000
1 200 000
1 2 4 8 16 32 64 128 256 512
QueriesperSecond
Users
MySQL 8.0
MySQL 5.7
OS : Oracle Linux 7.4
CPU : 48cores-HT Intel Skylake 2.7Ghz
(2CPU sockets, Intel(R) Xeon(R) Platinum 8168 CPU)
RAM: 256GB
Storage : x2 Intel Optane flash devices
(Intel (R) Optane (TM) SSD P4800X Series)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: Replication Improvements
• WRITESET based parallel replication applier
– JF @ booking.com experiences 10x better performance
• Efficient Replication of JSON Documents
– Much smaller replication storage and network footprint for JSON fields
• Per Channel replication filters in Multi-source
– Able to deploy different filters for different channels
• Crash-recovery of DDLs and Replication
– Resiliency (Replication, Metadata and Data recovered together after a crash)
• Performance schema enhancements
– Better assessment of slave lag consolidated view over a cluster
19
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: Group Replication Improvements
• Specify next-primary in the event of the current Primary failure
– User can define the next server to win the primary election
• Automatically prevent updates on replicas that leave the cluster
– Automatically fence servers that drop out of the group
• Online and automated Cluster Performance Management Fine Tuning
– Flow control has more configuration parameters
20
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
InnoDB Cluster
21
App Servers with
MySQL Router
MySQL Group Replication
MySQL Shell
Setup, Manage,
Orchestrate
“High Availability becomes a core
first class feature of MySQL!”
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 22
Get started in minutes
MySQL 8.0: Shell
• Rapid prototyping capabilities
– Using JavaScript and Python
• Full SQL and X DevAPI support
– With built in auto-completion
• InnoDB Cluster support
– Setup your HA solution within minutes
• DevOps Tool
– Designed for DevOps operations
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: Invisible Indexes
• Indexes are “hidden” to the MySQL Optimizer
– Not the same as “disabled indexes”
– Contents are fully up to date and maintained by DML
• Two use cases:
– Soft Delete (Recycle Bin)
– Staged Rollout
23
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: SQL Roles
• Fully Function, Flexible, Properly Architected Roles
• Create and Drop Roles, Grant to Roles
• Grant Roles to Roles, Grant Roles to Users
• Limit Hosts that can use roles, Define Default Roles
• And even visualize Roles with SQL function ROLES_GRAPHML()
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
MySQL 5.7MySQL 5.6MySQL 5.5
MySQL Performance Schema
Evolution form 5.5 to 8.0
25
• Event Waits
• Mutexes
• Files
• Threads
MySQL 8.0
• Statement
Instrumentation
• Lower Overhead
• Memory
Instrumentation
• Prepared Statements
Instrumentation
• Transactions
Instrumentation
• Scalable Memory
Allocation
• Bundled SYS schema
• Lower Overhead
• Histograms
• Indexes
• Data Locks
instrumentation
• SQL Errors
instrumentation
• Variables
Instrumentation
• Table plugin
• Improved Defaults
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 26
MySQL 8.0: Performance Schema
0, 10, 20, 30, 40,
Query Time MySQL 8.0
MySQL 5.7
SELECT * FROM sys.session
1000 active sessions
Time in Seconds (Lower is better)
Up to
30x Faster30x
Faster
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: INFORMATION_SCHEMA
27
100 schemas times 50 tables (5000 tables)
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)
Up to
30x Faster30x
Faster
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: Persist Configuration
• Persist GLOBAL Server Variables
– SET PERSIST max_connections = 500;
• Examples Include:
– Offline_mode
– Read_Only
• Requires no filesystem access
• New! Captures timestamp and change user
28
Cloud Friendly
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: Alter Table - Instant Add Column
• Contribution from Tencent
– Only a metadata change
– No copying of data
– Smaller final data size
– Forward compatibility with old data file
• ALTER TABLE … ADD COLUMN c, ALGORITHM = INSTANT
• Supports DYNAMIC/COMPACT/REDUNDANT row formats
29
LabsLabs
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
All these features plus…
• Source code now documented with
Doxygen
• Plugin Infrastructure!
• Expanded GIS Support
• Expanded Query Hints Support
• Improved Scan Query Performance
• Improved BLOB Storage
• Improved Memcached Interface
• Cost Model Improvements
• Scalability Improvements
• Atomicity in Privileges
• Parser Refactoring
• Improvements to Temporary Tables
• C++11 and Toolchain Improvements
• GTID_PURGED always settable
• Persistent Auto Increment
• Native InnoDB Data dictionary
• Improved Information Schema performance
• New! SQL Grouping Function
• New! Optimizer Trace detailed sort statistics
• New! Descending Indexes
• New! Smaller Package Downloads
• New! JSON Aggregate, Pretty print functions
• New! JSON performance improvements
• New! Expanded Query Hints
• New! Improved usability of cost constant
configuration
• Group Replication in 8.0
• New! Transaction Save Point support in
Group Replication
• New! Improved Replication Applier Lag
Statistics in Performance Schema
• New! Per Multi-source Channel Replication
Filters
• New! Atomic DDL extended to the Binary
Log
• New! Performance Improvements on the
Replication Applier
• New! Parallel Replication Applier Policy
• New! Binary Log Management
Enhancements
• New! Additional Metadata Into the Binary
Log
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
MySQL 8.0: Upgrade Checker
31
• Quick and Easy MySQL Shell Utility
– JavaScript
– Python
• Identifies Issues Based on Severity
– No Issues
– Potential Errors
– Errors that must be fixed before Upgrading
• Recommends Fixes
– Schema, Configuration
– Data on Server, etc.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Management ToolsAdvanced Features Support
•Scalability
•High Availability
•Security
•Audit
•Encryption
•Monitoring
•Backup
•Development
•Administration
•Migration
• Technical Support
• Consultative Support
• Oracle Certifications
MySQL Enterprise Edition
32
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Learn More
• MySQL Support team Blogs - dev.mysql.com/support/blogs
• MySQL Server Team Blogs – mysqlserverteam.com
• MySQL High Availability Blogs - mysqlhighavailability.com
• MySQL Release Engineering Blogs - mysqlrelease.com
• Dev Team Blogs - insidemysql.com
• MySQL Enterprise Team Blogs - blogs.oracle.com/mysql
• Planet MySQL - planet.mysql.com
• MySQL forums across the internet : Thank you MySQL community
• Documentation : dev.mysql.com/doc
33
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Developer Resources
• dev.mysql.com/doc/x-devapi-userguide/en/
• github.com/mysql/mysql-connector-nodejs
• npmjs.com/package/@mysql/xdevapi
• dev.mysql.com/doc/refman/8.0/en/document-store.html
• dev.mysql.com/doc/x-devapi-userguide/en/
• dev.mysql.com/doc/dev/connector-nodejs/8.0/
• mysql.com/news-and-events/web-seminars/mysql-document-store-and-
node-js/
New! MySQL Document Store
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 35
8
8
8

Weitere ähnliche Inhalte

Was ist angesagt?

My sql fabric webinar tw2
My sql fabric webinar tw2My sql fabric webinar tw2
My sql fabric webinar tw2
Ivan Tu
 

Was ist angesagt? (20)

Node.js and the MySQL Document Store
Node.js and the MySQL Document StoreNode.js and the MySQL Document Store
Node.js and the MySQL Document Store
 
Unlocking Big Data Insights with MySQL
Unlocking Big Data Insights with MySQLUnlocking Big Data Insights with MySQL
Unlocking Big Data Insights with MySQL
 
Big Data with MySQL
Big Data with MySQLBig Data with MySQL
Big Data with MySQL
 
MySQL8.0 in COSCUP2017
MySQL8.0 in COSCUP2017MySQL8.0 in COSCUP2017
MySQL8.0 in COSCUP2017
 
MySQL User Group NL: MySQL 8.0 Document Store- NoSQL with all the benefits of...
MySQL User Group NL: MySQL 8.0 Document Store- NoSQL with all the benefits of...MySQL User Group NL: MySQL 8.0 Document Store- NoSQL with all the benefits of...
MySQL User Group NL: MySQL 8.0 Document Store- NoSQL with all the benefits of...
 
MySQL cluster 7.4
MySQL cluster 7.4 MySQL cluster 7.4
MySQL cluster 7.4
 
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 Indexes and Histograms - RMOUG Training Days 2022
MySQL Indexes and Histograms - RMOUG Training Days 2022MySQL Indexes and Histograms - RMOUG Training Days 2022
MySQL Indexes and Histograms - RMOUG Training Days 2022
 
Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19
 
Using MySQL in the Cloud
Using MySQL in the CloudUsing MySQL in the Cloud
Using MySQL in the Cloud
 
My sql fabric webinar tw2
My sql fabric webinar tw2My sql fabric webinar tw2
My sql fabric webinar tw2
 
A History of Oracle Corporation
A History of Oracle CorporationA History of Oracle Corporation
A History of Oracle Corporation
 
DataOps Barcelona - MySQL HA so easy... that's insane !
DataOps Barcelona - MySQL HA so easy... that's insane !DataOps Barcelona - MySQL HA so easy... that's insane !
DataOps Barcelona - MySQL HA so easy... that's insane !
 
MySQL vs. NoSQL and NewSQL - survey results
MySQL vs. NoSQL and NewSQL - survey resultsMySQL vs. NoSQL and NewSQL - survey results
MySQL vs. NoSQL and NewSQL - survey results
 
A Step by Step Introduction to the MySQL Document Store
A Step by Step Introduction to the MySQL Document StoreA Step by Step Introduction to the MySQL Document Store
A Step by Step Introduction to the MySQL Document Store
 
Understanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12cUnderstanding Oracle GoldenGate 12c
Understanding Oracle GoldenGate 12c
 
MOUG17 Keynote: Oracle OpenWorld Major Announcements
MOUG17 Keynote: Oracle OpenWorld Major AnnouncementsMOUG17 Keynote: Oracle OpenWorld Major Announcements
MOUG17 Keynote: Oracle OpenWorld Major Announcements
 
Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )
 
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...
 
Welcome to databases in the Cloud
Welcome to databases in the CloudWelcome to databases in the Cloud
Welcome to databases in the Cloud
 

Ähnlich wie Mysql8for blr usercamp

2018: State of the Dolphin, MySQL Keynote at Percona Live Europe 2018, Frankf...
2018: State of the Dolphin, MySQL Keynote at Percona Live Europe 2018, Frankf...2018: State of the Dolphin, MySQL Keynote at Percona Live Europe 2018, Frankf...
2018: State of the Dolphin, MySQL Keynote at Percona Live Europe 2018, Frankf...
Geir Høydalsvik
 

Ähnlich wie Mysql8for blr usercamp (20)

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 ?
 
2018: State of the Dolphin, MySQL Keynote at Percona Live Europe 2018, Frankf...
2018: State of the Dolphin, MySQL Keynote at Percona Live Europe 2018, Frankf...2018: State of the Dolphin, MySQL Keynote at Percona Live Europe 2018, Frankf...
2018: State of the Dolphin, MySQL Keynote at Percona Live Europe 2018, Frankf...
 
MySQL Document Store (Oracle Code Warsaw 2018)
MySQL Document Store (Oracle Code Warsaw 2018)MySQL Document Store (Oracle Code Warsaw 2018)
MySQL Document Store (Oracle Code Warsaw 2018)
 
MySQL 8.0 - What's New ?
MySQL 8.0 - What's New ?MySQL 8.0 - What's New ?
MySQL 8.0 - What's New ?
 
20190713_MySQL開発最新動向
20190713_MySQL開発最新動向20190713_MySQL開発最新動向
20190713_MySQL開発最新動向
 
20190915_MySQL開発最新動向
20190915_MySQL開発最新動向20190915_MySQL開発最新動向
20190915_MySQL開発最新動向
 
MySQL Day Paris 2016 - State Of The Dolphin
MySQL Day Paris 2016 - State Of The DolphinMySQL Day Paris 2016 - State Of The Dolphin
MySQL Day Paris 2016 - State Of The Dolphin
 
MySQL Day Paris 2018 - Introduction & The State of the Dolphin
MySQL Day Paris 2018 - Introduction & The State of the DolphinMySQL Day Paris 2018 - Introduction & The State of the Dolphin
MySQL Day Paris 2018 - Introduction & The State of the Dolphin
 
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
MySQL Shell: the daily tool for devs and admins. By Vittorio Cioe.
 
My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015My sql5.7 whatsnew_presentedatgids2015
My sql5.7 whatsnew_presentedatgids2015
 
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
 
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document StoreConnector/J Beyond JDBC: the X DevAPI for Java and MySQL as a Document Store
Connector/J Beyond JDBC: the X DevAPI for Java and MySQL as a 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
 
MySQL Shell: The DevOps Tool for MySQL
MySQL Shell: The DevOps Tool for MySQLMySQL Shell: The DevOps Tool for MySQL
MySQL Shell: The DevOps Tool for MySQL
 
My sql8 innodb_cluster
My sql8 innodb_clusterMy sql8 innodb_cluster
My sql8 innodb_cluster
 
MySQL Document Store and Node.JS
MySQL Document Store and Node.JSMySQL Document Store and Node.JS
MySQL Document Store and Node.JS
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats new
 
MySQL 8.0 Introduction to NoSQL + SQL
MySQL 8.0 Introduction to NoSQL + SQLMySQL 8.0 Introduction to NoSQL + SQL
MySQL 8.0 Introduction to NoSQL + SQL
 
MySQL 5.7 - What's new, How to upgrade and Document Store
MySQL 5.7 - What's new, How to upgrade and Document StoreMySQL 5.7 - What's new, How to upgrade and Document Store
MySQL 5.7 - What's new, How to upgrade and Document Store
 

Mehr von Mysql User Camp

Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql FabricMysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp
 

Mehr von Mysql User Camp (9)

Json improvements in my sql 8.0
Json improvements in my sql 8.0  Json improvements in my sql 8.0
Json improvements in my sql 8.0
 
EXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATION
EXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATIONEXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATION
EXPERIENCE WITH MYSQL HA SOLUTION AND GROUP REPLICATION
 
Doc store
Doc storeDoc store
Doc store
 
MySQL docker with demo by Ramana Yeruva
MySQL docker with demo by Ramana YeruvaMySQL docker with demo by Ramana Yeruva
MySQL docker with demo by Ramana Yeruva
 
Customer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR KarthikCustomer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR Karthik
 
Optimizer overviewoow2014
Optimizer overviewoow2014Optimizer overviewoow2014
Optimizer overviewoow2014
 
Multi source replication pdf
Multi source replication pdfMulti source replication pdf
Multi source replication pdf
 
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql FabricMysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql Fabric
 

Kürzlich hochgeladen

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 

Kürzlich hochgeladen (20)

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 

Mysql8for blr usercamp

  • 1. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL 8 : NoSQL + SQL Tomas Ulin VP MySQL Engineering Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 1
  • 2. Copyright © 2018, 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 © 2018, Oracle and/or its affiliates. All rights reserved. | MySQL Powers the Web 3
  • 4. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. They Scale with MySQL Mobile Network Supporting Over 800 Million Subscribers 1.6 Billion Active Users 100 TB of User Data for PayPal IDs Processed for 1 Billion Citizens 850 Million Candy Crush Game Plays/Day 2 Billion Events/Day for Booking.com
  • 5. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | MySQL Innovation: 5.7 -> 8.0 - 3x Better Performance - Replication Enhancements - Optimizer Cost Model - JSON Support - Improved Security - Sys & Performance Schema - GIS MySQL 5.7 MySQL InnoDB Cluster - MySQL Group Replication - MySQL Router - MySQL Shell MySQL 8.0 - NoSQL Document Store - JSON - CTEs - Window Functions - Data Dictionary - InnoDB - Replication - Roles - Unicode - GIS 2 Years in Development 400+ Worklogs 5000+ Bugs Fixed 500 New Tests GA
  • 6. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 6 MySQL 8.0: Document Store • Document oriented data storage for MySQL – Full JSON document support through SQL and new X DevAPI NoSQL interface • Schema-less and schema based data in the same technology stack – Use COLLECTIONs of documents & relational TABLEs together • Rapid Prototyping & Simple CRUD APIs – Modern APIs using “method chaining” and asynchronous execution (e.g. promises, callbacks, etc.) • Connectors for many different languages and frameworks – Node.JS, Java, NET, C++/C, PHP, Python NoSQL + SQL
  • 7. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 7 X ProtocolStd Protocol SQL API CRUD and SQL APIs JSON Collections SQL Tables MySQL Databases SQL and NoSQL {“_id: “232342”, “firstname”: “John”, “lastname”: “Doe”, “city”: “anytown”}; City Name Pop Area Anytown 2003 33 Othertown 23000 400 Relational Tables MySQL Shell Scripting MySQL Connectors (Node.js, Python, Java, .Net) SQL NoSQL JSON Collections Applications MySQL 8.0: Document Store Architecture
  • 8. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. • Full Node.js integration – Support for “Promises” • Autocompletion support in IDEs – Due to method chaining support • Intuitive Documentation & Tutorials – Example: 8 MySQL 8.0: Document Store Designed for modern Developers COLLECTION.add Function
  • 9. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 9 Get started in minutes MySQL 8.0: Shell • Rapid prototyping capabilities – Using JavaScript and Python • Full SQL and X DevAPI support – With built in auto-completion
  • 10. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: JSON_TABLE Function • Convert JSON column into a table with 2 columns: SELECT people.* FROM t1, JSON_TABLE(json_col, '$.people[*]' COLUMNS ( name VARCHAR(40) PATH '$.name', address VARCHAR(100) PATH '$.address')) people WHERE people.address LIKE '%San Francisco%'; 10 • JSON is NOT limited to CRUD, can also be used in complex queries • JSON_TABLE converts JSON into SQL table • Leverage existing SQL framework for aggregation
  • 11. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: JSON Functions 11 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()
  • 12. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: Efficient Replication of JSON Documents Replicate only changed fields of documents (Partial JSON Updates) 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
  • 13. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: Transactional Data Dictionary MySQL 8.0 increases the overall reliability because:  MySQL 8.0 stores its meta-data into InnoDB, a proven transactional storage engine.  MySQL 8.0 eliminates one source of potential inconsistency (5.7 had two dictionaries)  MySQL 8.0 ensures atomic, crash safe DDL.  MySQL 8.0 reimplements Information Schema, as simple views on data dictionary tables which execute up to 100 times faster than 5.7. Data Dictionary InnoDB Storage Engine DD Table DD Table Transactional Dictionary Tables Metadata store in 8.0 Data Dictionary Files FRM TRG OPT System Tables (mysql.) user procevents InnoDB System Tables MyISAM File system InnoDB Metadata store in 5.7 Atomic and crash-safe DDL
  • 14. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: CTEs & Window Functions • Common Table Expression (WITH clause) – Non-recursive – Recursive – Used for hierarchy traversal • Window functions – Aggregation, ranking, analytics – Used for analytics and reporting 14
  • 15. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: Better Handling of Hot Row Contention 15 SELECT * FROM tickets WHERE id IN (1,2,3,4) AND order_id IS NULL FOR UPDATE NOWAIT; SELECT * FROM tickets WHERE id IN (1,2,3,4) AND order_id IS NULL FOR UPDATE SKIP LOCKED; Error immediately if a row is already locked Non deterministically skip over locked rows
  • 16. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: InnoDB Improvements • Document Store/JSON – More efficient BLOBs, up to 4x improvement on update – Better performance for both small and large BLOBs • New Scalable WAL – Lock free design • Atomic DDL • Persistent Auto Increment • Contention Aware Transaction Scheduling (CATS) – Contribution from University of Michigan • Removed IO bottlenecks – More scalable design 16
  • 17. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 0 50 000 100 000 150 000 200 000 250 000 300 000 1 2 4 8 16 32 64 128 256 512 1 024 QueriesperSecond Users MySQL 8.0 MySQL 5.7 MySQL 8.0: SysBench Read Write (update nokey) 2x Faster than MySQL 5.7 Oracle Confidential – Internal/Restricted/Highly Restricted 17 OS : Oracle Linux 7.4 CPU : 48cores-HT Intel Skylake 2.7Ghz (2CPU sockets, Intel(R) Xeon(R) Platinum 8168 CPU) RAM: 256GB Storage : x2 Intel Optane flash devices (Intel (R) Optane (TM) SSD P4800X Series)
  • 18. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: SysBench IO Bound Read Only (Point Selects) 2x Faster than MySQL 5.7 Oracle Confidential – Internal/Restricted/Highly Restricted 18 0 200 000 400 000 600 000 800 000 1 000 000 1 200 000 1 2 4 8 16 32 64 128 256 512 QueriesperSecond Users MySQL 8.0 MySQL 5.7 OS : Oracle Linux 7.4 CPU : 48cores-HT Intel Skylake 2.7Ghz (2CPU sockets, Intel(R) Xeon(R) Platinum 8168 CPU) RAM: 256GB Storage : x2 Intel Optane flash devices (Intel (R) Optane (TM) SSD P4800X Series)
  • 19. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: Replication Improvements • WRITESET based parallel replication applier – JF @ booking.com experiences 10x better performance • Efficient Replication of JSON Documents – Much smaller replication storage and network footprint for JSON fields • Per Channel replication filters in Multi-source – Able to deploy different filters for different channels • Crash-recovery of DDLs and Replication – Resiliency (Replication, Metadata and Data recovered together after a crash) • Performance schema enhancements – Better assessment of slave lag consolidated view over a cluster 19
  • 20. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: Group Replication Improvements • Specify next-primary in the event of the current Primary failure – User can define the next server to win the primary election • Automatically prevent updates on replicas that leave the cluster – Automatically fence servers that drop out of the group • Online and automated Cluster Performance Management Fine Tuning – Flow control has more configuration parameters 20
  • 21. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. InnoDB Cluster 21 App Servers with MySQL Router MySQL Group Replication MySQL Shell Setup, Manage, Orchestrate “High Availability becomes a core first class feature of MySQL!”
  • 22. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 22 Get started in minutes MySQL 8.0: Shell • Rapid prototyping capabilities – Using JavaScript and Python • Full SQL and X DevAPI support – With built in auto-completion • InnoDB Cluster support – Setup your HA solution within minutes • DevOps Tool – Designed for DevOps operations
  • 23. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: Invisible Indexes • Indexes are “hidden” to the MySQL Optimizer – Not the same as “disabled indexes” – Contents are fully up to date and maintained by DML • Two use cases: – Soft Delete (Recycle Bin) – Staged Rollout 23
  • 24. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: SQL Roles • Fully Function, Flexible, Properly Architected Roles • Create and Drop Roles, Grant to Roles • Grant Roles to Roles, Grant Roles to Users • Limit Hosts that can use roles, Define Default Roles • And even visualize Roles with SQL function ROLES_GRAPHML()
  • 25. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | MySQL 5.7MySQL 5.6MySQL 5.5 MySQL Performance Schema Evolution form 5.5 to 8.0 25 • Event Waits • Mutexes • Files • Threads MySQL 8.0 • Statement Instrumentation • Lower Overhead • Memory Instrumentation • Prepared Statements Instrumentation • Transactions Instrumentation • Scalable Memory Allocation • Bundled SYS schema • Lower Overhead • Histograms • Indexes • Data Locks instrumentation • SQL Errors instrumentation • Variables Instrumentation • Table plugin • Improved Defaults
  • 26. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 26 MySQL 8.0: Performance Schema 0, 10, 20, 30, 40, Query Time MySQL 8.0 MySQL 5.7 SELECT * FROM sys.session 1000 active sessions Time in Seconds (Lower is better) Up to 30x Faster30x Faster
  • 27. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: INFORMATION_SCHEMA 27 100 schemas times 50 tables (5000 tables) 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) Up to 30x Faster30x Faster
  • 28. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: Persist Configuration • Persist GLOBAL Server Variables – SET PERSIST max_connections = 500; • Examples Include: – Offline_mode – Read_Only • Requires no filesystem access • New! Captures timestamp and change user 28 Cloud Friendly
  • 29. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: Alter Table - Instant Add Column • Contribution from Tencent – Only a metadata change – No copying of data – Smaller final data size – Forward compatibility with old data file • ALTER TABLE … ADD COLUMN c, ALGORITHM = INSTANT • Supports DYNAMIC/COMPACT/REDUNDANT row formats 29 LabsLabs
  • 30. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. All these features plus… • Source code now documented with Doxygen • Plugin Infrastructure! • Expanded GIS Support • Expanded Query Hints Support • Improved Scan Query Performance • Improved BLOB Storage • Improved Memcached Interface • Cost Model Improvements • Scalability Improvements • Atomicity in Privileges • Parser Refactoring • Improvements to Temporary Tables • C++11 and Toolchain Improvements • GTID_PURGED always settable • Persistent Auto Increment • Native InnoDB Data dictionary • Improved Information Schema performance • New! SQL Grouping Function • New! Optimizer Trace detailed sort statistics • New! Descending Indexes • New! Smaller Package Downloads • New! JSON Aggregate, Pretty print functions • New! JSON performance improvements • New! Expanded Query Hints • New! Improved usability of cost constant configuration • Group Replication in 8.0 • New! Transaction Save Point support in Group Replication • New! Improved Replication Applier Lag Statistics in Performance Schema • New! Per Multi-source Channel Replication Filters • New! Atomic DDL extended to the Binary Log • New! Performance Improvements on the Replication Applier • New! Parallel Replication Applier Policy • New! Binary Log Management Enhancements • New! Additional Metadata Into the Binary Log
  • 31. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. MySQL 8.0: Upgrade Checker 31 • Quick and Easy MySQL Shell Utility – JavaScript – Python • Identifies Issues Based on Severity – No Issues – Potential Errors – Errors that must be fixed before Upgrading • Recommends Fixes – Schema, Configuration – Data on Server, etc.
  • 32. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Management ToolsAdvanced Features Support •Scalability •High Availability •Security •Audit •Encryption •Monitoring •Backup •Development •Administration •Migration • Technical Support • Consultative Support • Oracle Certifications MySQL Enterprise Edition 32
  • 33. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Learn More • MySQL Support team Blogs - dev.mysql.com/support/blogs • MySQL Server Team Blogs – mysqlserverteam.com • MySQL High Availability Blogs - mysqlhighavailability.com • MySQL Release Engineering Blogs - mysqlrelease.com • Dev Team Blogs - insidemysql.com • MySQL Enterprise Team Blogs - blogs.oracle.com/mysql • Planet MySQL - planet.mysql.com • MySQL forums across the internet : Thank you MySQL community • Documentation : dev.mysql.com/doc 33
  • 34. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Developer Resources • dev.mysql.com/doc/x-devapi-userguide/en/ • github.com/mysql/mysql-connector-nodejs • npmjs.com/package/@mysql/xdevapi • dev.mysql.com/doc/refman/8.0/en/document-store.html • dev.mysql.com/doc/x-devapi-userguide/en/ • dev.mysql.com/doc/dev/connector-nodejs/8.0/ • mysql.com/news-and-events/web-seminars/mysql-document-store-and- node-js/ New! MySQL Document Store
  • 35. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. 35 8 8 8