MySQL 8 keynote given at Opensource India 2019 at Bangalore. Talks about key features of MySQL 8 and enhancements done in 2019. Also information about MySQL Cloud Service and MySQL analytics service. Key announcements from Oracle Open World 2019 are also shared.
5. 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
7. 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%
9. 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.
10. 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
11. 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
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
15. 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
20. 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
24. 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