SlideShare a Scribd company logo
1 of 84
Download to read offline
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Technology Overview
Keith Hollman
MySQL Principal Sales Consultant EMEA
keith.hollman@oracle.com
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
2
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Agenda
1
2
3
4
MySQL 8.0
MySQL Enterprise Edition
MySQL Cluster
Oracle MySQL Support
3
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Best Choice for Next Generation Web & Cloud Applications
World’s Most Popular open
Source Database
Leading Database for Web
Applications
#1 Database in the Cloud
Integrated with Hadoop in
Big Data Platforms
Strong MySQL Momentum
#2 Most Popular DBMS * #1 Linux Career IT skill **
* Based on the DB Engine Ranking in Aug 2019 ** Source: Linux Career IT Skills Watch update July 2019
4
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Powers:
cloud social
eCommerce Finance
Oracle Confidential – Internal/Restricted/Highly Restricted 5
Copyright © 2019 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
- 2x Better Performance
- 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 © 2019 Oracle and/or its affiliates. All rights reserved. |
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/2019-04/mysql-8.0
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
The Versions
5.1 5.5 5.6 5.7 8.0
8
Copyright © 2019 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
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 9
24x7at Scale
MySQL 8.0: Enables Modern Web Applications
9
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL
Master/Slave
Replication
Master/Slave with
Automated
Failover
DRBD
OS or VM
vendor
active/passive
solutions
MySQL Group
Replication
High Availability: Common MySQL Solutions
9 9 . 9 9 9 % Continuous
Availability
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Replication Topologies
11
Multi-source
5.7
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
• Multi-Source Replication
– Consolidate updates from multiple
Masters into one Slave
• Consolidated view of all shards
• More flexible topologies
• Centralized point for backups
– Compatible with Semi-Sync Replication
& enhanced MTS
• Performance Schema tables for
monitoring slave
• Online Operations: Dynamic
Replication Filters, switch master
MySQL Multi Source Replication
Binlog
Master 1
Binlog
Master 2
…
…
Binlog
Master N
IO 1
Relay 1
Coordinator
W1 W2 … WX
IO 2
Relay 2
Coordinator
W1 W2 … WX
…
…
Coordinator
W1 W2 … WX
IO N
Relay N
Coordinator
W1 W2 … WX
Slave
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
• Asynchronous
– MySQL Default
– In parallel: Master acks
to app and sends
transaction to slave
• Fast
• Risk of lost changes if
master dies
• Semi-Synchronous
– MySQL 5.5+ - Enhanced
in MySQL 5.7
– Serially: Master waits
for change to be
received by slave then
In parallel ack to app
and apply changes on
slave
• Intermediate latency
• Lossless (MySQL 5.7)
• Synchronous
– Only available with
MySQL Cluster
– Serially: Master waits
for change to be
applied on all slaves
before ack to app
• Higher latency
• If Active/Active, best
suited to small
transactions
• Lossless
Asynchronous vs. Synchronous Replication
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
InnoDB Cluster
14
App Servers with
MySQL Router
MySQL Group Replication
MySQL Shell
Setup, Manage,
Orchestrate
“High Availability becomes a core
first class feature of MySQL!”
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
• One Product: MySQL
– All components created together
– Tested together
– Packaged together
• Easy to Use
– One client: MySQL Shell
– Easy packaging
– Integrated orchestration
– Homogenous servers
• Flexible and Modern
– SQL and NoSQL together
– Protocol Buffers
– Developer friendly
• Support Read/Write Scale Out
– Sharded clusters
– Federated system of N replica sets
– Each replica set manages a shard
MySQL InnoDB Cluster: Goals
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Shell: DBA Admin API
• The global variable 'dba' is used to access the
MySQL AdminAPI
• mysql-js> dba.help()
• Perform DBA operations
– Manage MySQL InnoDB clusters
• Create clusters
• Validate MySQL instances
• Configure MySQL instances
• Get cluster info
• Modify clusters
• and much more ...
App Servers with
MySQL Router
MySQL Group Replication
MySQL Shell
Setup, Manage,
Orchestrate
16
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Router: Client Routing and HA
• Native support for InnoDB clusters
– Understands Group Replication topology
– Utilizes metadata schema stored on each member
• Bootstraps itself and sets up client routing for the InnoDB cluster
• Allows for intelligent client routing into the InnoDB cluster
– Supports multi-master and single primary modes
• Core improvements
– Built-in keyring for easy and secure password management
17
App Servers with
MySQL Router
MySQL Group Replication
MySQL Shell
Setup, Manage,
Orchestrate
”MySQL Router 2.1, with the new metadata_cache plugin, provides
transparent client connection routing and failover into your InnoDB clusters!”
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Group Replication: Database HA
• Group Replication library
– Implementation of Replicated Database State Machine
• MySQL GCS is based on our home-grown Paxos implementation
– Provides virtually synchronous replication for MySQL 5.7+
• Guarantees eventual consistency
– Automates operations
• Conflict detection and resolution
• Failure detection, fail-over, recovery
• Group membership management and reconfiguration
“Multi-master update anywhere replication plugin for MySQL with
built-in conflict detection and resolution, automatic distributed
recovery, and group membership.”
18
App Servers with
MySQL Router
MySQL Group Replication
MySQL Shell
Setup, Manage,
Orchestrate
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Workbench 8.0
• Performance Dashboard
– Performance Schema Reports & Graphs
• Visual Explain
• GIS Viewer
• Migration
– New: Microsoft Access
– Microsoft SQL Server, Sybase,
PostgreSQL, SQLite
19
• New Easy to Use Wizards for
– Fast Data Migration
– Table<->File Data Import/Export (like Excel)
– SSL Certificate Creation
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL on Windows
• MySQL Installer for Windows
• MySQL Workbench
• MySQL Migration Wizard
– Microsoft SQL Server
– Microsoft Access
• MySQL for Visual Studio
• MySQL for Excel
• MySQL Notifier
• MySQL Connector/.Net
• MySQL Connector/ODBC
20
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
35 / 112
MySQL Document Store
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
A solution for all
34 / 112
Developers:
[✔] Schemaless or/and Schema
[✔] Rapid Prototyping/Simpler APIs
[✔] Document Model
[✔] Transactions
Operations:
[✔] Performance Management/Visibility
[✔] Robust Replication, Backup, Restore
[✔] Comprehensive Tooling Ecosystem
[✔] Simpler application schema upgrades
Business Owner:
[✔] Don’t lose my data = ACID transactions
[✔] Capture all my data = Extensible/Schemaless
[✔] Products On Schedule/Time to Market = Rapid Development
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Document Store: Architecture
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Shell 8.0.11+
MySQL
Server 5.7
MySQL 8.0
Upgrade Checker
Prompt Themes
Auto Completion
&
Command History
MySQL
Server 8.0
Document Store
X DevAPI
InnoDB ClusterSQL CLI
Output Formats
(Table, JSON, Tabbed)
Batch Execution
JavaScript
Python
SQL
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Why MySQL Enterprise Edition?
25
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Replication Lossless Semi-Synchronous
GTIDs
Crash Safe
Time Delayed
Multi-threaded
Multi-Source
InnoDB Improved Throughput
Default Online DDL
Full Text Search
NoSQL Access
M y S Q L U t i l i t i e s
EXPLAIN
O p t i m i z e r : F a s t e r
Q u e r y E x e c u t i o n a n d
B e t t e r D i a g n o s t i c s
G I S
Performance
Schema
Security Partitioning
26
Why MySQL Enterprise Edition?
All the Database Features You Love
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Management ToolsAdvanced Features Support
• Scalability
• High Availability
• Authentication
• Audit
• Encryption + TDE
• Firewall
•Monitoring
•Backup
•Development
•Administration
•Migration
• Technical Support
• Consultative Support
• Oracle Certifications
MySQL Enterprise Edition
27
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL
Community & Enterprise
• MySQL Server software
• Standard functionalities: Partitioning, Replication, High Availability
• Storage Engines
• Utilities, CLI’s, GUI’s
• SQL & NoSQL
• Official Documentation, Planet.mysql.com & Bugs.mysql.com
• Connectors / API’s
• Connector/Net, Connector/J, Connector/Python, Connector/ODBC, Connector/C
(libmysql), Connector/C++, MySQL native driver for PHP (mysqlnd), libmysqld (mysql
embedded).
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Introduction
Software
• Community www.mysql.com/downloads Opensource, GPLv2.
• Enterprise edelivery.oracle.com product pack “MySQL Database”
• Enterprise Standard, Enterprise, Carrier Grade Edition.
• Embedded Classic, Standard, Enterprise, Carrier Grade Edition.
• Install packages rpm, msi.
• Compressed tarballs / zips tar.gz, MSWin zip “no installer”.
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Monitor
30
• Start monitoring MySQL in 10 minutes
• Real-time MySQL performance and
availability monitoring
• Visually find & fix problem queries
• Disk monitoring for capacity planning
• Cloud friendly architecture
– No agents required
• Optional agent option provides
advanced Host/OS monitoring
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Cloud-friendly Architecture
31
MySQL Enterprise
Dashboard
Service Manager
Repository
HTTPS
DataCenterPublicCloudPrivateCloud
• MySQL
– Performance Schema provides Query Analyzer data
– Provides all MySQL related metrics
• Service Manager
– Collects all MySQL related metrics
– Collects all OS/Host related metrics
• Repository
– Stores all historical data
• Agent (optional)
– Only required for OS/Host metrics
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Enterprise Monitor Dashboard
32
"The MySQL Enterprise Monitor is an absolute
must for any DBA who takes his work seriously.”
- Adrian Baumann, System Specialist
Federal Office of Information Technology &
Telecommunications
• SLA monitoring
• Real-time performance monitoring
• Alerts & notifications
• MySQL best practice advisors
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Enterprise Query Analyzer
33
• Real-time query performance
• Visual correlation graphs
• Find & fix expensive queries
• Detailed query statistics
• Query Response Time index (QRTi)
– “Quality of Service” (QoS) measurement
for each query
– QoS measurement for a server, group, or
every instance
– Single metric for query performance
“With the MySQL Query Analyzer, we were able to identify
and analyze problematic SQL code, and triple our database
performance. More importantly, we were able to
accomplish this in three days, rather than taking weeks.”
Keith Souhrada
Software Development Engineer
Big Fish Games
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Enterprise Replication Monitor
34
• Auto-discovers replication topology
• Master/Slave performance
monitoring
• Replication advisor
• Best practice replication advice
"I use the MySQL Enterprise Monitor
every day to monitor and keep tabs on
our MySQL databases. Quick one stop
shopping for keeping tabs on them.”
-Wes Homer,
Sr System and Network Administrator
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Best Practice Advisors
35
• Enforce MySQL best practices
• 14 Advisor categories
• 250+ Advisors
• Threshold-based alerts
– Exponential moving averages
– Rate change detection
• Expert problem resolution advice
"I definitely recommend the MySQL Enterprise
Monitor to DBAs who don't have a ton of MySQL
experience. It makes monitoring MySQL security,
performance and availability very easy to
understand and to act on.”
Sandi Barr
Sr. Software Engineer
Schneider Electric
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Backup
• Online, non-locking backup and recovery
– Complete MySQL instance backup (data and config)
– Partial backup and restore
• Direct Cloud storage backups (S3, etc.)
• Incremental backups
• Point-in-time recovery
• Advanced compressed and encryption
• Backup to tape (SBT)
• Backup validation
• Optimistic backups
• Cross-Platform (Windows, Linux, Unix)
36
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Monitor + Backup
37
• Monitor backup results
• Monitor backup performance
• Ensure backups are up to date
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Workbench EE
• Database migrations
– From Microsoft SQL Server,
PostgreSQL, Sybase ASE, Sybase SQL
Anywhere, SQLite, Microsoft Access,
and more
• Manage migration projects
• Source and target selection
• Object migration
• Data migration
• MySQL version upgrades
38
New! Database Migration Wizard
for SQL Server, Sybase, SQLite, SQL Anywhere & PostgreSQL
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Workbench EE + Audit
• Fast and easy access to Audit
events
• Indexed searches
– Event type
– User account
– Date range
– Text match
39
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Workbench EE + Backup
• Create and manage backup jobs
– Create new backup jobs
– Schedule backup jobs to run
automatically
– View current backup jobs
– View recent backup activity
• Restore backups
– Full, partial, incremental …
40
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Oracle Enterprise Manager for MySQL
41
Performance
Security
Availability
• Availability monitoring
• Performance monitoring
• Configuration monitoring
• All available metrics collected
– Allowing for custom threshold
based incident reports
• MySQL auto-detection
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
• Provides 20x better scalability
• Plugin improves sustained
performance as user connections
grow
MySQL Enterprise Scalability : Thread Pool
42
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Scalability : Thread Pool
43
Performance
Security
Availability
Internal Clients
Connection Execution Threads
External Clients
Thread Pool
Thread Group 1
Threads 1 - 4096
Thread Group 2
Threads 4097 - 8193
Thread Group N
Threads 8194 - N
Thread Group 1
Thread Group 2
Thread Group N
• Contains configurable number of thread groups (default = 16)
– Each group manages up to 4096 re-usable threads
• Each connection assigned to thread group via round robin
• Threads are prioritized and statements queued
– Improves scalability as concurrent connections grow, protection from DOS attacks
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Security Architecture
Authentication,
Encryption, Masking
Monitoring
Firewall
& Auditing
High Availability
& Backup
• Assess
– MySQL Enterprise Monitor
• Prevent
– MySQL Enterprise Authentication
– MySQL Enterprise Firewall
– MySQL Enterprise Encryption
– New! MySQL Enterprise Data Masking
• Detect
– MySQL Enterprise Audit
• Recover
– MySQL Enterprise HA
– MySQL Enterprise Backup
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Edition
• New! MySQL Enterprise Masking
– De-identify, Anonymize Sensitive Data
• MySQL Enterprise TDE
– AES 256 encryption, Key Management
• MySQL Enterprise Authentication
– External Authentication Modules
• MySQL Enterprise Encryption
– Public/Private Key Cryptography, Asymmetric Encryption
• MySQL Enterprise Firewall
– Block SQL Injection Attacks, Intrusion Detection
• MySQL Enterprise Audit
– User Activity Auditing, Regulatory Compliance
45
• MySQL Enterprise Monitor
– Monitor Changes in Database Configurations, Users
Permissions, Database Schema, Passwords
• MySQL Enterprise Backup
– Securing Backups, AES 256 encryption
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Encryption
• MySQL encryption libraries
– Symmetric encryption AES256
– Public-key / asymmetric cryptography
• Key management
– Generate public and private keys
– Key exchange methods: RSA, DSA, DH
• Sign and verify data
– Cryptographic hashing for digital signing, verification, & validation
46
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Firewall
• Real Time Protection
– Queries analyzed and matched against White List
• Blocks SQL Injection Attacks
– Positive Security Model
• Block Suspicious Traffic
– Out of Policy Transactions detected & blocked
• Learns White List
– Automated creation of approved list of SQL command patterns on a per user basis
• Transparent
– No changes to application required
47
MySQL Enterprise Firewall monitoring
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Firewall
• SQL Injection Protection with Positive Security Model
48
• Out of policy database transactions detected and blocked
• Logging & Analysis
Select *.* from employee where id=22
Select *.* from employee where id=22 or 1=1
Block & Log✖
Allow & Log✔
White ListApplications
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Audit
• Out-of-the-box logging of connections, logins, and query
• User defined policies for filtering, and log rotation
• Dynamically enabled, disabled: no server restart
• XML-based audit stream per Oracle Audit Vault spec
49
Adds regulatory compliance to
MySQL applications (HIPAA,
Sarbanes-Oxley, PCI, etc.)
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Audit
50
2. User Joe connects and runs a query
1. DBA enables Audit plugin
3. Joe’s connection & query logged
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Authentication
51
• PAM (Pluggable Authentication Modules)
– Access external authentication methods
– Standard interface (Unix, LDAP, Kerberos, others)
– Proxied and non-proxied users
• Windows
– Access native Windows services
– Authenticate users already logged into Windows
(Windows Active Directory)
• Pluggable Authentication API Integrates MySQL with existing
security infrastructures and SOPs
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Data Masking
52
De-identify, Anonymize Sensitive Data
ID Last First SSN
1111 Smith John 555-12-5555
1112 Templeton Richard 444-12-4444
ID Last First SSN
2874 Smith John XXX-XX-
5555
3281 Templeton Richard XXX-XX-
4444
Employee Table
Masked View
• Data Masking
– String Masking, Dictionary Replacement
• Random Data Generators
– Range based, Payment Card, Email, SSN
• Meet Regulatory Requirements
– Including GDPR, HIPAA and PCI DSS
• Improve Production, Dev, Test, Analytics Environments
– While Protecting Confidential Data
New!
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Docker’s public registry
• MySQL Community is available in official Docker's public registry
– https://hub.docker.com/
• a cloud-based registry service which allows you to
– link to code repositories
– build your images and test them
– stores manually pushed images
– deploy images to your hosts
• 100,000+ free apps, public and private registries
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise in Docker Store
• A store where find
community and
commercial software
“Build, Ship, and Run your
modern applications with
Docker and
MySQL Enterprise!”
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Oracle Container Registry
• The Oracle Container Registry provides Oracle
tested and approved Docker and other container
images for Oracle products.
– https://container-registry.oracle.com
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Oracle MySQL Operator for Kubernetes (lab release)
• a Kubernetes controller that can be installed into any existing Kubernetes
cluster
• it will enable users to create and manage production-ready MySQL clusters
using a simple declarative
configuration format
• The project started as a way to help
internal teams get MySQL running
in Kubernetes more easily,
but it quickly become clear that many
other people might be facing
similar issues
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Cluster
Oracle Confidential – Internal/Restricted/Highly Restricted 57
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Cluster Overview
•Auto-Sharding, Multi-Master
•ACID Compliant, OLTP + Real-Time Analytics
HIGH SCALE, READS + WRITES
•Shared nothing, no Single Point of Failure
•Self Healing + On-Line Operations
99.999% AVAILABILITY
•In-Memory Optimization + Disk-Data
•Predictable Low-Latency, Bounded Access Time
REAL-TIME
•Key/Value + Complex, Relational Queries
•SQL + Memcached + JavaScript + Java + HTTP/REST & C++
SQL + NoSQL
•Open Source + Commercial Editions
•Commodity hardware + Management, Monitoring Tools
LOW TCO
58
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Who’s Using MySQL Cluster?
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Cluster Architecture
MySQL Cluster Data Nodes
Clients
Application Layer
Data Layer
Management
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Cluster Scaling
MySQL Cluster Data Nodes
Clients
Application Layer
Data Layer
Management
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Cluster High Availability
MySQL Cluster Data Nodes
Clients
Application Layer
Management
Data Layer
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Multi-Data Center Availability
Geographic Replication
• DR and Data Locality
• Replicate complete clusters across
data centers
– Fully active/active
– No passive resources
• Split individual clusters across data
centers
– Synchronous replication & auto-failover
between sites
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
On-line Scheduled Maintenance
Scale
Upgrade
Backup
Evolve
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Cluster: SQL & NoSQL Flexibility
Mix
&
Match
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
1.2 Billion UPDATEs per Minute
• NoSQL C++ API,
flexaSynch benchmark
• 30 x Intel E5-2600 Intel
Servers, 2 socket, 64GB
• ACID Transactions, with
Synchronous Replication
0
5
10
15
20
25
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
MillionsofUPDATEsperSecond
MySQL Cluster Data Nodes
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Creating & running your first Cluster by Hand
Download &
Extract
• edelivery.oracle.com
• www.mysql.com
• dev.mysql.com
Configure
• Cluster-wide
“config.ini”
• Per-mysqld “my.cnf”
Start processes
• Management Nodes
• Data Nodes
• MySQL Servers
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
When to Consider MySQL Cluster
• Scalability demands
– Sharding for write performance?
• Latency demands
– Cost of each millisecond?
• Uptime requirements
– Cost per minute of downtime?
– Failure versus maintenance?
• Application agility
– Developer languages and frameworks?
– SQL or NoSQL?
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
General Usage Considerations
• MySQL Cluster is designed for
– Short transactions
– Many parallel transactions
• Utilize simple access patterns for high running transactions
– Use efficient scans and batching interfaces
– AQL gives huge performance in JOIN operations
• Storage engine configurable for each table…InnoDB or NDB
MySQL Cluster Evaluation Guide
http://mysql.com/why-mysql/white-papers/mysql_cluster_eval_guide.php
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL
Cluster
CGE
MySQL
Cluster
Manager
MySQL
Enterprise
Scalability
MySQL
Enterprise
Audit
MySQL
Enterprise
Security
Oracle
Premier
Lifetime
Support
Oracle
Product
Certifications
MySQL
Enterprise
Mornitor
MySQL
Workbench
20/06/2019 Copyright 2019, oracle and/or its affiliates. All rights reserved 72
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Enhancing DevOps Agility,
Reducing Downtime
Automated Management
• Start / Stop node or
whole cluster
• On-Line Scaling
• On-Line Reconfiguration
• On-Line Upgrades
• On-Line Backup &
Restore
• Import Running Cluster
Self-Healing
• Node monitoring
• Auto-recovery extended
to SQL + mgmt nodes
HA Operations
• Cluster-wide
configuration
consistency
• Persistent
configurations
• HA Agents
20/06/2019 Copyright 2019, oracle and/or its affiliates. All rights reserved 73
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Copyright 2019, oracle and/or its affiliates. All rights reserved
Without MySQL Cluster Manager
• 1 x preliminary check of cluster state
• 8 x ssh commands per server
• 8 x per-process stop commands
• 4 x scp of config files (2 x mgmd & 2 x mysqld)
• 8 x per-process start commands
• 8 x checks for started and re-joined processes
• 8 x process completion verifications
• 1 x verify completion of the whole cluster.
• Excludes manual editing of each configuration file.
• Total: 46 commands
– 2.5 hours of attended operation
With MySQL Cluster Manager
mcm> upgrade cluster
--package=7.6 mycluster;
• Total: 1 Command -
– Unattended Operation
Software Upgrade – example of benefits of MCM?
9th April 2019 74
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Technical Support &
MySQL Enterprise Oracle Certifications
75
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Support
• Largest MySQL engineering and support organization
• Backed by the MySQL developers
• World-class support, in 29 languages
• Hot fixes & maintenance releases
• 24x7x365
• Unlimited incidents
• Consultative support
• Global scale and reach
Get immediate help for any MySQL
issue, plus expert advice
76
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Support
• Oracle Lifetime Support Policies definitions
http://www.oracle.com/us/support/lifetime-support/index.html
– Premier
– Extended
– Sustaining
• MySQL Product & Support dates & periods
Lifetime Support Policy: Oracle Technology Products (PDF)
  
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Support
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Consultative Support
Make the Most of your Deployments
• Remote troubleshooting
• Replication review
• Partitioning review
• Schema review
• Query review
• Performance tuning
• ...and more
79
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Work Directly with MySQL Engineering
• A direct relationship with the MySQL team
• The ability to participate in:
– Product roadmaps
– Product betas
– Customer advisory boards
• Work closely with Support Engineers
– Resolve issues faster
– Request bug and feature request escalations
80
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Oracle Certifications
• Oracle Enterprise Manager for
MySQL
• Oracle Linux (w/DRBD stack)
• Oracle VM
• Oracle Solaris
• Oracle Solaris Clustering
• Oracle Clusterware
• My Oracle Support
• Oracle Fusion Middleware
• Oracle GoldenGate
• Oracle Audit Vault
• Oracle Database Firewall
• Oracle Secure Backup
MySQL integrates into your Oracle environment
81
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
keith.hollman@oracle.com MySQLMed.wordpress.com
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
¡ GRACIAS !
Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The preceding 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.
84
MySQL Technology Overview

