SlideShare ist ein Scribd-Unternehmen logo
1 von 58
Downloaden Sie, um offline zu lesen
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Dave Stokes
MySQL Community Manager
David.Stokes@oracle.com @Stoker
MYSQL 5.7
– EVERYTHING YOU NEED TO KNOW
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
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 decision.
The development, release, and timing of any features or functionality
described for Oracle’s products remains at the sole discretion of Oracle.
Safe Harbor Statement
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL Enterprise Monitor 2.2
MySQL Cluster 7.1
MySQL Cluster Manager 1.0
MySQL Workbench 5.2
MySQL Database 5.5
MySQL Enterprise Backup 3.5
MySQL Enterprise Monitor 2.3
MySQL Cluster Manager 1.1
MySQL Enterprise Backup 3.7
All GA!
Oracle Products Certifications
MySQL Windows Installer
MySQL Enterprise Security
MySQL Enterprise Scalability
MySQL Enterprise Audit
MySQL Cluster 7.2
MySQL Cluster Manager 1.3
MySQL Utilities
MySQL Workbench 6.0
All GA!
MySQL Windows Tools
MySQL Database 5.6
MySQL Cluster 7.3
MySQL Enterprise Monitor 3.0
MySQL Workbench 6.1
MySQL Enterprise Backup 3.11
MySQL Fabric
MySQL Workbench 6.2
MySQL Database 5.7 DMRs*
MySQL Cluster 7.4 DMR
*Development Milestone Release
All GA!
Available Now!
Driving MySQL Innovation: 2010 - 2014
Partial List of Releases Delivered
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.6 GA 15 Months Ago – Best GA Ever
● Performance
– Scales to 48 CPU threads
– Up to 230% faster than 5.5
● Faster Optimizer
– Performance
– Diagnostics
– Better Instrumentation
● Improved Replication
● NoSQL
– Fast – 9x
– Key/value, ACID
● InnoDB
– Better Transactional
throughput
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL Repositories
● Benefits users and distros
● Simple/convenient way to install/upgrade
● Supports
– RHEL/Oracle
– Fedora
– Debian/Ubuntu
● Database, Workbench, Utilities, ODBC & Python Connectors
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
0
100,000
200,000
300,000
400,000
500,000
600,000
700,000
8 16 32 64 128 256 512 1,024
QueriesperSecond
Connections
MySQL 5.7: Sysbench Read Only (Point Select)
MySQL
5.7
MySQL
5.6
MySQL
5.5
MySQL 5.7: Sysbench Benchmark
Intel(R) Xeon(R) CPU E7-4860 x86_64
4 sockets x 10 cores-HT (80 CPU threads)
2.3 GHz, 512 GB RAM
Oracle Linux 6.5
2x Faster than MySQL 5.6
3x Faster than MySQL 5.5
645,000 QPS
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7: Optimizer – New Cost Model
Improving Query Performance
● New cost model enables storage engines to provide
– Accurate and dynamic cost estimates
– Key lookups, table scans, range scans, index scans, etc…
● Configurable costs for additional factors
– Speed of disk I/O operations
– Speed of memory operations
● Improved records per key estimates
● Cost values included in JSON Explain output
labs.mysql.com
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Improving Manageability
● Single repository of metadata for Storage Engine and MySQL server
– Leveraging InnoDB Strengths
– Reliable crash-safe tables
– Replacing the FRMs
● INFORMATION_SCHEMA tables can be simple VIEWs
– Queries can be optimized
– Improved performance
● Extensible
– Designed to provide backward-compatibility
– Designed with plugins in mind
New Data Dictionary labs.mysql.com
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Improving Cloud Operations
● MySQL Fabric
– HA & Sharding
● Provisions machines & MySQL
– OpenStack Nova
– Coming Soon: Trove, AWS
● Server setup
– Clones slave
– Sets up replication
9
MySQL Fabric: OpenStack Server Provisioning
labs.mysql.com
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Single Dashboard to manage Oracle stack for Web & Cloud
● An estimated 70% of Oracle customers also use MySQL
– For Web, custom, departmental and embedded applications
– #1 Requested integration
Oracle Enterprise Manager for MySQL GA
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7: Innovation & Quality
● Worklogs Implemented in 5.7: 244
● New MTR Tests for 5.7: 497
● Total Bugs Fixed in 5.7: 1263
● Total Bugs Fixed since 5.5: 8259
– Since MySQL 5.5 GA Dec 15, 2010
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7: InnoDB, NoSQL With Memcached
6x Faster than MySQL 5.6
Thank you, Facebook
0
200,000
400,000
600,000
800,000
1,000,000
1,200,000
8 16 32 64 128 256 512 1,024
QueriesperSecond
Connections
MySQL 5.7 vs 5.6 - InnoDB & Memcached
MySQL
5.7
MySQL
5.6
1 Million QPS
Intel(R) Xeon(R) CPU E7-4860 x86_64
4 sockets x 10 cores-HT (80 CPU threads)
2.3 GHz, 512 GB RAM
Oracle Linux 6.5
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7: Connections per Second
1.7x Faster than MySQL 5.6
2.5x Faster than MySQL 5.5
67,000 Connections/Sec
0
10,000
20,000
30,000
40,000
50,000
60,000
70,000
80,000
MySQL 5.5 MySQL 5.6 MySQL 5.7
Connections/Second
Connections Per Second
MySQL 5.5
MySQL 5.6
MySQL 5.7
Intel(R) Xeon(R) CPU E7-4860 x86_64
4 sockets x 10 cores-HT (80 CPU threads)
2.3 GHz, 512 GB RAM
Oracle Linux 6.5
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Optimizer: New Cost Model - Why?
● More accurate cost estimates
– Better decisions by the optimizer should improve query performance
● Adapt to new hardware architectures
– SSDs, larger memory sizes, improved caches
● More maintainable cost model implementation
– Avoid hard coded “cost constants”
– Refactoring of existing cost model code
● Configurable and tunable
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7: Optimizer - Cost Info in JSON EXPLAIN
● Expanded JSON EXPLAIN
– Now includes all available cost info
– Used for Visual Explain In MySQL
Workbench
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "200.40"
},
"table": {
"table_name": "nicer_but_slower_film_list",
"access_type": "ALL",
"rows_examined_per_scan": 992,
"rows_produced_per_join": 992,
"filtered": 100,
"cost_info": {
"read_cost": "2.00",
"eval_cost": "198.40",
"prefix_cost": "200.40",
"data_read_per_join": "852K"
},
"used_columns": [
"FID",
"title",
"description",
"category",
"price",
"length",
"rating",
"actors"
],
...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7: Optimizer - Query Rewrite Plugin
● Query rewrite (pre and post parse)
● Post-parse query plugin
– Rewrite problematic queries without application changes
– Add hints
– Modify join order
– Many more …
● Improve problematic queries from ORMs, third party apps, etc.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
InnoDB
New Data Dictionary: Architecture
Query Executioner
Parser Optimizer
Data
Dictionar
y
Tablespac
e
Data Dictionary Internal API
Internal SE
Data Dictionary External API
Plugin
Storage
Engine
Plugin
Storage
Engine
Plugin Plugin Plugin
User
Table
Tablesp
ace
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Memory Instrumentation
● Aggregates statistics by
– Type of memory used
(caches, internal buffers,
…)
– Thread/account/user/ho
st indirectly performing
the memory operation
● Attributes include
– Memory used (bytes)
– Operation counts
– High/Low Water Marks
Statement
Instrumentation
● Stored Procedures
● Stored Functions
● Prepared Statements
● Transactions
Additional Information
● Replication slave status
● MDL lock
instrumentation
● User variables per
thread
● Server stage tracking
● Track long running SQL
● All while reducing total
footprint and overhead
MySQL 5.7: Performance Schema
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL SYS Schema
Helper objects for DBAs, Developers and Operations staff
● Helps simplify DBA / Ops tasks
- Monitor server health, user and/or host statistics, and other key metrics
- Spot, diagnose, and tune performance issues
● Provides easy to understand views with insights into
- IO hot spots, Locking and Costly SQL statements
- Schema, table and index statistics
● SYS is similar to
- Oracle V$ catalog views
- Microsoft SQL DMVs (Dynamic Mgmnt Views)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7: InnoDB Compression
Thank you, SanDisk Fusion-io
● Transparent Page Level Compression
– Happens transparently in background threads
– Managed entirely within the IO layer
– Uses sparse file and "hole punching" support in OS kernels and File Systems
● Reduces IO
– Improves MySQL performance
– Improves storage efficiency
– Reduces write cycles, thus increasing SSD lifespan
● Applies to all InnoDB data, including the system tablespace and UNDO logs
labs.mysql.com
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7: InnoDB - New Features
● InnoDB support for MySQL Group Replication
– High priority transactions
● InnoDB Native Partitioning
– Will allow us to eliminate previous limitations on partitioned tables
– Removes memory usage problems when many partitions are used
● Support for 32K and 64K pages
● General TABLESPACE support
– Store multiple tables in user defined tablespaces
labs.mysql.com
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
● 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
● Master-specific slave filters
MySQL 5.7: 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
labs.mysql.com
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
● Up to 5X performance vs single threaded
slave
– No changes to the application
– No manipulation (delaying) of
Binary log Group Commit
● GTIDs & Crash-Safe Slave enabled
● Sysbench OLTP test
– 10M rows
– SSD / 48 core HT / 512 GB RAM
MySQL 5.7: Intra-Schema Multi-Threaded Slave
0
500
1000
1500
2000
2500
3000
3500
4000
4500
5000
0 4 16 25 50 100 200
Worker Threads
Slave Transactions per Second
Baseline
50 clients
100 clients
150 clients
200 clients
labs.mysql.com
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
● Shared-nothing virtually synchronous database system
● Multi-master update anywhere
– Conflict detection and resolution (transaction rollback)
– Optimistic State Machine Replication
● Automatic group membership management and failure detection
– No need for server fail-over
– Elastic scale out/in
– No single point of failure
– Automatic reconfiguration
● Well integrated
– InnoDB
– GTID-based replication
– PERFORMANCE_SCHEMA
MySQL 5.7: Group Replication
Application
MySQL Masters
Replication
Plugin
API
MySQL
Server
Group Comms
(Corosync)
labs.mysql.com
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL Fabric 1.5: High Availability & Sharding
● OpenStack Integration
● High Availability
– Server monitoring; auto-promotion and
transparent application failover
● Sharding for Scale-out
– Application provides shard key
● Integer, date or string
– Range or Hash
– Tools for resharding
● Fabric-aware connectors rather than proxy:
Python, Java, PHP, .NET, C (labs)
– Lower latency, bottleneck-free
MySQL Fabric
Connector
Application
Read-slaves
SQL
HA group
Read-slaves
HA group
Connector
Application
26
GA
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
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 ✖ ✔ ✔ ✔ ✔ ✔ ✔ ✔
Zero Data Loss MySQL 5.7
MySQL
5.7
✔ ✔ ✔ ✔ ✔ ✔
Platform Support All All Linux Linux Solaris Windows Linux All
Clustering Mode
Master +
Slaves
Master +
Slaves
Active/Pa
ssive
Active/Pass
ive
Active/
Passive
Active/Pas
sive
Active/P
assive
Multi-
Master
Failover Time N/A Secs Secs + Secs + Secs + Secs + Secs + < 1 Sec
Scale-out Reads ✔ ✖ ✖ ✖ ✖ ✖ ✔
Cross-shard operations 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
Single Vendor Support ✔ ✔ ✔ ✔ ✔ ✖ ✔ ✔
27
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7 : Syslog Support for Linux/Unix platforms
● Native support for syslog
● Simple option to (re)direct log output to native syslog facility
● Start-up server configuration option
● Dynamically in the running server
– System variable log_syslog (ON/OFF, defaults to OFF).
Thank you, Simon Mudd at booking.com
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7: Locking
Multiple User Level Locks per Connection
● User-level locks can be used to organize mutual exclusion
– When accessing some resource
– When table or row-level locks are not appropriate
● Request multiple locks by issuing a series of GET_LOCK statements
● Replaces custom user-level lock implementation
– With one based on the MDL lock manager
– Deadlocks between different connections acquiring user-level locks, metadata locks, and
those waiting for table flushes are properly detected and reported as errors.
Thank you, Konstantin Osipov!
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7: Server-side Statement Timeouts
Thank you Davi Arnaut!
● Server side statement timeouts
– Global for server, per session, or for individual SELECT statements
● Expanded to Windows and Solaris, restricted by removing USER option
SELECT MAX_STATEMENT_TIME = 109 * FROM my_table;
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
● Replaced custom code
– For spatial calculations
– For spatial analysis
● Provides OGC compliance
– With improved performance
● Boost.Geometry contains
– Field and domain experts
– Bustling and robust community
● We’re also Boost.Geometry contributors!
MySQL 5.7: GIS - Integrating Boost.Geometry
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
HTTP Plugin for MySQL
● Server Plugin adds HTTP(S) endpoints to MySQL
● Results are serialized to JSON format encoded as UTF8
● Provides 3 choices of User Endpoint Types
– SQL
– CRUD - Key-Value
– JSON - Document
labs.mysql.com
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
●MySQL Workbench 6.2
● Fabric
– Add fabric node, browse, view, connect
● Performance Dashboard
– Performance Schema Reports & Graphs
● Visual Explain
● GIS Viewer
● Migration
– New Microsoft Access
– Microsoft SQL Server, Sybase, PostgreSQL
GA
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
● Simple and convenient way to install
& update MySQL products
● Supports the following distributions
– Oracle, Red Hat, CentOS
– Fedora
– Ubuntu, Debian
● Coming Soon
– SUSE
– Preconfigured Containers
– Improved support for popular DevOps
deployment tools
The latest releases of
– MySQL Database
– MySQL Workbench
– MySQL Connector/ODBC
– MySQL Connector/Python
– MySQL Connector/NET
– MySQL Utilities
MySQL Community Repositories: Yum, APT,NuGET
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL Source Code Available on GitHub
● Git for MySQL Engineering
– 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
– Beta repo available today at https://github.com/mysql
– More info at http://mysqlrelease.com
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Better performance and operational simplicity
MySQL Cluster 7.4
● Performance gain over 7.3
– 47% (Read-Only)
– 38% (Read-Write)
• Faster maintenance operations
– Nodal & Rolling restarts
– Upgrades
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
●MySQL Cluster: Active-Active Geo-Replication
● Asynchronous replication between MySQL Clusters
● Active-Active
– Update anywhere
– Conflict detection
● Application notified through exception tables
● Can opt to have conflicts resolved automatically
– Auto-conflict-resolution
● Conflicting transaction and dependent ones are rolled-back
● No required changes to app schema
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Security
● AES 256 Default
● Password Rotation Policies
– Globally and at user level
● Deploy unattended default secure install
– Random password set on install
– No anonymous accounts
– No test account, test schema, or demo files
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Performance Schema
● Memory usage
– 200+ types
– Aggregate stats by type cache, buffers, etc.
– Thread/account/user/host performing operation
– Memory used, operation counts, high/low watermarks
● Statement instruments extended
– Stored procedures, stored functions, prepared statements, transactions
● Replication status
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
SYS Schema
● Simplified views on PS and IS
– Help simplify DBA tasks by monitoring health, growth rates
– Spot, diagnose and tune performance problems
● Easy to understand insights into
– IO hot spots
– Costly SQL statements
– Dynamic statistics on tables, indexes, and schemas
– Wait times, locking
– InnoDB stats
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Replication – Faster, higher, stronger
● Higher throughput
– Slave : Apply transactions in parallel even within same database
– Master :Better sync between replication-user sessions
● Better semi-sync performance
– Loss less replication
● PS tables for monitoring
● Dynamic replication filters
● Check out PECL mysqlnd_ms
– Replication and load balancing, does read/write splitting for you!
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Multi-Threaded Slave
● 6x salve output
● Tune size of group commit buckets
on master
● Evolution
– 2010 inter-schema 5.6 labs
– 2013 Inter-schema 5.6 GA
– 2014 Intra-schema 5.7.2
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Proposal: enable SQL MODE to ONLY_FULL_GROUP
Default behavior for other databases
In 5.6 and lower, MySQL was guessing what to use for non-grouped fields.
–New ANY_VALUE() SQL Function to allow 'non-deterministic' statements so
things can work 'old way'
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Replication
5.6 provided more durable replication with group commit
5.7 proposal – make durable the default
–sync_binlog =1
–Master-info-repository = TABLE
–Relay-log-infor-repository = TABLE
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Proposal
Deprecate SHOW ENGINE INNODB MUTEX
–Overlaps with Performance Schema
Deprecate InnoDB Monitor tables
–Developed long before Performance Schema
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Proposal – make STRICT the default SQL Mode
Lot of criticism that MySQL is too permissive, truncating out-of-range, zero dates, etc.
Roll ERROR_FOR_DIVISION_BY_ZERO, NO_ZERO_DATE, and NO_ZERO_IN_DATE
into STRICT Mode
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Proposal
Deprecate EXPLAIN PARTITIONS
Deprecate EXPLAIN EXTENDED
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Alter Ignore Table
Useful for adding PRIMAY/UNIQUE keys on tables with duplicate
keys
–Will silently drop rows for you
–Deprecated 5.7.17
–Removed in DMR4
–Was a MySQL-only extension
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Query Cache
● Defaults to DISABLED in 5.6
● Plans for other options in later releases
●
If you have data that should be cached like sports scores, put in a
cache (memcached) ot store it in the application.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Deprecate NULL synonym N
Anyone using? We DO want feedback!!
For removal in 5.7 or 5.8
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
FEDERATED & MERGE Storage Engines
We recommend multi-source replication over Federated
We want your feedback if you are still using Federated!!
Similar to Partitioning but MyISAM ONLY
–Major limitations with Partition Exchange
–Anyone using?
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Slide to check if audience is still awake
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
InnoDB temp tables
● New separate table space for temp tables
● Better create/drop – 11x faster
● 2-4x faster INSERT/DELETE/UPDATE
● Optimized DML operations
● Undo logs in temp table spaces
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Triggers
● Multiple Triggers per table
● Set execution order
● Check column constraints at end of trigger execution
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Error logging
● Three levels
– Errors Only
– Errors + Warnings
– Errors + Warnings + Notes (default)
● --log-error-verbosity = 1
● SET GLOBAL log_error_verbosity=1;
● --log_timestampes = SYSTEM UTC (default)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Optimized for Web, Cloud-based, Embedded use cases
Simplified, Pluggable architecture
-Maintainability, more extensible
-More NoSQL options (HTTP, JSON, JavaScript, etc.)
Re factoring
-Data Dictionary in InnoDB
-Optimizer/Parser/Protocol
InnoDB
-Optimized for SSD
-GIS
Easy HA, Replication and Sharding
MySQL Database Development Priorities
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
mysql.com
- MySQL Products, Editions, Training, Consulting
- TCO calculator
- Customer use cases and success stories
dev.mysql.com
- Downloads, Documentation
- Forums
- PlanetMySQL
eDelivery.oracle.com
- Download and evaluate all MySQL products
Learn More
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Free/Cheap ways to learn MySQL
● MySQL Marinate
– Free online virtual class by the
Boston MySQL Users Group
– One chapter a week in O'Reilly
Learning MySQL
– Homework checked by Mozilla's
Senior DBA
● GirlDevelopIT.com
– Cheap
– Weekend/Nights
– Local chapter in your area?
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL 5.7
David.Stokes@Oracle.com
@stoker
slideshare.net/davestokes

Weitere ähnliche Inhalte

Andere mochten auch

MySQL Replication Evolution -- Confoo Montreal 2017
MySQL Replication Evolution -- Confoo Montreal 2017MySQL Replication Evolution -- Confoo Montreal 2017
MySQL Replication Evolution -- Confoo Montreal 2017Dave Stokes
 
Replication in the wild ankara cloud meetup - feb 2017
Replication in the wild   ankara cloud meetup - feb 2017Replication in the wild   ankara cloud meetup - feb 2017
Replication in the wild ankara cloud meetup - feb 2017AnkaraCloud
 
MySQL Performance Tips & Best Practices
MySQL Performance Tips & Best PracticesMySQL Performance Tips & Best Practices
MySQL Performance Tips & Best PracticesIsaac Mosquera
 
MySQL Performance Tuning: Top 10 Tips
MySQL Performance Tuning: Top 10 TipsMySQL Performance Tuning: Top 10 Tips
MySQL Performance Tuning: Top 10 TipsOSSCube
 
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)Aurimas Mikalauskas
 
