Copyright © 2019 Oracle and/or its affiliates.
NoSQL + SQL = MySQL 8
Sanjay Manwani,
MySQL India Sr. Director
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, timing, and pricing of any features or functionality described for Oracle’s products may change
and remains at the sole discretion of Oracle Corporation.
Statements in this presentation relating to Oracle’s future plans, expectations, beliefs, intentions and
prospects are “forward-looking statements” and are subject to material risks and uncertainties. A detailed
discussion of these factors and other risks that affect our business is contained in Oracle’s Securities and
Exchange Commission (SEC) filings, including our most recent reports on Form 10-K and Form 10-Q
under the heading “Risk Factors.” These filings are available on the SEC’s website or on Oracle’s website
at http://www.oracle.com/investor. All information in this presentation is current as of September 2019
and Oracle undertakes no duty to update any statement in light of new information or future events.
Safe Harbor
Copyright © 2019 Oracle and/or its affiliates.
DB-Engines 2019
Database Ranking
MySQL is the 2nd most popular database
MySQL Developer Popularity
Stack Overflow Developer Survey 2019
MySQL is most popular database with developers
MySQL 8.0: One Giant Leap for SQL
“This is a landmark release as MySQL
eventually evolved beyond SQL-92 and the
purely relational dogma. Among a few
other standard SQL features, MySQL now
supports window functions (over) and
common table expressions (with). Without
a doubt, these are the two most important
post-SQL-92 features.”
https://modern-sql.com/blog/2018-04/mysql-8.0
MySQL 8.0: Light Years from 5.x
Copyright © 2019 Oracle and/or its affiliates.
6
MySQL 8.0: Fast Adoption
7
April 2018 (8.0 GA) August 2019
MySQL 8.0
26%
MySQL 5.7
47%
MySQL 5.6
24%
[CATEGORY
NAME]
[PERCENTAGE]
[CATEGOR
Y NAME]
[PERCENT
AGE]
MySQL 5.7
66%
MySQL 5.6
25%
MySQL 5.5
4%
Copyright © 2019 Oracle and/or its affiliates.
MySQL 8.0: Relases in 2019
8.0.16 (Apr 2019)
CHECK CONSTRAINTS
AUTO-UPGRADE
AUTO-REJOIN (GR)
8.0.17 (Jul 2019)
CLONE
JSON ARRAY INDEXES
JSON SCHEMA
8.0.18 (Oct 2019)
HASH JOIN
EXPLAIN ANALYZE
…
8.0.14 (Jan 2019)
LATERAL DERIVED TABLES
PARALLEL READ OF INDEX
CONSISTENCY LEVELS (GR)
8
MySQL 8.0: Upgrade Checker
• 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.
MySQL 8.0: Document Store
1
• 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 = MySQL
MySQL 8.0: Shell
1
Get started in minutes
• 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
MySQL 8.0: CTEs & Window Functions
1
• Common Table Expression (WITH clause)
– Non-recursive
– Recursive
– Used for hierarchy traversal
• Window Functions
– Aggregation, ranking, analytics
– Used for analytics and reporting
Copyright © 2019 Oracle and/or its affiliates.
MySQL 8.0: EXPLAIN ANALYZE
• Instruments and executes the query
– Estimated cost
– Actual execution statistics
• Time to return first row
• Time to return all rows
• Number of rows returned
• Number of loops
• Uses the new tree output format also available in EXPLAIN
8.0.18
Copyright © 2019 Oracle and/or its affiliates.
MySQL 8.0: Hash Join
• Typically faster than nested loop for large result sets
• In-memory if possible
• Spill to disk if necessary
• Used for inner equi-joins
– Extendable to outer, semi and anti joins
• Replaces BNL in query plans
• Hints to force use of hash join or nested loop
8.0.18
MySQL InnoDB Cluster
App Servers with
MySQL Router
MySQL Group Replication
MySQL Shell
Setup, Manage,
Orchestrate
Native HA for MySQL
• MySQL Group Replication
– High Availability
– Elastic, Fault Tolerant, Self Healing
• MySQL Router
– Connection Routing, Load Balancing
• MySQL Shell
– Easy Setup & Administration
MySQL InnoDB Cluster
1
New! Configurable cluster-wide Consistency Levels
Copyright © 2019 Oracle and/or its affiliates.
MySQL InnoDB Cluster
CLONE: Automatic Full Data
Snapshot Provisioning
MySQL
Group Replication
New! Automatic Node Provisioning with CLONE plugin
Joining
Member
Copyright © 2019 Oracle and/or its affiliates.
MySQL 8.0: The complete list of new features
18
https://mysqlserverteam.com/the-complete-list-of-new-features-in-mysql-8-0/
Coming Soon : MySQL as a Service
Managed MySQL: Focus on Your Business
Oracle Responsibility
• Backup and recovery
• High-availability with
automatic fail-over
• Vertical and horizontal
scaling
• Database and OS
patching
• Monitoring and log
handling
• Security with advanced
options available in
MySQL Enterprise Edition
User Responsibility
• Logical schema
modeling
• Query design and
optimization
• Define data access and
retention policies
OCI REGION
AVAILABILITY DOMAIN 1
Dev or
Admin
CUSTOMER PREMISES
MySQLaaS INTERNAL TENANCY
VIRTUAL CLOUD NETWORK (VCN)
USER TENANCY
Client App
MySQL
protocol
MySQLaaS API
MYSQL
DB SYSTEMS & INSTANCES
MYSQL DATABASE
ENDPOINTS
VNICVNICVNIC
HTTPS
SSH
Copyright © 2019 Oracle and/or its affiliates.
Elasticity & High Availability
• Replication across
different physical
locations
• Auto fail-over
managed internally,
no user action is
required
• You can add read-
only replicas for
horizontal
scalability
OCI REGION
AVAILABILITY DOMAIN 1 AVAILABILITY DOMAIN 2 AVAILABILITY DOMAIN 3
VIRTUAL CLOUD NETWORK (VCN)
ID & Access
Management
Object
Storage
(Backups)
PUBLIC IP ADDRESS
Listener
Internet
Gateway
MYSQL CLOUD SERVICE ENDPOINTS
Load Balancer
Primary
Load Balancer
Failover
BACKEND APP
VNICVNICVNIC
Copyright © 2019 Oracle and/or its affiliates.
Only with MySQL Cloud Service
Get all Oracle Cloud
Infrastructure advantages
OCI (gen 2) is the best Cloud platform to run mission-critical Enterprise workloads
and databases. It is secure-by-design and delivers unbeatable price/performance
ratio with SLA guarantees.
Made by the MySQL experts
MySQL is developed and maintained at Oracle by the MySQL Engineers. The new
MySQL Service is growing under the same umbrella, built and operated by the
same talents as an OCI-native service.
Always up-to-date
Because we are the MySQL database developers and maintainers, we can keep
MySQL Service synchronized with the latest features and fixes for MySQL
database.
The most advanced MySQL
Edition available as a service
MySQL Service is based on MySQL Enterprise Edition version 8, which includes
the most complete and advanced set of features.
Exclusive brand new Analytics
engine
MySQL Analytics is a brand new Engine developed by Oracle Labs, deeply
integrated and available only with the new MySQL Service.
Oracle Premier Support
included
MySQL Support team has decades of experience helping MySQL customers. We
are leveraging this knowledge to build and operate the new MySQL Service.
Customers are also eligible to receive Premier support with no extra cost.
Copyright © 2019 Oracle and/or its affiliates.
OCI Native
Unified experience
across OCI platform
• Web Console
• Monitoring &
Notification
• Logging
• Events & Audit
• Identity
• Cost Tracking
• Search
• Tags
• DevOps Tools
MySQL Service on OCI
SDKs, Terraform & DevOps Tools
• Java SDK
• Python SDK
• Ruby SDK
• Terraform Provider & Resource
Manager
• Chef and Ansible
• Data Transfer Utilities
Powerful when combined with Cloud
Native OCI Services like Managed
Kubernetes, Registry and Serverless
Ready for the New Stack Developers
MySQL Analytics as a Service
Ground breaking technology from Oracle Labs
Extreme In-Memory Analytics Performance
Optimized for Oracle Cloud Infrastructure
• Delivers compelling performance/$
• Massive Scalability
Integrated with MySQL
• Instantiate a new service or add to a running MySQL service
Support for Real-Time SQL Analytics
• Analytics provided over same transactional store
Analytics
Copyright © 2019 Oracle and/or its affiliates.
Copyright © 2019 Oracle and/or its affiliates.
Oracle Open World 2019 : Announcements
2
• Autonomous Database
– Automatic configuration changes based on Machine Learning
• Autonomous OS (Oracle Linux)
– Automatic configuration changes based on Machine Learning
• Always Free tier of Oracle Cloud
– Try Oracle for free with no expiry date
• India local Cloud data centers
– Meeting India data localization requirements. Mumbai - launched, Hyderabad - launching soon