More Related Content

What's hot

MySQL 5.7 Replication News
MySQL 5.7 Replication News MySQL 5.7 Replication News
MySQL 5.7 Replication News Ted Wennmark
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise MonitorTed Wennmark
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLMario Beck
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015Mario Beck
 
MySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMario Beck
 
MySQL Community and Commercial Edition
MySQL Community and Commercial EditionMySQL Community and Commercial Edition
MySQL Community and Commercial EditionMario Beck
 
Unlocking Big Data Insights with MySQL
Unlocking Big Data Insights with MySQLUnlocking Big Data Insights with MySQL
Unlocking Big Data Insights with MySQLMatt Lord
 
MySQL Shell - The Best MySQL DBA Tool
MySQL Shell - The Best MySQL DBA ToolMySQL Shell - The Best MySQL DBA Tool
MySQL Shell - The Best MySQL DBA ToolMiguel Araújo
 
MySQL Document Store
MySQL Document StoreMySQL Document Store
MySQL Document StoreMario Beck
 
MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)Mario Beck
 
MySQL High Availibility Solutions
MySQL High Availibility SolutionsMySQL High Availibility Solutions
MySQL High Availibility SolutionsMark Swarbrick
 
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMiguel Araújo
 
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB ClusterMySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB ClusterOlivier DASINI
 