Multi Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ VerisureMulti Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ VerisureKenny Gryp
 
CBSE XII Database Concepts And MySQL Presentation
CBSE XII Database Concepts And MySQL PresentationCBSE XII Database Concepts And MySQL Presentation
CBSE XII Database Concepts And MySQL PresentationGuru Ji
 

Andere mochten auch (8)

MySQL Replication Evolution -- Confoo Montreal 2017
MySQL Replication Evolution -- Confoo Montreal 2017MySQL Replication Evolution -- Confoo Montreal 2017
MySQL Replication Evolution -- Confoo Montreal 2017
 
Replication in the wild ankara cloud meetup - feb 2017
Replication in the wild   ankara cloud meetup - feb 2017Replication in the wild   ankara cloud meetup - feb 2017
Replication in the wild ankara cloud meetup - feb 2017
 
MySQL Performance Tips & Best Practices
MySQL Performance Tips & Best PracticesMySQL Performance Tips & Best Practices
MySQL Performance Tips & Best Practices
 
MySQL Performance Tuning: Top 10 Tips
MySQL Performance Tuning: Top 10 TipsMySQL Performance Tuning: Top 10 Tips
MySQL Performance Tuning: Top 10 Tips
 
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
 
Multi Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ VerisureMulti Source Replication With MySQL 5.7 @ Verisure
Multi Source Replication With MySQL 5.7 @ Verisure
 
