Вы находитесь на странице: 1из 97

MySQL Technology Overview

Keith Hollman
MySQL Principal Specialist EMEA
MySQL

Copyright 2016 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 Oracles products remains at the sole discretion of Oracle.

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Agenda
1

MySQL Enterprise Edition & MySQL 5.7 Update

MySQL Cluster

Oracle MySQL Support

Summing Up

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Industry Leaders Rely on MySQL

Web & Enterprise

OEM & ISVs

Cloud
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

MySQL Powers The Web


Over 500 million Tweets/day. 143,200 Tweets/sec in Aug 2013
Many petabytes of data. 11.2 Million Row changes & 2.5 billion
rows read /sec handled in MySQL
6 billion hours of video watched each month

Globally-distributed database with 100 terabytes of user-related


data based on MySQL Cluster
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

The #1 Database in the Cloud

SaaS

Hosting

IaaS, PaaS
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Best Choice for Next Generation Web & Cloud Applications


Strong MySQL Momentum

Worlds Most Popular open


Source Database

Leading Database for Web


Applications

#1 Database in the Cloud

Integrated with Hadoop in


Big Data Platforms

#2 Most Popular DBMS *

#1 Linux Career IT skill **


* Based on the DB Engine Ranking in Aug 2016 ** Source: Linux Career IT Skills Watch update July 2016

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Driving MySQL Innovation: 2010 - 2016


MySQL Enterprise Monitor 2.2

Oracle Products Certifications

MySQL Windows Tools

MySQL Cluster 7.1

MySQL Windows Installer

MySQL Database 5.6

MySQL Cluster Manager 1.0

MySQL Enterprise Security

MySQL Cluster 7.3

MySQL Workbench 5.2

MySQL Enterprise Scalability

MySQL Enterprise Monitor 3.0

MySQL Database 5.5

MySQL Enterprise Audit

MySQL Workbench 6.1

MySQL Enterprise Backup 3.5

MySQL Cluster 7.2

MySQL Enterprise Backup 3.11

MySQL Cluster Manager 1.3

MySQL Fabric

MySQL Utilities

MySQL Workbench 6.2

MySQL Workbench 6.0

MySQL Database 5.7

MySQL Enterprise Monitor 2.3


MySQL Cluster Manager 1.1
MySQL Enterprise Backup 3.7

All GA!

All GA!

MySQL Cluster 7.4

All GA!
Partial List of Releases Delivered

*Development Milestone Release

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Why MySQL Enterprise Edition?

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

10

Why MySQL Enterprise Edition?


All the Database Features You Love

InnoDB

Improved Throughput

Default

Online DDL
Full Text Search
NoSQL Access

Performance
Schema
GIS

Optimizer:Faster
Query Execution and
Better Diagnostics

Security
Replication

EXPLAIN

MySQL Utilities

Partitioning
Lossless Semi-Synchronous
GTIDs
Crash Safe
Time Delayed
Multi-threaded
Multi-Source

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

11

Why MySQL Enterprise Edition?


In Addition to all the MySQL Features you Love

Insure Your Deployments


Get the Best Results

Delight Customers

Get
Immediate
Help if/when
Needed
Increase
Customer
Satisfaction

Mitigate Risks

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Improve
Performance
& Scalability

Reduce TCO

Enhance Agility &


Productivity

12

MySQL Enterprise Edition


Advanced Features

Scalability
High Availability
Security
Audit

Management Tools

Monitoring
Backup
Development
Administration
Migration

Support

Technical Support
Consultative Support
Oracle Certifications

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

13

MySQL

Community & Enterprise


MySQL Server software
Standard functionalities: Partitioning, Replication, High Availability
Storage Engines
Utilities, CLIs, GUIs
Official Documentation, Planet.mysql.com & Bugs.mysql.com

Connectors / APIs
Connector/Net, Connector/J, Connector/Python, Connector/ODBC, Connector/C
(libmysql), Connector/C++, MySQL native driver for PHP (mysqlnd), libmysqld (mysql
embedded).

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

MySQL Introduction
Software

Community

www.mysql.com/downloads Opensource, GPLv2.

Enterprise

edelivery.oracle.com

Enterprise

Standard, Enterprise, Carrier Grade Edition.

Embedded

Classic, Standard, Enterprise, Carrier Grade Edition.

product pack MySQL Database

Install packages

rpm, msi.

Compressed tarballs / zips

tar.gz, MSWin zip no installer.


Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