MySQL Security
MySQL SecurityMySQL Security
MySQL SecurityMario Beck
 
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud ServiceMySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud ServiceOlivier DASINI
 
What's new in my sql smug
What's new in my sql smugWhat's new in my sql smug
What's new in my sql smugTed Wennmark
 
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
 
MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016Ted Wennmark
 
MySQL Cloud Service
MySQL Cloud ServiceMySQL Cloud Service
MySQL Cloud ServiceMario Beck
 
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONMario Beck
 

What's hot (20)

MySQL 5.7 Replication News
MySQL 5.7 Replication News MySQL 5.7 Replication News
MySQL 5.7 Replication News
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQL
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
 
MySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMySQL Enterprise Edition Overview
MySQL Enterprise Edition Overview
 
MySQL Community and Commercial Edition
MySQL Community and Commercial EditionMySQL Community and Commercial Edition
MySQL Community and Commercial Edition
 
Unlocking Big Data Insights with MySQL
Unlocking Big Data Insights with MySQLUnlocking Big Data Insights with MySQL
Unlocking Big Data Insights with MySQL
 
MySQL Shell - The Best MySQL DBA Tool
MySQL Shell - The Best MySQL DBA ToolMySQL Shell - The Best MySQL DBA Tool
MySQL Shell - The Best MySQL DBA Tool
 