CBSE XII Database Concepts And MySQL Presentation
CBSE XII Database Concepts And MySQL PresentationCBSE XII Database Concepts And MySQL Presentation
CBSE XII Database Concepts And MySQL Presentation
 
Bank Management System
Bank Management SystemBank Management System
Bank Management System
 

Mehr von All Things Open

Building Reliability - The Realities of Observability
Building Reliability - The Realities of ObservabilityBuilding Reliability - The Realities of Observability
Building Reliability - The Realities of ObservabilityAll Things Open
 
Modern Database Best Practices
Modern Database Best PracticesModern Database Best Practices
Modern Database Best PracticesAll Things Open
 
Open Source and Public Policy
Open Source and Public PolicyOpen Source and Public Policy
Open Source and Public PolicyAll Things Open
 
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...All Things Open
 
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil NashThe State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil NashAll Things Open
 
Total ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScriptTotal ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScriptAll Things Open
 
What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?All Things Open
 
How to Write & Deploy a Smart Contract
How to Write & Deploy a Smart ContractHow to Write & Deploy a Smart Contract
How to Write & Deploy a Smart ContractAll Things Open
 
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
 Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlowAll Things Open
 
DEI Challenges and Success
DEI Challenges and SuccessDEI Challenges and Success
DEI Challenges and SuccessAll Things Open
 