MySQL Enterprise Monitor


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 2016 Oracle and/or its affiliates. All rights reserved. |

17

Service Manager
Collects all MySQL related metrics
Collects all OS/Host related metrics

Service Manager

MySQL Enterprise
Dashboard
HTTPS

Repository
Stores all historical data

Repository

Agent (optional)
Only required for OS/Host metrics
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Public Cloud

Performance Schema provides Query Analyzer data


Provides all MySQL related metrics

Private Cloud

MySQL

Data Center

Cloud-friendly Architecture

18

Enterprise Monitor Dashboard


SLA monitoring
Real-time performance monitoring
Alerts & notifications

MySQL best practice advisors

"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

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

19

Enterprise Query Analyzer


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 2016 Oracle and/or its affiliates. All rights reserved. |

20

Enterprise Replication Monitor


Auto-discovers replication topology
Master/Slave performance
monitoring

Replication advisor

"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

Best practice replication advice

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

21

Best Practice Advisors


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 2016 Oracle and/or its affiliates. All rights reserved. |

22

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)
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

23

MySQL Enterprise Monitor + Backup


Monitor backup results
Monitor backup performance
Ensure backups are up to date

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

24

MySQL Workbench EE
Database migrations

New! Database Migration Wizard


for SQL Server, Sybase, SQLite, SQL Anywhere & PostgreSQL

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
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

25

MySQL Workbench EE + Audit


Fast and easy access to Audit
events
Indexed searches
Event type
User account
Date range
Text match

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

26

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

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

27

Oracle Enterprise Manager for MySQL


Availability monitoring
Performance monitoring
Configuration monitoring

All available metrics collected


Allowing for custom threshold
based incident reports

MySQL auto-detection
Security

Performance

Availability

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

28

MySQL Enterprise Scalability : Thread Pool


Provides 20x better scalability
Plugin improves sustained
performance as user connections
grow

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

29

MySQL Enterprise Scalability : Thread Pool


External Clients

Thread Pool

Internal Clients

Connection Execution Threads

Thread Group 1
Threads 1 - 4096

Thread Group 1

Thread Group 2
Threads 4097 - 8193

Thread Group 2

Thread Group N
Threads 8194 - N

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 roundPerformance


robin
Security
Threads are prioritized and statements Availability
queued
Improves scalability as concurrent connections grow, protection from DOS attacks
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

30

MySQL Enterprise Edition


MySQL Enterprise Authentication

External Authentication Modules


Microsoft AD, Linux PAMs

MySQL Enterprise Encryption

Public/Private Key Cryptography


Asymmetric Encryption
Digital Signatures, Data Validation

MySQL Enterprise Monitor


Changes in Database Configurations, Users
Permissions, Database Schema, Passwords

MySQL Enterprise Backup


Securing Backups, AES 256 encryption

MySQL Enterprise Firewall

Query Monitoring, White List Matching,


MySQL Enterprise Audit
User Activity Auditing, Regulatory Compliance

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

31

MySQL Enterprise Security


SSL enabled communication
Access control
Enterprise authentication (PAM, Windows, LDAP, etc.)
Proxy users

Auditing and monitoring


MySQL security advisors
Oracle Audit Vault

Oracle Database Firewall

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

32

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

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

33

MySQL Enterprise Firewall


Real Time Protection
Queries analyzed and matched against White List

Blocks SQL Injection Attacks


Positive Security Model

Block Suspicious Traffic

MySQL Enterprise Firewall monitoring

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
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

34

MySQL Enterprise Firewall


SQL Injection Protection with Positive Security Model
Allow & Log

Select *.* from employee where id=22

Select *.* from employee where id=22 or 1=1

Applications

White List

Block & Log

Out of policy database transactions detected and blocked

Logging & Analysis


Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

35

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

Adds regulatory compliance to


MySQL applications (HIPAA,
Sarbanes-Oxley, PCI, etc.)
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

36

MySQL Enterprise Audit

3. Joes connection & query logged

1. DBA enables Audit plugin

2. User Joe connects and runs a query

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

37

MySQL Enterprise Authentication


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 2016 Oracle and/or its affiliates. All rights reserved. |

38

MySQL Enterprise High Availability


HA with MySQL Fabric (recommended)
Oracle VM Templates for MySQL
HA with DRBD and Linux Clustering

HA with Solaris Clustering


HA with Windows Failover Clustering
HA with Oracle Clusterware Plugin
Range of options to make your
MySQL application deployments
Highly Available
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