MySQL Document Store
MySQL Document StoreMySQL Document Store
MySQL Document Store
 
MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)
 
MySQL High Availibility Solutions
MySQL High Availibility SolutionsMySQL High Availibility Solutions
MySQL High Availibility Solutions
 
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL ShellMySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
MySQL InnoDB Cluster: Management and Troubleshooting with MySQL Shell
 
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB ClusterMySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
MySQL Day Paris 2016 - MySQL HA: InnoDB Cluster and NDB Cluster
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
 
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud ServiceMySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
 
What's new in my sql smug
What's new in my sql smugWhat's new in my sql smug
What's new in my sql smug
 
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
 
MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016
 
MySQL Cloud Service
MySQL Cloud ServiceMySQL Cloud Service
MySQL Cloud Service
 
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSON
 

Similar to MySQL Technology Overview

Confoo 202 - MySQL Group Replication and ReplicaSet
Confoo 202 - MySQL Group Replication and ReplicaSetConfoo 202 - MySQL Group Replication and ReplicaSet
Confoo 202 - MySQL Group Replication and ReplicaSetDave Stokes
 
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP ParisMySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP ParisOlivier DASINI
 
20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deploymentIvan Ma
 
MySQL 8: Ready for Prime Time
MySQL 8: Ready for Prime TimeMySQL 8: Ready for Prime Time
MySQL 8: Ready for Prime TimeArnab Ray
 
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...Miguel Araújo
 
MySQL Tech Tour 2015 - Alt Intro
MySQL Tech Tour 2015 - Alt IntroMySQL Tech Tour 2015 - Alt Intro
MySQL Tech Tour 2015 - Alt IntroMark Swarbrick
 
Docker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB ClusterDocker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB ClusterBalasubramanian Kandasamy
 
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší novéhoOracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší novéhoMarketingArrowECS_CZ
 
MySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por OracleMySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por OracleLibreCon
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability MattersMatt Lord
 
MySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarAndrew Morgan
 
MySQL in oracle_public_cloud
MySQL in oracle_public_cloudMySQL in oracle_public_cloud
MySQL in oracle_public_cloudOracleMySQL
 
Netherlands Tech Tour 03 - MySQL Cluster
Netherlands Tech Tour 03 -   MySQL ClusterNetherlands Tech Tour 03 -   MySQL Cluster
Netherlands Tech Tour 03 - MySQL ClusterMark Swarbrick
 