Scaling Web Applications with Background
Scaling Web Applications with BackgroundScaling Web Applications with Background
Scaling Web Applications with BackgroundAll Things Open
 
Supercharging tutorials with WebAssembly
Supercharging tutorials with WebAssemblySupercharging tutorials with WebAssembly
Supercharging tutorials with WebAssemblyAll Things Open
 
Using SQL to Find Needles in Haystacks
Using SQL to Find Needles in HaystacksUsing SQL to Find Needles in Haystacks
Using SQL to Find Needles in HaystacksAll Things Open
 
Configuration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit InterceptConfiguration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit InterceptAll Things Open
 
Scaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship ProgramScaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship ProgramAll Things Open
 
Build Developer Experience Teams for Open Source
Build Developer Experience Teams for Open SourceBuild Developer Experience Teams for Open Source
Build Developer Experience Teams for Open SourceAll Things Open
 
Deploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache BeamDeploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache BeamAll Things Open
 
Sudo – Giving access while staying in control
Sudo – Giving access while staying in controlSudo – Giving access while staying in control
Sudo – Giving access while staying in controlAll Things Open
 
Fortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML ApplicationsFortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML ApplicationsAll Things Open
 
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...All Things Open
 

Mehr von All Things Open (20)

Building Reliability - The Realities of Observability
Building Reliability - The Realities of ObservabilityBuilding Reliability - The Realities of Observability
Building Reliability - The Realities of Observability
 