39

MySQL 5.7: Replication Improvements


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

Master 1

Master 2

Master N

Binlog

Binlog

Binlog

IO 1

IO 2

IO N

Relay 1

Relay 2

Relay N

Coordinator

Coordinator

Coordinator

Coordinator

W1 W2

WX

W1 W2

WX

Slave
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

W1 W2

WX

W1 W2

WX

MySQL Fabric 1.5


High Availability + Sharding-Based Scale-out
Application

Application

Connector

Router
SQL

High Availability
Server monitoring with auto-promotion and
transparent application failover

Optionally scale-out through sharding


MySQL Fabric

Application provides shard key


Range or Hash
Tools for shard management
Global updates & tables

Connection options
Fabric-aware connectors
MySQL Router (HA)
Read-slaves

Read-slaves

HA group

HA group

Server provisioning using OpenStack


Support for Nova and Neutron APIs
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

41

MySQL Group Replication

labs.mysql.com

Active/Active Update Anywhere


Conflict detection and resolution (transaction rollback)
Optimistic State Machine Replication

Application

MySQL
Server
API

MySQL Nodes

Replication
Plugin

Automatic group membership management and failure


detection
No need for server fail-over
Elastic scale out/in

No single point of failure


Automatic reconfiguration

Group Comms

Well integrated
InnoDB

GTID-based replication
PERFORMANCE_SCHEMA

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

42

MySQL Router

labs.mysql.com

Connection and Transaction routing

Transparently improve your MySQL apps


Transparent MySQL Fabric support
Transparent HA
Transparent Sharding

Transparent support for MySQL Group Replication clusters


Transparent support for custom clusters and HA setups

Easily extendable using plugin APIs


Many new plugins to come Aggregation, Binary Log, Load Balancing,
What would you most like to see?

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

43

MySQL Workbench 6.3

GA

Fabric
Add node, browse, view, connect

Performance Dashboard
Performance Schema Reports & Graphs

Visual Explain
GIS Viewer

Migration
New: Microsoft Access
Microsoft SQL Server, Sybase,
PostgreSQL, SQLite

New Easy to Use Wizards for


Fast Data Migration
Table<->File Data Import/Export (like Excel)
SSL Certificate Creation
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

44

MySQL Enterprise HA : Shared Nothing


DRBD + Clustering
Based on distributed storage, not a SAN
Synchronous replication eliminates risk of
data loss

Open source, mature, & proven


Certified and fully supported by Oracle
DRBD integrated into Oracle Linux
Unbreakable Enterprise Kernel R2
Pacemaker and Corosync for clustering /
failover
Updates to stack via ULN channel
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

45

MySQL Enterprise HA : Shared Storage

Virtual IP

Clients

Stricter data durability, integrity


constraints
Shared storage persists commits across
instances
Clustering software manages data access
Auto-failover of applications and database
Deploy with MySQL Fabric for scale-out

MySQL certified & supported solutions


Oracle Clusterware
Windows Failover Clustering
Oracle Solaris Cluster
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

46

MySQL Enterprise HA : Oracle VM Templates


Oracle Linux
Oracle VM

Automatic Fault
Detection &
Recovery

Oracle VM

Oracle VM
Oracle VM Manager

Secure Live
Migration (SSL)

Oracle VM
Manager

Oracle VM Server Pool

Oracle VM Servers

ocfs2
SAN / iSCSI

Oracle Cluster File System 2 (OCFS2)


MySQL Database (Enterprise Edition)
Pre-installed & pre-configured

Full integration & QA testing


Single point of support
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

47

MySQL HA & Scaling Solutions


MySQL
Replication

MySQL
Fabric

Oracle VM
Template

Oracle
Clusterware

Solaris
Cluster

Windows
Cluster

DRBD

MySQL
Cluster

App Auto-Failover

Data Layer Auto-Failover

MySQL 5.7

MySQL 5.7

Platform Support

All

All

Linux

Linux

Solaris

Windows

Linux

All

Clustering Mode

Master +
Slaves

Master +
Slaves

Active/Pas
sive

Active/Passi
ve

Active/P
assive

Active/Pas
sive

Active/P
assive

MultiMaster

N/A

Secs

Secs +

Secs +

Secs +

Secs +

Secs +

< 1 Sec

Reads

N/A

N/A

N/A

N/A

N/A

N/A

Transparent routing

For HA

Shared Nothing