MySQL in oracle public cloud
MySQL in oracle public cloudMySQL in oracle public cloud
MySQL in oracle public cloudMandy Ang
 
MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)Olivier DASINI
 
MySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMario Beck
 
How to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL ShellHow to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL ShellFrederic Descamps
 

Similar to MySQL Technology Overview (20)

Confoo 202 - MySQL Group Replication and ReplicaSet
Confoo 202 - MySQL Group Replication and ReplicaSetConfoo 202 - MySQL Group Replication and ReplicaSet
Confoo 202 - MySQL Group Replication and ReplicaSet
 
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP ParisMySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
 
20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deployment
 
MySQL 8: Ready for Prime Time
MySQL 8: Ready for Prime TimeMySQL 8: Ready for Prime Time
MySQL 8: Ready for Prime Time
 
MySQL
MySQLMySQL
MySQL
 
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...
MySQL Shell - A DevOps-engineer day with MySQL’s development and administrati...
 
MySQL Tech Tour 2015 - Alt Intro
MySQL Tech Tour 2015 - Alt IntroMySQL Tech Tour 2015 - Alt Intro
MySQL Tech Tour 2015 - Alt Intro
 
Docker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB ClusterDocker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB Cluster
 
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší novéhoOracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
 
MySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por OracleMySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por Oracle
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability Matters
 
MySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinar
 
MySQL overview
MySQL overviewMySQL overview
MySQL overview
 
MySQL in oracle_public_cloud
MySQL in oracle_public_cloudMySQL in oracle_public_cloud
MySQL in oracle_public_cloud
 
Netherlands Tech Tour 03 - MySQL Cluster
Netherlands Tech Tour 03 -   MySQL ClusterNetherlands Tech Tour 03 -   MySQL Cluster
Netherlands Tech Tour 03 - MySQL Cluster
 
MySQL cluster 7.4
MySQL cluster 7.4 MySQL cluster 7.4
MySQL cluster 7.4
 
MySQL in oracle public cloud
MySQL in oracle public cloudMySQL in oracle public cloud
MySQL in oracle public cloud
 
MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)
 
MySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB ClusterMySQL InnoDB Cluster and NDB Cluster
MySQL InnoDB Cluster and NDB Cluster
 
How to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL ShellHow to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL Shell
 

More from Keith Hollman

MySQL NoSQL JSON JS Python "Document Store" demo
MySQL NoSQL JSON JS Python "Document Store" demoMySQL NoSQL JSON JS Python "Document Store" demo
MySQL NoSQL JSON JS Python "Document Store" demoKeith Hollman
 
MySQL Cluster: El ‘qué’ y el ‘cómo’.
MySQL Cluster: El ‘qué’ y el ‘cómo’.MySQL Cluster: El ‘qué’ y el ‘cómo’.
MySQL Cluster: El ‘qué’ y el ‘cómo’.Keith Hollman
 
MySQL Replication: Demo Réplica en Español
MySQL Replication: Demo Réplica en EspañolMySQL Replication: Demo Réplica en Español
MySQL Replication: Demo Réplica en EspañolKeith Hollman
 
Meb Backup & Recovery Performance
Meb Backup & Recovery PerformanceMeb Backup & Recovery Performance
Meb Backup & Recovery PerformanceKeith Hollman
 
MySQL Una Introduccion Tecnica
MySQL Una Introduccion TecnicaMySQL Una Introduccion Tecnica
MySQL Una Introduccion TecnicaKeith Hollman
 
MySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online RecoveryMySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online RecoveryKeith Hollman
 
A MySQL Odyssey - A Blackhole Crossover
A MySQL Odyssey - A Blackhole CrossoverA MySQL Odyssey - A Blackhole Crossover
A MySQL Odyssey - A Blackhole CrossoverKeith Hollman
 
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA -   UKOUGEmbracing Database Diversity: The New Oracle / MySQL DBA -   UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUGKeith Hollman
 

More from Keith Hollman (8)

MySQL NoSQL JSON JS Python "Document Store" demo
MySQL NoSQL JSON JS Python "Document Store" demoMySQL NoSQL JSON JS Python "Document Store" demo
MySQL NoSQL JSON JS Python "Document Store" demo
 
MySQL Cluster: El ‘qué’ y el ‘cómo’.
MySQL Cluster: El ‘qué’ y el ‘cómo’.MySQL Cluster: El ‘qué’ y el ‘cómo’.
MySQL Cluster: El ‘qué’ y el ‘cómo’.
 
MySQL Replication: Demo Réplica en Español
MySQL Replication: Demo Réplica en EspañolMySQL Replication: Demo Réplica en Español
MySQL Replication: Demo Réplica en Español
 
Meb Backup & Recovery Performance
Meb Backup & Recovery PerformanceMeb Backup & Recovery Performance
Meb Backup & Recovery Performance
 
MySQL Una Introduccion Tecnica
MySQL Una Introduccion TecnicaMySQL Una Introduccion Tecnica
MySQL Una Introduccion Tecnica
 
MySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online RecoveryMySQL Enterprise Backup: PITR Partial Online Recovery
MySQL Enterprise Backup: PITR Partial Online Recovery
 
A MySQL Odyssey - A Blackhole Crossover
A MySQL Odyssey - A Blackhole CrossoverA MySQL Odyssey - A Blackhole Crossover
A MySQL Odyssey - A Blackhole Crossover
 
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA -   UKOUGEmbracing Database Diversity: The New Oracle / MySQL DBA -   UKOUG
Embracing Database Diversity: The New Oracle / MySQL DBA - UKOUG
 

Recently uploaded

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