Modern Database Best Practices
Modern Database Best PracticesModern Database Best Practices
Modern Database Best Practices
 
Open Source and Public Policy
Open Source and Public PolicyOpen Source and Public Policy
Open Source and Public Policy
 
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
Weaving Microservices into a Unified GraphQL Schema with graph-quilt - Ashpak...
 
The State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil NashThe State of Passwordless Auth on the Web - Phil Nash
The State of Passwordless Auth on the Web - Phil Nash
 
Total ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScriptTotal ReDoS: The dangers of regex in JavaScript
Total ReDoS: The dangers of regex in JavaScript
 
What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?What Does Real World Mass Adoption of Decentralized Tech Look Like?
What Does Real World Mass Adoption of Decentralized Tech Look Like?
 
How to Write & Deploy a Smart Contract
How to Write & Deploy a Smart ContractHow to Write & Deploy a Smart Contract
How to Write & Deploy a Smart Contract
 
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
 Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
Spinning Your Drones with Cadence Workflows, Apache Kafka and TensorFlow
 
DEI Challenges and Success
DEI Challenges and SuccessDEI Challenges and Success
DEI Challenges and Success
 
Scaling Web Applications with Background
Scaling Web Applications with BackgroundScaling Web Applications with Background
Scaling Web Applications with Background
 
Supercharging tutorials with WebAssembly
Supercharging tutorials with WebAssemblySupercharging tutorials with WebAssembly
Supercharging tutorials with WebAssembly
 
Using SQL to Find Needles in Haystacks
Using SQL to Find Needles in HaystacksUsing SQL to Find Needles in Haystacks
Using SQL to Find Needles in Haystacks
 
Configuration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit InterceptConfiguration Security as a Game of Pursuit Intercept
Configuration Security as a Game of Pursuit Intercept
 
Scaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship ProgramScaling an Open Source Sponsorship Program
Scaling an Open Source Sponsorship Program
 
Build Developer Experience Teams for Open Source
Build Developer Experience Teams for Open SourceBuild Developer Experience Teams for Open Source
Build Developer Experience Teams for Open Source
 
Deploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache BeamDeploying Models at Scale with Apache Beam
Deploying Models at Scale with Apache Beam
 
Sudo – Giving access while staying in control
Sudo – Giving access while staying in controlSudo – Giving access while staying in control
Sudo – Giving access while staying in control
 
Fortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML ApplicationsFortifying the Future: Tackling Security Challenges in AI/ML Applications
Fortifying the Future: Tackling Security Challenges in AI/ML Applications
 
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
Securing Cloud Resources Deployed with Control Planes on Kubernetes using Gov...
 

Kürzlich hochgeladen

Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 

Kürzlich hochgeladen (20)

Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 