Storage Engine

InnoDB+

InnoDB+

InnoDB+

InnoDB+

InnoDB+

InnoDB+

InnoDB+

NDB

Zero Data Loss

Failover Time
Scale-out

Cross-shard operations

Single Vendor Support

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

48

MySQL 5.7 Generally Available

Copyright 2016 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted

49

GA

MySQL 5.7
Performance & Scalability

Manageability

2 X Faster than MySQL 5.6

Performance Schema Improvements

Enhanced InnoDB: faster online & bulk


load operations

MySQL SYS Schema

Replication Improvements (incl. multisource, multi-threaded slaves...)

Improved Security: safer initialization,


setup & management

New Optimizer Cost Model: greater user


control & better query performance

JSON Support

And many more new features and enhancements... http://mysqlserverteam.com/the-mysql-5-7-7-release-candidate-is-available/


Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

50

MySQL 5.7: JSON Overview


Native JSON data type
Native internal binary format for efficient processing & storage

Built-in JSON functions


Allowing you to efficiently store, search, update, and manipulate Documents

JSON Comparator
Allows for easy integration of Document data within your SQL queries

Indexing of Documents using Generated Columns


InnoDB supports indexes on both stored and virtual Generated Columns
New expression analyzer automatically uses the best functional index available

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

51

MySQL 5.7: JSON Data Type


utf8mb4 character set

Supports all native JSON types

Optimized for read intensive


workload

Numbers, strings, bool


Objects, arrays

Parse and validation on INSERT only Extended


Dictionary
Date, time, datetime, timestamp
Sorted objects' keys
Fast access to array cells by index

Other

Internal binary format


Efficient storage, retrieval and
manipulation
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

52

MySQL 5.7: JSON Functions


5.7 supports functions to CREATE, SEARCH, MODIFY and RETURN JSON
values:
JSON_APPEND()

JSON_INSERT()

JSON_REPLACE()

JSON_ARRAY_INSERT()

JSON_KEYS()

JSON_SEARCH()

JSON_ARRAY()

JSON_LENGTH()

JSON_SET()

JSON_CONTAINS_PATH()

JSON_MERGE()

JSON_TYPE()

JSON_CONTAINS()

JSON_OBJECT()

JSON_UNQUOTE()

JSON_DEPTH()

JSON_QUOTE()

JSON_VALID()

JSON_EXTRACT()

JSON_REMOVE()

https://dev.mysql.com/doc/refman/5.7/en/json-functions.html

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

53

MySQL 5.7: SYS Schema


Helper objects for DBAs, Developers and Operations staff

Helps simplify DBA / Ops tasks


- Monitor server health, user, host statistics
- Spot, diagnose, and tune performance issues
Easy to understand views with insights into

- IO hot spots, Locking, Costly SQL statements


- Schema, table and index statistics
SYS is similar to
- Oracle V$ catalog views
- Microsoft SQL DMVs (Dynamic Mgmnt Views)
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

54

MySQL 5.7: GIS Improvements


Replaced custom code with Boost.Geometry

For spatial calculations


For spatial analysis
Enabling full OGC compliance
Were also Boost.Geometry contributors!

InnoDB R-tree based spatial indexes


Full ACID, MVCC, & transactional support
Index records contain minimum bounding box

GeoHash

GeoJSON
Helper functions such as ST_Distance_Sphere() and ST_MakeEnvelope()
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

55

MySQL 5.7: InnoDB Improvements


Native Partitioning
Eliminates previous limitations
Eliminates resource usage problems
Transportable tablespace support

Native Full-Text Search


Including full CJK support!

Native Spatial Indexes

Transparent page compression (for sparse


files)
Support for 32K and 64K pages
Use with transparent page compression

General TABLESPACE support


Store multiple tables in user defined shared
tablespaces

Support for MySQL Group Replication


High priority transactions

Improved support for cache preloading


Load your hottest data loaded at startup

Configurable fill-factor and merge


threshold
Tune InnoDB page handling to your application.

Improved bulk-data load performance

Resize the InnoDB Buffer Pool online


Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

56

MySQL Repos

MySQL on GitHub

Distributions

Git for MySQL Engineering

Oracle, Red Hat, CentOS


Fedora
Ubuntu, Debian
SUSE

Official MySQL Docker Image from Oracle


Coming Soon
Preconfigured Containers
Improved support for popular DevOps
deployment tools

Fast, flexible and great for a distributed team