MySQL Technology Overview

  • 1. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Technology Overview Keith Hollman MySQL Principal Sales Consultant EMEA keith.hollman@oracle.com
  • 2. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 2
  • 3. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Agenda 1 2 3 4 MySQL 8.0 MySQL Enterprise Edition MySQL Cluster Oracle MySQL Support 3
  • 4. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Best Choice for Next Generation Web & Cloud Applications World’s Most Popular open Source Database Leading Database for Web Applications #1 Database in the Cloud Integrated with Hadoop in Big Data Platforms Strong MySQL Momentum #2 Most Popular DBMS * #1 Linux Career IT skill ** * Based on the DB Engine Ranking in Aug 2019 ** Source: Linux Career IT Skills Watch update July 2019 4
  • 5. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Powers: cloud social eCommerce Finance Oracle Confidential – Internal/Restricted/Highly Restricted 5
  • 6. Copyright © 2019 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 - 2x Better Performance - 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
  • 7. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | 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/2019-04/mysql-8.0
  • 8. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | The Versions 5.1 5.5 5.6 5.7 8.0 8
  • 9. Copyright © 2019 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 Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 9 24x7at Scale MySQL 8.0: Enables Modern Web Applications 9
  • 10. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Master/Slave Replication Master/Slave with Automated Failover DRBD OS or VM vendor active/passive solutions MySQL Group Replication High Availability: Common MySQL Solutions 9 9 . 9 9 9 % Continuous Availability
  • 11. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Replication Topologies 11 Multi-source 5.7
  • 12. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | • Multi-Source Replication – Consolidate updates from multiple Masters into one Slave • Consolidated view of all shards • More flexible topologies • Centralized point for backups – Compatible with Semi-Sync Replication & enhanced MTS • Performance Schema tables for monitoring slave • Online Operations: Dynamic Replication Filters, switch master MySQL Multi Source Replication Binlog Master 1 Binlog Master 2 … … Binlog Master N IO 1 Relay 1 Coordinator W1 W2 … WX IO 2 Relay 2 Coordinator W1 W2 … WX … … Coordinator W1 W2 … WX IO N Relay N Coordinator W1 W2 … WX Slave
  • 13. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | • Asynchronous – MySQL Default – In parallel: Master acks to app and sends transaction to slave • Fast • Risk of lost changes if master dies • Semi-Synchronous – MySQL 5.5+ - Enhanced in MySQL 5.7 – Serially: Master waits for change to be received by slave then In parallel ack to app and apply changes on slave • Intermediate latency • Lossless (MySQL 5.7) • Synchronous – Only available with MySQL Cluster – Serially: Master waits for change to be applied on all slaves before ack to app • Higher latency • If Active/Active, best suited to small transactions • Lossless Asynchronous vs. Synchronous Replication
  • 14. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | InnoDB Cluster 14 App Servers with MySQL Router MySQL Group Replication MySQL Shell Setup, Manage, Orchestrate “High Availability becomes a core first class feature of MySQL!”
  • 15. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | • One Product: MySQL – All components created together – Tested together – Packaged together • Easy to Use – One client: MySQL Shell – Easy packaging – Integrated orchestration – Homogenous servers • Flexible and Modern – SQL and NoSQL together – Protocol Buffers – Developer friendly • Support Read/Write Scale Out – Sharded clusters – Federated system of N replica sets – Each replica set manages a shard MySQL InnoDB Cluster: Goals
  • 16. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Shell: DBA Admin API • The global variable 'dba' is used to access the MySQL AdminAPI • mysql-js> dba.help() • Perform DBA operations – Manage MySQL InnoDB clusters • Create clusters • Validate MySQL instances • Configure MySQL instances • Get cluster info • Modify clusters • and much more ... App Servers with MySQL Router MySQL Group Replication MySQL Shell Setup, Manage, Orchestrate 16
  • 17. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Router: Client Routing and HA • Native support for InnoDB clusters – Understands Group Replication topology – Utilizes metadata schema stored on each member • Bootstraps itself and sets up client routing for the InnoDB cluster • Allows for intelligent client routing into the InnoDB cluster – Supports multi-master and single primary modes • Core improvements – Built-in keyring for easy and secure password management 17 App Servers with MySQL Router MySQL Group Replication MySQL Shell Setup, Manage, Orchestrate ”MySQL Router 2.1, with the new metadata_cache plugin, provides transparent client connection routing and failover into your InnoDB clusters!”
  • 18. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Group Replication: Database HA • Group Replication library – Implementation of Replicated Database State Machine • MySQL GCS is based on our home-grown Paxos implementation – Provides virtually synchronous replication for MySQL 5.7+ • Guarantees eventual consistency – Automates operations • Conflict detection and resolution • Failure detection, fail-over, recovery • Group membership management and reconfiguration “Multi-master update anywhere replication plugin for MySQL with built-in conflict detection and resolution, automatic distributed recovery, and group membership.” 18 App Servers with MySQL Router MySQL Group Replication MySQL Shell Setup, Manage, Orchestrate
  • 19. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Workbench 8.0 • Performance Dashboard – Performance Schema Reports & Graphs • Visual Explain • GIS Viewer • Migration – New: Microsoft Access – Microsoft SQL Server, Sybase, PostgreSQL, SQLite 19 • New Easy to Use Wizards for – Fast Data Migration – Table<->File Data Import/Export (like Excel) – SSL Certificate Creation
  • 20. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL on Windows • MySQL Installer for Windows • MySQL Workbench • MySQL Migration Wizard – Microsoft SQL Server – Microsoft Access • MySQL for Visual Studio • MySQL for Excel • MySQL Notifier • MySQL Connector/.Net • MySQL Connector/ODBC 20
  • 21. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | 35 / 112 MySQL Document Store
  • 22. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | A solution for all 34 / 112 Developers: [✔] Schemaless or/and Schema [✔] Rapid Prototyping/Simpler APIs [✔] Document Model [✔] Transactions Operations: [✔] Performance Management/Visibility [✔] Robust Replication, Backup, Restore [✔] Comprehensive Tooling Ecosystem [✔] Simpler application schema upgrades Business Owner: [✔] Don’t lose my data = ACID transactions [✔] Capture all my data = Extensible/Schemaless [✔] Products On Schedule/Time to Market = Rapid Development
  • 23. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Document Store: Architecture
  • 24. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Shell 8.0.11+ MySQL Server 5.7 MySQL 8.0 Upgrade Checker Prompt Themes Auto Completion & Command History MySQL Server 8.0 Document Store X DevAPI InnoDB ClusterSQL CLI Output Formats (Table, JSON, Tabbed) Batch Execution JavaScript Python SQL
  • 25. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Why MySQL Enterprise Edition? 25
  • 26. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Replication Lossless Semi-Synchronous GTIDs Crash Safe Time Delayed Multi-threaded Multi-Source InnoDB Improved Throughput Default Online DDL Full Text Search NoSQL Access M y S Q L U t i l i t i e s EXPLAIN O p t i m i z e r : F a s t e r Q u e r y E x e c u t i o n a n d B e t t e r D i a g n o s t i c s G I S Performance Schema Security Partitioning 26 Why MySQL Enterprise Edition? All the Database Features You Love
  • 27. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Management ToolsAdvanced Features Support • Scalability • High Availability • Authentication • Audit • Encryption + TDE • Firewall •Monitoring •Backup •Development •Administration •Migration • Technical Support • Consultative Support • Oracle Certifications MySQL Enterprise Edition 27
  • 28. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Community & Enterprise • MySQL Server software • Standard functionalities: Partitioning, Replication, High Availability • Storage Engines • Utilities, CLI’s, GUI’s • SQL & NoSQL • Official Documentation, Planet.mysql.com & Bugs.mysql.com • Connectors / API’s • Connector/Net, Connector/J, Connector/Python, Connector/ODBC, Connector/C (libmysql), Connector/C++, MySQL native driver for PHP (mysqlnd), libmysqld (mysql embedded).
  • 29. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Introduction Software • Community www.mysql.com/downloads Opensource, GPLv2. • Enterprise edelivery.oracle.com product pack “MySQL Database” • Enterprise Standard, Enterprise, Carrier Grade Edition. • Embedded Classic, Standard, Enterprise, Carrier Grade Edition. • Install packages rpm, msi. • Compressed tarballs / zips tar.gz, MSWin zip “no installer”.
  • 30. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Monitor 30 • Start monitoring MySQL in 10 minutes • Real-time MySQL performance and availability monitoring • Visually find & fix problem queries • Disk monitoring for capacity planning • Cloud friendly architecture – No agents required • Optional agent option provides advanced Host/OS monitoring
  • 31. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Cloud-friendly Architecture 31 MySQL Enterprise Dashboard Service Manager Repository HTTPS DataCenterPublicCloudPrivateCloud • MySQL – Performance Schema provides Query Analyzer data – Provides all MySQL related metrics • Service Manager – Collects all MySQL related metrics – Collects all OS/Host related metrics • Repository – Stores all historical data • Agent (optional) – Only required for OS/Host metrics
  • 32. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Enterprise Monitor Dashboard 32 "The MySQL Enterprise Monitor is an absolute must for any DBA who takes his work seriously.” - Adrian Baumann, System Specialist Federal Office of Information Technology & Telecommunications • SLA monitoring • Real-time performance monitoring • Alerts & notifications • MySQL best practice advisors
  • 33. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Enterprise Query Analyzer 33 • Real-time query performance • Visual correlation graphs • Find & fix expensive queries • Detailed query statistics • Query Response Time index (QRTi) – “Quality of Service” (QoS) measurement for each query – QoS measurement for a server, group, or every instance – Single metric for query performance “With the MySQL Query Analyzer, we were able to identify and analyze problematic SQL code, and triple our database performance. More importantly, we were able to accomplish this in three days, rather than taking weeks.” Keith Souhrada Software Development Engineer Big Fish Games
  • 34. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Enterprise Replication Monitor 34 • Auto-discovers replication topology • Master/Slave performance monitoring • Replication advisor • Best practice replication advice "I use the MySQL Enterprise Monitor every day to monitor and keep tabs on our MySQL databases. Quick one stop shopping for keeping tabs on them.” -Wes Homer, Sr System and Network Administrator
  • 35. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Best Practice Advisors 35 • Enforce MySQL best practices • 14 Advisor categories • 250+ Advisors • Threshold-based alerts – Exponential moving averages – Rate change detection • Expert problem resolution advice "I definitely recommend the MySQL Enterprise Monitor to DBAs who don't have a ton of MySQL experience. It makes monitoring MySQL security, performance and availability very easy to understand and to act on.” Sandi Barr Sr. Software Engineer Schneider Electric
  • 36. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Backup • Online, non-locking backup and recovery – Complete MySQL instance backup (data and config) – Partial backup and restore • Direct Cloud storage backups (S3, etc.) • Incremental backups • Point-in-time recovery • Advanced compressed and encryption • Backup to tape (SBT) • Backup validation • Optimistic backups • Cross-Platform (Windows, Linux, Unix) 36
  • 37. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Monitor + Backup 37 • Monitor backup results • Monitor backup performance • Ensure backups are up to date
  • 38. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Workbench EE • Database migrations – From Microsoft SQL Server, PostgreSQL, Sybase ASE, Sybase SQL Anywhere, SQLite, Microsoft Access, and more • Manage migration projects • Source and target selection • Object migration • Data migration • MySQL version upgrades 38 New! Database Migration Wizard for SQL Server, Sybase, SQLite, SQL Anywhere & PostgreSQL
  • 39. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Workbench EE + Audit • Fast and easy access to Audit events • Indexed searches – Event type – User account – Date range – Text match 39
  • 40. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Workbench EE + Backup • Create and manage backup jobs – Create new backup jobs – Schedule backup jobs to run automatically – View current backup jobs – View recent backup activity • Restore backups – Full, partial, incremental … 40
  • 41. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Oracle Enterprise Manager for MySQL 41 Performance Security Availability • Availability monitoring • Performance monitoring • Configuration monitoring • All available metrics collected – Allowing for custom threshold based incident reports • MySQL auto-detection
  • 42. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | • Provides 20x better scalability • Plugin improves sustained performance as user connections grow MySQL Enterprise Scalability : Thread Pool 42
  • 43. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Scalability : Thread Pool 43 Performance Security Availability Internal Clients Connection Execution Threads External Clients Thread Pool Thread Group 1 Threads 1 - 4096 Thread Group 2 Threads 4097 - 8193 Thread Group N Threads 8194 - N Thread Group 1 Thread Group 2 Thread Group N • Contains configurable number of thread groups (default = 16) – Each group manages up to 4096 re-usable threads • Each connection assigned to thread group via round robin • Threads are prioritized and statements queued – Improves scalability as concurrent connections grow, protection from DOS attacks
  • 44. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Security Architecture Authentication, Encryption, Masking Monitoring Firewall & Auditing High Availability & Backup • Assess – MySQL Enterprise Monitor • Prevent – MySQL Enterprise Authentication – MySQL Enterprise Firewall – MySQL Enterprise Encryption – New! MySQL Enterprise Data Masking • Detect – MySQL Enterprise Audit • Recover – MySQL Enterprise HA – MySQL Enterprise Backup
  • 45. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Edition • New! MySQL Enterprise Masking – De-identify, Anonymize Sensitive Data • MySQL Enterprise TDE – AES 256 encryption, Key Management • MySQL Enterprise Authentication – External Authentication Modules • MySQL Enterprise Encryption – Public/Private Key Cryptography, Asymmetric Encryption • MySQL Enterprise Firewall – Block SQL Injection Attacks, Intrusion Detection • MySQL Enterprise Audit – User Activity Auditing, Regulatory Compliance 45 • MySQL Enterprise Monitor – Monitor Changes in Database Configurations, Users Permissions, Database Schema, Passwords • MySQL Enterprise Backup – Securing Backups, AES 256 encryption
  • 46. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Encryption • MySQL encryption libraries – Symmetric encryption AES256 – Public-key / asymmetric cryptography • Key management – Generate public and private keys – Key exchange methods: RSA, DSA, DH • Sign and verify data – Cryptographic hashing for digital signing, verification, & validation 46
  • 47. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Firewall • Real Time Protection – Queries analyzed and matched against White List • Blocks SQL Injection Attacks – Positive Security Model • Block Suspicious Traffic – Out of Policy Transactions detected & blocked • Learns White List – Automated creation of approved list of SQL command patterns on a per user basis • Transparent – No changes to application required 47 MySQL Enterprise Firewall monitoring
  • 48. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Firewall • SQL Injection Protection with Positive Security Model 48 • Out of policy database transactions detected and blocked • Logging & Analysis Select *.* from employee where id=22 Select *.* from employee where id=22 or 1=1 Block & Log✖ Allow & Log✔ White ListApplications
  • 49. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Audit • Out-of-the-box logging of connections, logins, and query • User defined policies for filtering, and log rotation • Dynamically enabled, disabled: no server restart • XML-based audit stream per Oracle Audit Vault spec 49 Adds regulatory compliance to MySQL applications (HIPAA, Sarbanes-Oxley, PCI, etc.)
  • 50. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Audit 50 2. User Joe connects and runs a query 1. DBA enables Audit plugin 3. Joe’s connection & query logged
  • 51. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Authentication 51 • PAM (Pluggable Authentication Modules) – Access external authentication methods – Standard interface (Unix, LDAP, Kerberos, others) – Proxied and non-proxied users • Windows – Access native Windows services – Authenticate users already logged into Windows (Windows Active Directory) • Pluggable Authentication API Integrates MySQL with existing security infrastructures and SOPs
  • 52. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Data Masking 52 De-identify, Anonymize Sensitive Data ID Last First SSN 1111 Smith John 555-12-5555 1112 Templeton Richard 444-12-4444 ID Last First SSN 2874 Smith John XXX-XX- 5555 3281 Templeton Richard XXX-XX- 4444 Employee Table Masked View • Data Masking – String Masking, Dictionary Replacement • Random Data Generators – Range based, Payment Card, Email, SSN • Meet Regulatory Requirements – Including GDPR, HIPAA and PCI DSS • Improve Production, Dev, Test, Analytics Environments – While Protecting Confidential Data New!
  • 53. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Docker’s public registry • MySQL Community is available in official Docker's public registry – https://hub.docker.com/ • a cloud-based registry service which allows you to – link to code repositories – build your images and test them – stores manually pushed images – deploy images to your hosts • 100,000+ free apps, public and private registries
  • 54. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise in Docker Store • A store where find community and commercial software “Build, Ship, and Run your modern applications with Docker and MySQL Enterprise!”
  • 55. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Oracle Container Registry • The Oracle Container Registry provides Oracle tested and approved Docker and other container images for Oracle products. – https://container-registry.oracle.com
  • 56. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Oracle MySQL Operator for Kubernetes (lab release) • a Kubernetes controller that can be installed into any existing Kubernetes cluster • it will enable users to create and manage production-ready MySQL clusters using a simple declarative configuration format • The project started as a way to help internal teams get MySQL running in Kubernetes more easily, but it quickly become clear that many other people might be facing similar issues
  • 57. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Cluster Oracle Confidential – Internal/Restricted/Highly Restricted 57
  • 58. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Cluster Overview •Auto-Sharding, Multi-Master •ACID Compliant, OLTP + Real-Time Analytics HIGH SCALE, READS + WRITES •Shared nothing, no Single Point of Failure •Self Healing + On-Line Operations 99.999% AVAILABILITY •In-Memory Optimization + Disk-Data •Predictable Low-Latency, Bounded Access Time REAL-TIME •Key/Value + Complex, Relational Queries •SQL + Memcached + JavaScript + Java + HTTP/REST & C++ SQL + NoSQL •Open Source + Commercial Editions •Commodity hardware + Management, Monitoring Tools LOW TCO 58
  • 59. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Who’s Using MySQL Cluster?
  • 60. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Cluster Architecture MySQL Cluster Data Nodes Clients Application Layer Data Layer Management
  • 61. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Cluster Scaling MySQL Cluster Data Nodes Clients Application Layer Data Layer Management
  • 62. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Cluster High Availability MySQL Cluster Data Nodes Clients Application Layer Management Data Layer
  • 63. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Multi-Data Center Availability Geographic Replication • DR and Data Locality • Replicate complete clusters across data centers – Fully active/active – No passive resources • Split individual clusters across data centers – Synchronous replication & auto-failover between sites
  • 64. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | On-line Scheduled Maintenance Scale Upgrade Backup Evolve
  • 65. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. |
  • 66. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Cluster: SQL & NoSQL Flexibility Mix & Match
  • 67. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | 1.2 Billion UPDATEs per Minute • NoSQL C++ API, flexaSynch benchmark • 30 x Intel E5-2600 Intel Servers, 2 socket, 64GB • ACID Transactions, with Synchronous Replication 0 5 10 15 20 25 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 MillionsofUPDATEsperSecond MySQL Cluster Data Nodes
  • 68. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Creating & running your first Cluster by Hand Download & Extract • edelivery.oracle.com • www.mysql.com • dev.mysql.com Configure • Cluster-wide “config.ini” • Per-mysqld “my.cnf” Start processes • Management Nodes • Data Nodes • MySQL Servers
  • 69. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | When to Consider MySQL Cluster • Scalability demands – Sharding for write performance? • Latency demands – Cost of each millisecond? • Uptime requirements – Cost per minute of downtime? – Failure versus maintenance? • Application agility – Developer languages and frameworks? – SQL or NoSQL?
  • 70. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | General Usage Considerations • MySQL Cluster is designed for – Short transactions – Many parallel transactions • Utilize simple access patterns for high running transactions – Use efficient scans and batching interfaces – AQL gives huge performance in JOIN operations • Storage engine configurable for each table…InnoDB or NDB MySQL Cluster Evaluation Guide http://mysql.com/why-mysql/white-papers/mysql_cluster_eval_guide.php
  • 71. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Cluster CGE MySQL Cluster Manager MySQL Enterprise Scalability MySQL Enterprise Audit MySQL Enterprise Security Oracle Premier Lifetime Support Oracle Product Certifications MySQL Enterprise Mornitor MySQL Workbench 20/06/2019 Copyright 2019, oracle and/or its affiliates. All rights reserved 72
  • 72. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Enhancing DevOps Agility, Reducing Downtime Automated Management • Start / Stop node or whole cluster • On-Line Scaling • On-Line Reconfiguration • On-Line Upgrades • On-Line Backup & Restore • Import Running Cluster Self-Healing • Node monitoring • Auto-recovery extended to SQL + mgmt nodes HA Operations • Cluster-wide configuration consistency • Persistent configurations • HA Agents 20/06/2019 Copyright 2019, oracle and/or its affiliates. All rights reserved 73
  • 73. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Copyright 2019, oracle and/or its affiliates. All rights reserved Without MySQL Cluster Manager • 1 x preliminary check of cluster state • 8 x ssh commands per server • 8 x per-process stop commands • 4 x scp of config files (2 x mgmd & 2 x mysqld) • 8 x per-process start commands • 8 x checks for started and re-joined processes • 8 x process completion verifications • 1 x verify completion of the whole cluster. • Excludes manual editing of each configuration file. • Total: 46 commands – 2.5 hours of attended operation With MySQL Cluster Manager mcm> upgrade cluster --package=7.6 mycluster; • Total: 1 Command - – Unattended Operation Software Upgrade – example of benefits of MCM? 9th April 2019 74
  • 74. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Technical Support & MySQL Enterprise Oracle Certifications 75
  • 75. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Support • Largest MySQL engineering and support organization • Backed by the MySQL developers • World-class support, in 29 languages • Hot fixes & maintenance releases • 24x7x365 • Unlimited incidents • Consultative support • Global scale and reach Get immediate help for any MySQL issue, plus expert advice 76
  • 76. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Support • Oracle Lifetime Support Policies definitions http://www.oracle.com/us/support/lifetime-support/index.html – Premier – Extended – Sustaining • MySQL Product & Support dates & periods Lifetime Support Policy: Oracle Technology Products (PDF)   
  • 77. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Support
  • 78. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Consultative Support Make the Most of your Deployments • Remote troubleshooting • Replication review • Partitioning review • Schema review • Query review • Performance tuning • ...and more 79
  • 79. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Work Directly with MySQL Engineering • A direct relationship with the MySQL team • The ability to participate in: – Product roadmaps – Product betas – Customer advisory boards • Work closely with Support Engineers – Resolve issues faster – Request bug and feature request escalations 80
  • 80. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | MySQL Enterprise Oracle Certifications • Oracle Enterprise Manager for MySQL • Oracle Linux (w/DRBD stack) • Oracle VM • Oracle Solaris • Oracle Solaris Clustering • Oracle Clusterware • My Oracle Support • Oracle Fusion Middleware • Oracle GoldenGate • Oracle Audit Vault • Oracle Database Firewall • Oracle Secure Backup MySQL integrates into your Oracle environment 81
  • 81. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | keith.hollman@oracle.com MySQLMed.wordpress.com
  • 82. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | ¡ GRACIAS !
  • 83. Copyright © 2019 Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The preceding 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. 84