MySQL 5.7 - Everything You Need to Know

  • 1. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Dave Stokes MySQL Community Manager David.Stokes@oracle.com @Stoker MYSQL 5.7 – EVERYTHING YOU NEED TO KNOW
  • 2. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 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 decision. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. Safe Harbor Statement
  • 3. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL Enterprise Monitor 2.2 MySQL Cluster 7.1 MySQL Cluster Manager 1.0 MySQL Workbench 5.2 MySQL Database 5.5 MySQL Enterprise Backup 3.5 MySQL Enterprise Monitor 2.3 MySQL Cluster Manager 1.1 MySQL Enterprise Backup 3.7 All GA! Oracle Products Certifications MySQL Windows Installer MySQL Enterprise Security MySQL Enterprise Scalability MySQL Enterprise Audit MySQL Cluster 7.2 MySQL Cluster Manager 1.3 MySQL Utilities MySQL Workbench 6.0 All GA! MySQL Windows Tools MySQL Database 5.6 MySQL Cluster 7.3 MySQL Enterprise Monitor 3.0 MySQL Workbench 6.1 MySQL Enterprise Backup 3.11 MySQL Fabric MySQL Workbench 6.2 MySQL Database 5.7 DMRs* MySQL Cluster 7.4 DMR *Development Milestone Release All GA! Available Now! Driving MySQL Innovation: 2010 - 2014 Partial List of Releases Delivered
  • 4. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.6 GA 15 Months Ago – Best GA Ever ● Performance – Scales to 48 CPU threads – Up to 230% faster than 5.5 ● Faster Optimizer – Performance – Diagnostics – Better Instrumentation ● Improved Replication ● NoSQL – Fast – 9x – Key/value, ACID ● InnoDB – Better Transactional throughput
  • 5. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL Repositories ● Benefits users and distros ● Simple/convenient way to install/upgrade ● Supports – RHEL/Oracle – Fedora – Debian/Ubuntu ● Database, Workbench, Utilities, ODBC & Python Connectors
  • 6. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 0 100,000 200,000 300,000 400,000 500,000 600,000 700,000 8 16 32 64 128 256 512 1,024 QueriesperSecond Connections MySQL 5.7: Sysbench Read Only (Point Select) MySQL 5.7 MySQL 5.6 MySQL 5.5 MySQL 5.7: Sysbench Benchmark Intel(R) Xeon(R) CPU E7-4860 x86_64 4 sockets x 10 cores-HT (80 CPU threads) 2.3 GHz, 512 GB RAM Oracle Linux 6.5 2x Faster than MySQL 5.6 3x Faster than MySQL 5.5 645,000 QPS
  • 7. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7: Optimizer – New Cost Model Improving Query Performance ● New cost model enables storage engines to provide – Accurate and dynamic cost estimates – Key lookups, table scans, range scans, index scans, etc… ● Configurable costs for additional factors – Speed of disk I/O operations – Speed of memory operations ● Improved records per key estimates ● Cost values included in JSON Explain output labs.mysql.com
  • 8. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Improving Manageability ● Single repository of metadata for Storage Engine and MySQL server – Leveraging InnoDB Strengths – Reliable crash-safe tables – Replacing the FRMs ● INFORMATION_SCHEMA tables can be simple VIEWs – Queries can be optimized – Improved performance ● Extensible – Designed to provide backward-compatibility – Designed with plugins in mind New Data Dictionary labs.mysql.com
  • 9. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Improving Cloud Operations ● MySQL Fabric – HA & Sharding ● Provisions machines & MySQL – OpenStack Nova – Coming Soon: Trove, AWS ● Server setup – Clones slave – Sets up replication 9 MySQL Fabric: OpenStack Server Provisioning labs.mysql.com
  • 10. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Single Dashboard to manage Oracle stack for Web & Cloud ● An estimated 70% of Oracle customers also use MySQL – For Web, custom, departmental and embedded applications – #1 Requested integration Oracle Enterprise Manager for MySQL GA
  • 11. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7: Innovation & Quality ● Worklogs Implemented in 5.7: 244 ● New MTR Tests for 5.7: 497 ● Total Bugs Fixed in 5.7: 1263 ● Total Bugs Fixed since 5.5: 8259 – Since MySQL 5.5 GA Dec 15, 2010
  • 12. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7: InnoDB, NoSQL With Memcached 6x Faster than MySQL 5.6 Thank you, Facebook 0 200,000 400,000 600,000 800,000 1,000,000 1,200,000 8 16 32 64 128 256 512 1,024 QueriesperSecond Connections MySQL 5.7 vs 5.6 - InnoDB & Memcached MySQL 5.7 MySQL 5.6 1 Million QPS Intel(R) Xeon(R) CPU E7-4860 x86_64 4 sockets x 10 cores-HT (80 CPU threads) 2.3 GHz, 512 GB RAM Oracle Linux 6.5
  • 13. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7: Connections per Second 1.7x Faster than MySQL 5.6 2.5x Faster than MySQL 5.5 67,000 Connections/Sec 0 10,000 20,000 30,000 40,000 50,000 60,000 70,000 80,000 MySQL 5.5 MySQL 5.6 MySQL 5.7 Connections/Second Connections Per Second MySQL 5.5 MySQL 5.6 MySQL 5.7 Intel(R) Xeon(R) CPU E7-4860 x86_64 4 sockets x 10 cores-HT (80 CPU threads) 2.3 GHz, 512 GB RAM Oracle Linux 6.5
  • 14. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Optimizer: New Cost Model - Why? ● More accurate cost estimates – Better decisions by the optimizer should improve query performance ● Adapt to new hardware architectures – SSDs, larger memory sizes, improved caches ● More maintainable cost model implementation – Avoid hard coded “cost constants” – Refactoring of existing cost model code ● Configurable and tunable
  • 15. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7: Optimizer - Cost Info in JSON EXPLAIN ● Expanded JSON EXPLAIN – Now includes all available cost info – Used for Visual Explain In MySQL Workbench { "query_block": { "select_id": 1, "cost_info": { "query_cost": "200.40" }, "table": { "table_name": "nicer_but_slower_film_list", "access_type": "ALL", "rows_examined_per_scan": 992, "rows_produced_per_join": 992, "filtered": 100, "cost_info": { "read_cost": "2.00", "eval_cost": "198.40", "prefix_cost": "200.40", "data_read_per_join": "852K" }, "used_columns": [ "FID", "title", "description", "category", "price", "length", "rating", "actors" ], ...
  • 16. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7: Optimizer - Query Rewrite Plugin ● Query rewrite (pre and post parse) ● Post-parse query plugin – Rewrite problematic queries without application changes – Add hints – Modify join order – Many more … ● Improve problematic queries from ORMs, third party apps, etc.
  • 17. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. InnoDB New Data Dictionary: Architecture Query Executioner Parser Optimizer Data Dictionar y Tablespac e Data Dictionary Internal API Internal SE Data Dictionary External API Plugin Storage Engine Plugin Storage Engine Plugin Plugin Plugin User Table Tablesp ace
  • 18. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Memory Instrumentation ● Aggregates statistics by – Type of memory used (caches, internal buffers, …) – Thread/account/user/ho st indirectly performing the memory operation ● Attributes include – Memory used (bytes) – Operation counts – High/Low Water Marks Statement Instrumentation ● Stored Procedures ● Stored Functions ● Prepared Statements ● Transactions Additional Information ● Replication slave status ● MDL lock instrumentation ● User variables per thread ● Server stage tracking ● Track long running SQL ● All while reducing total footprint and overhead MySQL 5.7: Performance Schema
  • 19. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL SYS Schema Helper objects for DBAs, Developers and Operations staff ● Helps simplify DBA / Ops tasks - Monitor server health, user and/or host statistics, and other key metrics - Spot, diagnose, and tune performance issues ● Provides easy to understand views with insights into - IO hot spots, Locking and Costly SQL statements - Schema, table and index statistics ● SYS is similar to - Oracle V$ catalog views - Microsoft SQL DMVs (Dynamic Mgmnt Views)
  • 20. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7: InnoDB Compression Thank you, SanDisk Fusion-io ● Transparent Page Level Compression – Happens transparently in background threads – Managed entirely within the IO layer – Uses sparse file and "hole punching" support in OS kernels and File Systems ● Reduces IO – Improves MySQL performance – Improves storage efficiency – Reduces write cycles, thus increasing SSD lifespan ● Applies to all InnoDB data, including the system tablespace and UNDO logs labs.mysql.com
  • 21. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7: InnoDB - New Features ● InnoDB support for MySQL Group Replication – High priority transactions ● InnoDB Native Partitioning – Will allow us to eliminate previous limitations on partitioned tables – Removes memory usage problems when many partitions are used ● Support for 32K and 64K pages ● General TABLESPACE support – Store multiple tables in user defined tablespaces labs.mysql.com
  • 22. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ● 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 ● Master-specific slave filters MySQL 5.7: 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 labs.mysql.com
  • 23. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ● Up to 5X performance vs single threaded slave – No changes to the application – No manipulation (delaying) of Binary log Group Commit ● GTIDs & Crash-Safe Slave enabled ● Sysbench OLTP test – 10M rows – SSD / 48 core HT / 512 GB RAM MySQL 5.7: Intra-Schema Multi-Threaded Slave 0 500 1000 1500 2000 2500 3000 3500 4000 4500 5000 0 4 16 25 50 100 200 Worker Threads Slave Transactions per Second Baseline 50 clients 100 clients 150 clients 200 clients labs.mysql.com
  • 24. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ● Shared-nothing virtually synchronous database system ● Multi-master update anywhere – Conflict detection and resolution (transaction rollback) – Optimistic State Machine Replication ● Automatic group membership management and failure detection – No need for server fail-over – Elastic scale out/in – No single point of failure – Automatic reconfiguration ● Well integrated – InnoDB – GTID-based replication – PERFORMANCE_SCHEMA MySQL 5.7: Group Replication Application MySQL Masters Replication Plugin API MySQL Server Group Comms (Corosync) labs.mysql.com
  • 25. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL Fabric 1.5: High Availability & Sharding ● OpenStack Integration ● High Availability – Server monitoring; auto-promotion and transparent application failover ● Sharding for Scale-out – Application provides shard key ● Integer, date or string – Range or Hash – Tools for resharding ● Fabric-aware connectors rather than proxy: Python, Java, PHP, .NET, C (labs) – Lower latency, bottleneck-free MySQL Fabric Connector Application Read-slaves SQL HA group Read-slaves HA group Connector Application 26 GA
  • 26. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 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 ✖ ✔ ✔ ✔ ✔ ✔ ✔ ✔ Zero Data Loss MySQL 5.7 MySQL 5.7 ✔ ✔ ✔ ✔ ✔ ✔ Platform Support All All Linux Linux Solaris Windows Linux All Clustering Mode Master + Slaves Master + Slaves Active/Pa ssive Active/Pass ive Active/ Passive Active/Pas sive Active/P assive Multi- Master Failover Time N/A Secs Secs + Secs + Secs + Secs + Secs + < 1 Sec Scale-out Reads ✔ ✖ ✖ ✖ ✖ ✖ ✔ Cross-shard operations 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 Single Vendor Support ✔ ✔ ✔ ✔ ✔ ✖ ✔ ✔ 27
  • 27. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7 : Syslog Support for Linux/Unix platforms ● Native support for syslog ● Simple option to (re)direct log output to native syslog facility ● Start-up server configuration option ● Dynamically in the running server – System variable log_syslog (ON/OFF, defaults to OFF). Thank you, Simon Mudd at booking.com
  • 28. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7: Locking Multiple User Level Locks per Connection ● User-level locks can be used to organize mutual exclusion – When accessing some resource – When table or row-level locks are not appropriate ● Request multiple locks by issuing a series of GET_LOCK statements ● Replaces custom user-level lock implementation – With one based on the MDL lock manager – Deadlocks between different connections acquiring user-level locks, metadata locks, and those waiting for table flushes are properly detected and reported as errors. Thank you, Konstantin Osipov!
  • 29. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7: Server-side Statement Timeouts Thank you Davi Arnaut! ● Server side statement timeouts – Global for server, per session, or for individual SELECT statements ● Expanded to Windows and Solaris, restricted by removing USER option SELECT MAX_STATEMENT_TIME = 109 * FROM my_table;
  • 30. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ● Replaced custom code – For spatial calculations – For spatial analysis ● Provides OGC compliance – With improved performance ● Boost.Geometry contains – Field and domain experts – Bustling and robust community ● We’re also Boost.Geometry contributors! MySQL 5.7: GIS - Integrating Boost.Geometry
  • 31. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. HTTP Plugin for MySQL ● Server Plugin adds HTTP(S) endpoints to MySQL ● Results are serialized to JSON format encoded as UTF8 ● Provides 3 choices of User Endpoint Types – SQL – CRUD - Key-Value – JSON - Document labs.mysql.com
  • 32. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ●MySQL Workbench 6.2 ● Fabric – Add fabric node, browse, view, connect ● Performance Dashboard – Performance Schema Reports & Graphs ● Visual Explain ● GIS Viewer ● Migration – New Microsoft Access – Microsoft SQL Server, Sybase, PostgreSQL GA
  • 33. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ● Simple and convenient way to install & update MySQL products ● Supports the following distributions – Oracle, Red Hat, CentOS – Fedora – Ubuntu, Debian ● Coming Soon – SUSE – Preconfigured Containers – Improved support for popular DevOps deployment tools The latest releases of – MySQL Database – MySQL Workbench – MySQL Connector/ODBC – MySQL Connector/Python – MySQL Connector/NET – MySQL Utilities MySQL Community Repositories: Yum, APT,NuGET
  • 34. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL Source Code Available on GitHub ● Git for MySQL Engineering – 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 – Beta repo available today at https://github.com/mysql – More info at http://mysqlrelease.com
  • 35. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Better performance and operational simplicity MySQL Cluster 7.4 ● Performance gain over 7.3 – 47% (Read-Only) – 38% (Read-Write) • Faster maintenance operations – Nodal & Rolling restarts – Upgrades
  • 36. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ●MySQL Cluster: Active-Active Geo-Replication ● Asynchronous replication between MySQL Clusters ● Active-Active – Update anywhere – Conflict detection ● Application notified through exception tables ● Can opt to have conflicts resolved automatically – Auto-conflict-resolution ● Conflicting transaction and dependent ones are rolled-back ● No required changes to app schema
  • 37. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Security ● AES 256 Default ● Password Rotation Policies – Globally and at user level ● Deploy unattended default secure install – Random password set on install – No anonymous accounts – No test account, test schema, or demo files
  • 38. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Performance Schema ● Memory usage – 200+ types – Aggregate stats by type cache, buffers, etc. – Thread/account/user/host performing operation – Memory used, operation counts, high/low watermarks ● Statement instruments extended – Stored procedures, stored functions, prepared statements, transactions ● Replication status
  • 39. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. SYS Schema ● Simplified views on PS and IS – Help simplify DBA tasks by monitoring health, growth rates – Spot, diagnose and tune performance problems ● Easy to understand insights into – IO hot spots – Costly SQL statements – Dynamic statistics on tables, indexes, and schemas – Wait times, locking – InnoDB stats
  • 40. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Replication – Faster, higher, stronger ● Higher throughput – Slave : Apply transactions in parallel even within same database – Master :Better sync between replication-user sessions ● Better semi-sync performance – Loss less replication ● PS tables for monitoring ● Dynamic replication filters ● Check out PECL mysqlnd_ms – Replication and load balancing, does read/write splitting for you!
  • 41. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Multi-Threaded Slave ● 6x salve output ● Tune size of group commit buckets on master ● Evolution – 2010 inter-schema 5.6 labs – 2013 Inter-schema 5.6 GA – 2014 Intra-schema 5.7.2
  • 42. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Proposal: enable SQL MODE to ONLY_FULL_GROUP Default behavior for other databases In 5.6 and lower, MySQL was guessing what to use for non-grouped fields. –New ANY_VALUE() SQL Function to allow 'non-deterministic' statements so things can work 'old way'
  • 43. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Replication 5.6 provided more durable replication with group commit 5.7 proposal – make durable the default –sync_binlog =1 –Master-info-repository = TABLE –Relay-log-infor-repository = TABLE
  • 44. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Proposal Deprecate SHOW ENGINE INNODB MUTEX –Overlaps with Performance Schema Deprecate InnoDB Monitor tables –Developed long before Performance Schema
  • 45. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Proposal – make STRICT the default SQL Mode Lot of criticism that MySQL is too permissive, truncating out-of-range, zero dates, etc. Roll ERROR_FOR_DIVISION_BY_ZERO, NO_ZERO_DATE, and NO_ZERO_IN_DATE into STRICT Mode
  • 46. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Proposal Deprecate EXPLAIN PARTITIONS Deprecate EXPLAIN EXTENDED
  • 47. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Alter Ignore Table Useful for adding PRIMAY/UNIQUE keys on tables with duplicate keys –Will silently drop rows for you –Deprecated 5.7.17 –Removed in DMR4 –Was a MySQL-only extension
  • 48. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Query Cache ● Defaults to DISABLED in 5.6 ● Plans for other options in later releases ● If you have data that should be cached like sports scores, put in a cache (memcached) ot store it in the application.
  • 49. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Deprecate NULL synonym N Anyone using? We DO want feedback!! For removal in 5.7 or 5.8
  • 50. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. FEDERATED & MERGE Storage Engines We recommend multi-source replication over Federated We want your feedback if you are still using Federated!! Similar to Partitioning but MyISAM ONLY –Major limitations with Partition Exchange –Anyone using?
  • 51. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Slide to check if audience is still awake
  • 52. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. InnoDB temp tables ● New separate table space for temp tables ● Better create/drop – 11x faster ● 2-4x faster INSERT/DELETE/UPDATE ● Optimized DML operations ● Undo logs in temp table spaces
  • 53. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Triggers ● Multiple Triggers per table ● Set execution order ● Check column constraints at end of trigger execution
  • 54. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Error logging ● Three levels – Errors Only – Errors + Warnings – Errors + Warnings + Notes (default) ● --log-error-verbosity = 1 ● SET GLOBAL log_error_verbosity=1; ● --log_timestampes = SYSTEM UTC (default)
  • 55. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Optimized for Web, Cloud-based, Embedded use cases Simplified, Pluggable architecture -Maintainability, more extensible -More NoSQL options (HTTP, JSON, JavaScript, etc.) Re factoring -Data Dictionary in InnoDB -Optimizer/Parser/Protocol InnoDB -Optimized for SSD -GIS Easy HA, Replication and Sharding MySQL Database Development Priorities
  • 56. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. mysql.com - MySQL Products, Editions, Training, Consulting - TCO calculator - Customer use cases and success stories dev.mysql.com - Downloads, Documentation - Forums - PlanetMySQL eDelivery.oracle.com - Download and evaluate all MySQL products Learn More
  • 57. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Free/Cheap ways to learn MySQL ● MySQL Marinate – Free online virtual class by the Boston MySQL Users Group – One chapter a week in O'Reilly Learning MySQL – Homework checked by Mozilla's Senior DBA ● GirlDevelopIT.com – Cheap – Weekend/Nights – Local chapter in your area?
  • 58. Copyright © 2013, Oracle and/or its affiliates. All rights reserved. MySQL 5.7 David.Stokes@Oracle.com @stoker slideshare.net/davestokes