Great tooling
Large and vibrant community

GitHub for MySQL Community


Easy and fast code availability to the community
and to downstream projects
New Pull Requests
https://github.com/mysql

https://dev.mysql.com/downloads/repo

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

57

MySQL 5.7: Additional Info


http://mysqlserverteam.com/whats-new-in-mysql-5-7-first-release-candidate/
http://mysqlserverteam.com/json-labs-release-overview/

http://mysqlserverteam.com/?s=query+rewrite
http://mysqlserverteam.com/category/performance/optimizer/
http://mysqlserverteam.com/category/innodb/

http://mysqlserverteam.com/category/mysql/performance-schema/
http://mysqlserverteam.com/category/gis/
http://mysqlserverteam.com/category/full-text-search/
http://mysqlserverteam.com/category/dictionary/

http://dev.mysql.com/doc/refman/5.7/en/
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

58

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
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

59

MySQL Cluster

Copyright 2016 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted

60

MySQL Cluster Overview


HIGH SCALE, READS + WRITES

99.999% AVAILABILITY

REAL-TIME

Auto-Sharding, Multi-Master
ACID Compliant, OLTP + Real-Time Analytics

Shared nothing, no Single Point of Failure


Self Healing + On-Line Operations

In-Memory Optimization + Disk-Data


Predictable Low-Latency, Bounded Access Time

SQL + NoSQL

Key/Value + Complex, Relational Queries


SQL + Memcached + JavaScript + Java + HTTP/REST & C++

LOW TCO

Open Source + Commercial Editions


Commodity hardware + Management, Monitoring Tools

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

61

Whos Using MySQL Cluster?

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

MySQL Cluster Architecture


Clients

Application Layer

Management
Data Layer

MySQL Cluster Data Nodes

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

MySQL Cluster Scaling


Clients

Application Layer

Management
Data Layer

MySQL Cluster Data Nodes

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

MySQL Cluster High Availability


Clients

Application Layer

Management

Data Layer

MySQL Cluster Data Nodes

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Copyright 2016 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 2016 Oracle and/or its affiliates. All rights reserved. |

On-line Scheduled Maintenance

Scale

Backup

Evolve

Upgrade

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

MySQL Cluster: SQL & NoSQL Flexibility

Mix
&
Match

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

1.2 Billion UPDATEs per Minute


Millions of UPDATEs per Second

25

NoSQL C++ API,


flexaSynch benchmark

20

30 x Intel E5-2600 Intel


Servers, 2 socket, 64GB

15

10

ACID Transactions, with


Synchronous Replication

10

12

14

16

18

20

22

24

26

28

30

MySQL Cluster Data Nodes

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

MySQL Cluster 7.4 GA

11/03/2016

Copyright 2016 Oracle and/or its affiliates. All rights reserved. | Copyright 2016, oracle and/or its affiliates. All rights reserved

72

MySQL Cluster 7.4 GA


200 Million NoSQL
Reads/Sec
2.5M SQL Ops/Sec
50% Faster Reads
40% Faster Mixed

Active-Active
Geographic
Redundancy
Conflict
Detection/Resolution

5X Faster
Maintenance Ops
Detailed Reporting

Performance

Active-Active

Management

11/03/2016

Copyright 2016 Oracle and/or its affiliates. All rights reserved. | Copyright 2016, oracle and/or its affiliates. All rights reserved

73

MySQL Cluster 7.4 NoSQL Performance


200 Million NoSQL Reads/Second
Memory optimized tables

FlexAsync Reads

Durable
Mix with disk-based tables

250,000,000

Massively concurrent OLTP


Distributed Joins for analytics
Parallel table scans for non-indexed
searches
MySQL Cluster 7.4 FlexAsych

Reads per second

200,000,000

150,000,000

100,000,000

50,000,000

10

12

14

16

18

20

22

24

26

28

30

32

Data Nodes

200M NoSQL Reads/Second

11/03/2016

Copyright 2016 Oracle and/or its affiliates. All rights reserved. | Copyright 2016, oracle and/or its affiliates. All rights reserved

74

Creating & running your first Cluster by Hand

Download &
Extract
edelivery.oracle.com
www.mysql.com
dev.mysql.com

Configure

Start processes

Cluster-wide
config.ini
Per-mysqld my.cnf

Management Nodes
Data Nodes
MySQL Servers

Copyright 2016 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 2016 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 tableInnoDB or NDB

MySQL Cluster Evaluation Guide