NoSQL + SQL = Mysql 8 Open Source India 2019 keynote

  • 1.
    Copyright © 2019Oracle and/or its affiliates. NoSQL + SQL = MySQL 8 Sanjay Manwani, MySQL India Sr. Director
  • 2.
    The following isintended 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, timing, and pricing of any features or functionality described for Oracle’s products may change and remains at the sole discretion of Oracle Corporation. Statements in this presentation relating to Oracle’s future plans, expectations, beliefs, intentions and prospects are “forward-looking statements” and are subject to material risks and uncertainties. A detailed discussion of these factors and other risks that affect our business is contained in Oracle’s Securities and Exchange Commission (SEC) filings, including our most recent reports on Form 10-K and Form 10-Q under the heading “Risk Factors.” These filings are available on the SEC’s website or on Oracle’s website at http://www.oracle.com/investor. All information in this presentation is current as of September 2019 and Oracle undertakes no duty to update any statement in light of new information or future events. Safe Harbor Copyright © 2019 Oracle and/or its affiliates.
  • 3.
    DB-Engines 2019 Database Ranking MySQLis the 2nd most popular database
  • 4.
    MySQL Developer Popularity StackOverflow Developer Survey 2019 MySQL is most popular database with developers
  • 5.
    MySQL 8.0: OneGiant Leap for SQL “This is a landmark release as MySQL eventually evolved beyond SQL-92 and the purely relational dogma. Among a few other standard SQL features, MySQL now supports window functions (over) and common table expressions (with). Without a doubt, these are the two most important post-SQL-92 features.” https://modern-sql.com/blog/2018-04/mysql-8.0
  • 6.
    MySQL 8.0: LightYears from 5.x Copyright © 2019 Oracle and/or its affiliates. 6
  • 7.
    MySQL 8.0: FastAdoption 7 April 2018 (8.0 GA) August 2019 MySQL 8.0 26% MySQL 5.7 47% MySQL 5.6 24% [CATEGORY NAME] [PERCENTAGE] [CATEGOR Y NAME] [PERCENT AGE] MySQL 5.7 66% MySQL 5.6 25% MySQL 5.5 4%
  • 8.
    Copyright © 2019Oracle and/or its affiliates. MySQL 8.0: Relases in 2019 8.0.16 (Apr 2019) CHECK CONSTRAINTS AUTO-UPGRADE AUTO-REJOIN (GR) 8.0.17 (Jul 2019) CLONE JSON ARRAY INDEXES JSON SCHEMA 8.0.18 (Oct 2019) HASH JOIN EXPLAIN ANALYZE … 8.0.14 (Jan 2019) LATERAL DERIVED TABLES PARALLEL READ OF INDEX CONSISTENCY LEVELS (GR) 8
  • 9.
    MySQL 8.0: UpgradeChecker • 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.
  • 10.
    MySQL 8.0: DocumentStore 1 • 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 = MySQL
  • 11.
    MySQL 8.0: Shell 1 Getstarted in minutes • 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
  • 12.
    MySQL 8.0: CTEs& Window Functions 1 • Common Table Expression (WITH clause) – Non-recursive – Recursive – Used for hierarchy traversal • Window Functions – Aggregation, ranking, analytics – Used for analytics and reporting
  • 13.
    Copyright © 2019Oracle and/or its affiliates. MySQL 8.0: EXPLAIN ANALYZE • Instruments and executes the query – Estimated cost – Actual execution statistics • Time to return first row • Time to return all rows • Number of rows returned • Number of loops • Uses the new tree output format also available in EXPLAIN 8.0.18
  • 14.
    Copyright © 2019Oracle and/or its affiliates. MySQL 8.0: Hash Join • Typically faster than nested loop for large result sets • In-memory if possible • Spill to disk if necessary • Used for inner equi-joins – Extendable to outer, semi and anti joins • Replaces BNL in query plans • Hints to force use of hash join or nested loop 8.0.18
  • 15.
    MySQL InnoDB Cluster AppServers with MySQL Router MySQL Group Replication MySQL Shell Setup, Manage, Orchestrate Native HA for MySQL • MySQL Group Replication – High Availability – Elastic, Fault Tolerant, Self Healing • MySQL Router – Connection Routing, Load Balancing • MySQL Shell – Easy Setup & Administration
  • 16.
    MySQL InnoDB Cluster 1 New!Configurable cluster-wide Consistency Levels
  • 17.
    Copyright © 2019Oracle and/or its affiliates. MySQL InnoDB Cluster CLONE: Automatic Full Data Snapshot Provisioning MySQL Group Replication New! Automatic Node Provisioning with CLONE plugin Joining Member
  • 18.
    Copyright © 2019Oracle and/or its affiliates. MySQL 8.0: The complete list of new features 18 https://mysqlserverteam.com/the-complete-list-of-new-features-in-mysql-8-0/
  • 19.
    Coming Soon :MySQL as a Service
  • 20.
    Managed MySQL: Focuson Your Business Oracle Responsibility • Backup and recovery • High-availability with automatic fail-over • Vertical and horizontal scaling • Database and OS patching • Monitoring and log handling • Security with advanced options available in MySQL Enterprise Edition User Responsibility • Logical schema modeling • Query design and optimization • Define data access and retention policies OCI REGION AVAILABILITY DOMAIN 1 Dev or Admin CUSTOMER PREMISES MySQLaaS INTERNAL TENANCY VIRTUAL CLOUD NETWORK (VCN) USER TENANCY Client App MySQL protocol MySQLaaS API MYSQL DB SYSTEMS & INSTANCES MYSQL DATABASE ENDPOINTS VNICVNICVNIC HTTPS SSH
  • 21.
    Copyright © 2019Oracle and/or its affiliates. Elasticity & High Availability • Replication across different physical locations • Auto fail-over managed internally, no user action is required • You can add read- only replicas for horizontal scalability OCI REGION AVAILABILITY DOMAIN 1 AVAILABILITY DOMAIN 2 AVAILABILITY DOMAIN 3 VIRTUAL CLOUD NETWORK (VCN) ID & Access Management Object Storage (Backups) PUBLIC IP ADDRESS Listener Internet Gateway MYSQL CLOUD SERVICE ENDPOINTS Load Balancer Primary Load Balancer Failover BACKEND APP VNICVNICVNIC
  • 22.
    Copyright © 2019Oracle and/or its affiliates. Only with MySQL Cloud Service Get all Oracle Cloud Infrastructure advantages OCI (gen 2) is the best Cloud platform to run mission-critical Enterprise workloads and databases. It is secure-by-design and delivers unbeatable price/performance ratio with SLA guarantees. Made by the MySQL experts MySQL is developed and maintained at Oracle by the MySQL Engineers. The new MySQL Service is growing under the same umbrella, built and operated by the same talents as an OCI-native service. Always up-to-date Because we are the MySQL database developers and maintainers, we can keep MySQL Service synchronized with the latest features and fixes for MySQL database. The most advanced MySQL Edition available as a service MySQL Service is based on MySQL Enterprise Edition version 8, which includes the most complete and advanced set of features. Exclusive brand new Analytics engine MySQL Analytics is a brand new Engine developed by Oracle Labs, deeply integrated and available only with the new MySQL Service. Oracle Premier Support included MySQL Support team has decades of experience helping MySQL customers. We are leveraging this knowledge to build and operate the new MySQL Service. Customers are also eligible to receive Premier support with no extra cost.
  • 23.
    Copyright © 2019Oracle and/or its affiliates. OCI Native Unified experience across OCI platform • Web Console • Monitoring & Notification • Logging • Events & Audit • Identity • Cost Tracking • Search • Tags • DevOps Tools
  • 24.
    MySQL Service onOCI SDKs, Terraform & DevOps Tools • Java SDK • Python SDK • Ruby SDK • Terraform Provider & Resource Manager • Chef and Ansible • Data Transfer Utilities Powerful when combined with Cloud Native OCI Services like Managed Kubernetes, Registry and Serverless Ready for the New Stack Developers
  • 25.
    MySQL Analytics asa Service Ground breaking technology from Oracle Labs Extreme In-Memory Analytics Performance Optimized for Oracle Cloud Infrastructure • Delivers compelling performance/$ • Massive Scalability Integrated with MySQL • Instantiate a new service or add to a running MySQL service Support for Real-Time SQL Analytics • Analytics provided over same transactional store Analytics Copyright © 2019 Oracle and/or its affiliates.
  • 26.
    Copyright © 2019Oracle and/or its affiliates. Oracle Open World 2019 : Announcements 2 • Autonomous Database – Automatic configuration changes based on Machine Learning • Autonomous OS (Oracle Linux) – Automatic configuration changes based on Machine Learning • Always Free tier of Oracle Cloud – Try Oracle for free with no expiry date • India local Cloud data centers – Meeting India data localization requirements. Mumbai - launched, Hyderabad - launching soon