http://mysql.com/why-mysql/white-papers/mysql_cluster_eval_guide.php
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

MySQL
Cluster
Manager

MySQL
Enterprise
Scalability

MySQL
Workbench

MySQL
Enterprise
Mornitor

MySQL
Cluster
CGE

Oracle
Product
Certifications

MySQL
Enterprise
Audit

MySQL
Enterprise
Security
Oracle
Premier
Lifetime
Support

11/03/2016

Copyright 2016 Oracle and/or its affiliates. All rights reserved. | Copyright 2016, oracle and/or its affiliates. All rights reserved

78

Enhancing DevOps Agility,


Reducing Downtime
Automated Management

Self-Healing

Start / Stop node or


whole cluster
On-Line Scaling
On-Line Reconfiguration
On-Line Upgrades
On-Line Backup &
Restore
Import Running Cluster

Node monitoring
Auto-recovery extended
to SQL + mgmt nodes

11/03/2016

HA Operations

Cluster-wide
configuration
consistency
Persistent
configurations
HA Agents

Copyright 2016 Oracle and/or its affiliates. All rights reserved. | Copyright 2016, oracle and/or its affiliates. All rights reserved

79

How Does MySQL Cluster Manager Help?


Initiating upgrade from MySQL Cluster 7.0 to 7.3

Before 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 configuration 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.

With MySQL Cluster Manager


upgrade cluster --package=7.3 mycluster;

Total: 1 Command Unattended Operation

Total: 46 commands 2.5 hours of attended operation


Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

MySQL Cluster Benchmarks

http://www.mysql.com/why-mysql/benchmarks/mysql-cluster/
MySQL Cluster 7.4 - 200 Million NoSQL QPS
http://mikaelronstrom.blogspot.com.es/2016/03/200m-reads-per-second-in-mysql-cluster.html

MySQL Cluster 7.4 - 2.5 Million SQL Statements per Second


http://www.mysql.com/why-mysql/white-papers/guide-to-optimizing-performance-of-the-mysqlcluster/

MySQL Cluster 7.3: 8.5x Better Scalability


http://mikaelronstrom.blogspot.co.uk/2013/05/mysql-cluster-73-improvements.html

MySQL Cluster Beats 1 Billion Writes per Minute on 30 Intel Servers


http://www.mysql.com/why-mysql/white-papers/mysql-cluster-benchmarks-1-billion-writes-perminute/

Copyright 2016 Oracle and/or its affiliates. All rights reserved. | Confidential Oracle Internal/Restricted/Highly Restricted

81

Technical Support &


MySQL Enterprise Oracle Certifications
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

82

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

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

83

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 2016 Oracle and/or its affiliates. All rights reserved. |

Support

Copyright 2016 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

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

86

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

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

87

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

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

88

Summing Up

Copyright 2016 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted

89

MySQL Enterprise Edition


Highest Levels of Security, Performance and Availability
Oracle Premier
Lifetime Support
MySQL Enterprise
Security
MySQL Enterprise
Audit
MySQL Enterprise
Scalability

Oracle Product
Certifications/Integrations
MySQL Enterprise
Monitor/Query Analyzer

MySQL Enterprise
Backup

MySQL Enterprise
High Availability

MySQL Workbench

Copyright 2016 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 tableInnoDB or NDB

MySQL Cluster Evaluation Guide


http://mysql.com/why-mysql/white-papers/mysql_cluster_eval_guide.php
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Training

Consulting

Operational Best
Practices

24 x 7 x 365 Global
Support

Database Management &


Monitoring
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

Learn More
mysql.com
MySQL Products and Editions
TCO calculator
Customer success stories

dev.mysql.com
Downloads, Documentation
Forums
PlanetMySQL

eDelivery.oracle.com
Download and evaluate all MySQL products
Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

The Bottom Line


Performance

TCO

DevOps Agility

Performance at scale
Monitoring and tuning

Reduced risk of downtime


Improved Productivity

Automated scaling &


management
Flexible, real-time backups

Peace of Mind
Insurance
Immediate help
if/when needed

Risks
Security & regulatory
compliance
Contact with MySQL team

Customer Satisfaction
Application performance
Application uptime

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

94

keith.hollman@oracle.com

MySQLMed.wordpress.com
Copyright 2016 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 Oracles products remains at the sole discretion of Oracle.

Copyright 2016 Oracle and/or its affiliates. All rights reserved. |

96

Вам также может понравиться