SlideShare a Scribd company logo
1 of 22
Download to read offline
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 1
What’s New in MySQL 5.7
A MySQL White Paper
October 2015
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 2
Introduction.........................................................................................................3
Performance Improvements ..............................................................................3
3x Faster than MySQL 5.6: SQL Point Selects ............................................................3
Native JSON Support..........................................................................................4
Performance Schema .........................................................................................5
SYS Schema........................................................................................................5
InnoDB Improvements........................................................................................6
InnoDB Online Operations...........................................................................................6
InnoDB General Tablespaces......................................................................................6
InnoDB Transparent Page Level Compression............................................................6
InnoDB Native Partitioning ..........................................................................................7
InnoDB Native Full Text Search ..................................................................................7
InnoDB Cache Retention.............................................................................................8
Optimizer Improvements....................................................................................8
Optimizer Cost Model..................................................................................................9
JSON Explain............................................................................................................10
New and Improved Optimizer Hints ...........................................................................11
Query Rewrite Plugin.................................................................................................11
Generated Columns..........................................................................................11
Server Side Statement Timeouts.....................................................................12
Replication Improvements ...............................................................................12
Multi-Source Replication............................................................................................12
Transaction Based Parallel Replication .....................................................................13
Online Replication Changes ......................................................................................14
Semi-Sync Replication Enhancements......................................................................15
Enhanced Monitoring.................................................................................................15
Group Replication......................................................................................................15
High Availability Improvements.......................................................................16
GIS Improvements ............................................................................................17
GeoJSON..................................................................................................................17
GeoHash...................................................................................................................17
Spatial Aware Client Tools ........................................................................................17
Security Improvements ....................................................................................18
AES 256 Encryption ..................................................................................................18
Password Rotation Policies .......................................................................................19
MySQL Secure Installation ........................................................................................19
MySQL Enterprise Edition................................................................................19
Conclusion ........................................................................................................21
Additional Resources .......................................................................................22
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 3
Introduction
MySQL is the most trusted and depended-on open source database platform in
use today. 9 out of the top 10 most popular and highly-trafficked websites in the
world rely on MySQL primarily due to its ubiquity across heterogeneous platforms
and application stacks and for its proven performance, reliability, and ease of
use. MySQL 5.7 builds on this momentum by delivering across the board
improvements designed to enable innovative DBAs and Developers to create
and deploy the next generation of web, embedded, and
Cloud/SaaS/PaaS/DBaaS applications on the latest generation of development
frameworks and hardware platforms.
This paper serves as a DBA and Developer guide to MySQL 5.7 as it highlights
the key new features. To conclude, there is a summary of how MySQL 5.7 can
be implemented using best practices comprising production-ready support and
services of the MySQL Enterprise Edition offering.
Performance Improvements
MySQL 5.7 delivers significant performance improvements on all workloads and
sets new benchmark records.
3x Faster than MySQL 5.6: SQL Point Selects
MySQL 5.7 delivers 1,600,000 Queries/Second in the Point Select query
benchmark, 3x faster than MySQL 5.6.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 4
For context, the benchmark shown above was run on the following platform
configuration:
Intel(R) Xeon(R) CPU E7-8890 v3
4 sockets x 18 cores-HT (144 CPU threads)
2.5 Ghz, 512GB RAM
Linux kernel 3.16
For more information on the MySQL 5.7 benchmarks, visit:
http://www.mysql.com/why-mysql/benchmarks/
The SysBench benchmark tool is freely available for application use-case
specific benchmarks and can be downloaded here:
http://dev.mysql.com/downloads/benchmarks.html
Native JSON Support
In MySQL 5.7 a new data type for storing JSON data in MySQL tables has been
added. Having a native data type for JSON provides some major benefits:
• Document Validation - Only valid JSON documents can be stored in a
JSON column, so you get automatic validation of your data.
Efficient Access - More importantly, when you store a JSON document in
a JSON column, it is not stored as a plain text value. Instead, it is stored in
an optimized binary format that allows for quicker access to object
members and array elements.
Performance - Improve your query performance by creating indexes on
values within the JSON columns. This can be achieved with “functional
indexes” on virtual columns.
Convenience - The additional inline syntax for JSON columns makes it
very natural to integrate Document queries within your SQL. For example
(features.feature is a JSON column):
SELECT feature->"$.properties.STREET" AS property_street FROM features
WHERE id = 121254;
With MySQL 5.7, you can now seamlessly blend the best of the Relational and
Document paradigms in a single tool, using whatever is best for each specific
application and use case. This opens up a tremendous number of new use cases
for MySQL users.
For more information:
- Native JSON Data Type and Binary Format
- JSON Functions, Part 1 - Manipulation JSON Data
- JSON Functions, Part 2 – Querying JSON Data
- Virtual Columns and Effective Functional Indexes in InnoDB
- JSON Manual
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 5
Performance Schema
Monitoring is important to our users and customers, and essential to any data
management system. At the core of our monitoring strategy we have
Performance Schema. The Performance Schema enhancements to MySQL 5.7
include numerous new monitoring capabilities, reduced footprint and overhead,
and significantly improved ease of use with the new SYS Schema. On the
monitoring side, we have instrumented:
Metadata Locking - critical to understand metadata lock dependencies
between sessions.
Stage Tracking - follow the progress of long running operations (e.g.
ALTER TABLE).
Transactions - monitor all aspects of transaction processing within the
server and storage engines.
Memory Usage - aggregates memory usage statistics to understand and
tune the memory consumption of a server.
Stored Programs – instrumentation for stored procedures, stored
functions, events scheduler events and table triggers.
Prepared Statements - Provide aggregated statistics by prepared
statements and expose prepared statements in use by the server.
We have exposed SHOW SLAVE STATUS information and user variables in
Performance Schema. We also expose the GLOBAL and SESSION level
STATUS and VARIABLES while preserving the corresponding SHOW STATUS
and SHOW VARIABLES commands for backward compatibility.
For more information:
- Performance Schema Reference Manual
- Performance Schema and SYS Schema in MySQL 5.7
- Performance Schema Overview & New Features
SYS Schema
MySQL SYS Schema is a database schema with a set of objects (views, stored
procedures, stored functions, tables, and triggers) that were implemented to give
easy, readable, DBA and Developer based use case access to the wealth of
instrumentation data available primarily within Performance Schema, but also
within various INFORMATION_SCHEMA tables as well.
MySQL SYS Schema is included in the MySQL 5.7 Server by default and
provides summary views to answers common questions, like:
“Who is taking up all the resources on my database server?”
“Which hosts are hitting my database server those most?”
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 6
“Where is all the memory going on my instance?
For more information:
- The MySQL SYS Schema in MySQL 5.7
- Performance Schema and SYS Schema in MySQL 5.7
- MySQL SYS Schema Version 1.5.0 Released
InnoDB Improvements
InnoDB Online Operations
MySQL 5.7 supports additional online operations for developers and DBAs that
need to manage MySQL in production environments. The biggest feature we
have added in this space is the ability to resize your InnoDB Buffer Pool online.
Now you can adjust your Buffer Pool size dynamically in order to adapt to
changing needs without restarting MySQL. InnoDB can also now automatically
truncate the InnoDB UNDO log and tablespaces as an online operation, thus
eliminating one common cause of large shared tablespace files (ibdata1). Lastly,
we have added support for online RENAME INDEX and enlarge VARCHAR
column size operations.
For more information:
- Truncate Undo Tablespace
- Innodb Buffer Pool Online Resize
- Innodb Overview of Online DDL
InnoDB General Tablespaces
You can now group schemas and tables together into logical and physical
tablespaces, thus improving resource utilization and providing an easy and
efficient way to do data migrations in various cases (e.g. using a dedicated
tablespace per customer/user).
For more information:
- InnoDB General Tablespaces
InnoDB Transparent Page Level Compression
InnoDB has supported table compression since MySQL 5.1. InnoDB Page Level
Compression--the idea originally introduced by FusionIO (now part of SanDisk)--
is a new feature in MySQL 5.7 and it complements the existing InnoDB table
compression, allowing them to coexist in the same server instance. Users can
now choose the compression scheme that makes the most sense for their use
case, even on a table-by-table basis.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 7
Supported compression algorithms include Zlib and LZ4. When a page is
written, it is compressed using the specified compression algorithm. The
compressed data is written to disk, where the hole punching mechanism then
releases empty blocks from the end of the page. If compression fails, data is
written out as-is.
InnoDB now also supports 32K and 64K page sizes, which is a nice complement
to the page level compression. In general, larger page sizes will typically
increase the amount of redundant data and thus improve the potential
compression ratios.
All of the above work, when also combined with the new support in 5.7 for a user
configurable fill factor and page merge thresholds, allow InnoDB to make the
best use of your storage space.
For more information:
- InnoDB Transparent Page Compression
- InnoDB Supporting Page Sizes of 32k and 64k
InnoDB Native Partitioning
In MySQL 5.7 InnoDB now contains native support for partitioning. The InnoDB
native partitioning removes overhead and reduces memory requirements by up
to 90%. This work also paves the way for us to both remove existing limitations
on partitioned tables, as well as add new features such as global indexes and
parallel query execution.
For more information:
- InnoDB Native Partitioning
InnoDB Native Full Text Search
We introduced InnoDB Full Text Search in 5.6. We have now added greater
flexibility and further optimizations in MySQL 5.7. For example, FullText indexes
in InnoDB now support an external parser. The plugin can either replace the
built-in parser or it can act as a front-end for it. We have also implemented
Optimizer hints that are passed down to InnoDB about a query so that InnoDB
may skip part of the Full-Text search processing, e.g. not to compute the ranking
values if they are not needed.
As of MySQL 5.7.6, MySQL also provides a built-in full-text N-gram parser plugin
that supports Chinese, Japanese, and Korean (CJK), as well as an installable
MeCab full-text parser plugin for Japanese.
For more information:
- InnoDB Supports Full-Text Plugin Parser
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 8
- MySQL Full-Text Plugins
- InnoDB Full-Text N-gram Parser
- InnoDB MeCab Full-Text Parser Plugin
InnoDB Cache Retention
InnoDB now automatically retains the hottest 25% of your buffer pool across
MySQL restarts. No longer do you need to use any manual process to preload or
warm your data cache, nor do you suffer the associated performance penalty
when a restart of MySQL is required.
For more information:
- InnoDB Preload Buffer Pool
- MySQL Dumping and Reloading the InnoDB Buffer Pool
Optimizer Improvements
We have refactored the MySQL optimizer and as a result, large parts of the
parser, optimizer, and cost model have been rewritten to improve maintainability,
extendibility, and performance.
New MySQL Parser
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 9
New MySQL Optimizer
Optimizer Cost Model
To generate optimal execution plans, the optimizer uses a cost model that is
based on estimates for the costs of various operations that occur during query
execution. The optimizer has historically relied on a set of compiled-in default
“cost constants” to make execution plan decisions.
In MySQL 5.7, the cost based optimizer has been improved to make dynamic,
intelligent, and ultimately better cost based decisions. For example, better cost
estimates take into account new hardware architectures (larger buffers & caches,
SSDs, etc.). Better cost estimates will lead to better decisions by the optimizer
and thus better query performance.
The MySQL 5.7 optimizer includes a configurable database of cost estimates to
use during execution plan construction. These estimates are stored in the
server_cost and engine_cost tables within the mysql system database.
For more information:
- The MySQL Optimizer Cost Model Project
- Optimizer Cost Model Manual
- Optimizer Cost Model Presentation
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 10
JSON Explain
We have enhanced the JSON EXPLAIN output by printing the related cost
estimates, and the estimated amount of data to be processed. This will make it
easier for a DBA to see the critical differences between execution plans.
Explain Costs
For more information:
- Optimizer Cost Model Improvements in MySQL 5.7.5 DMR
- Explain Output Manual
Workbench Visual Explain
These new insights also allow for clients to provide additional visual
representations of this data. The new Visual Explain functionality in MySQL
Workbench is a great example.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 11
For more information:
- MySQL EXPLAIN Explained
New and Improved Optimizer Hints
We have added parser rules to support a new hint syntax for optimizer hints.
Hints can now be specified directly after the SELECT, INSERT, REPLACE,
UPDATE, and DELETE keywords in an SQL statement, enclosed in /*+ */ style
comments. Not only does this provide the end-user with a more consistent,
powerful, and easy-to-use method of managing hints, but the internal refactoring
done makes it far easier to add Server side support for additional hints moving
forward. For example, we have added many new index and join related hints in
MySQL 5.7.
For more information:
- New Optimizer Hints in MySQL
- Optimizer Hints Manual
Query Rewrite Plugin
MySQL 5.7 implements a Query Rewrite Plugin. The Query Rewrite Plugin
allows you to specify how certain queries that arrive at the server should be
rewritten before they are processed and executed by the server. For example,
the Query Rewrite Plugin can enforce/prevent a certain query plan by adding
hints to a query. The Query Rewrite Plugin is a superb tool for handling
problematic queries when you cannot rewrite the query within the application
itself, e.g. because it originates from an external tool (like an Object Relational
Mapping tool such as Hibernate) or from some other 3rd party application. As
part of this work, we’ve also created two APIs that can be used to write custom
Query Rewrite Plugins.
For more information:
- Query Rewrite Plugins
- Write Yourself a Query Rewrite Plugin Part 1
- Write Yourself a Query Rewrite Plugin Part 2
Generated Columns
Generated or “Computed” Columns are virtual columns that are not physically
stored in the table, unless the column is explicitly defined as STORED. This
offers a convenient way to cache the results of commonly used expressions, and
offer what’s often referred to as “functional indexes” or “function based indexes”.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 12
It also makes it convenient and efficient to mix dynamic schema-less data within
your relational tables and SQL, for example when using JSON Documents.
For more information:
- Generated Columns in MySQL 5.7.5
- Create Table Manual
Server Side Statement Timeouts
This brings users the ability to set query timeout limits at the global level, on a
per-session basis, and for individual queries. For example:
SELECT /*+ MAX_EXECUTION_TIME(1000) */ * FROM my_table;
For more information:
- Server Side SELECT Statement Timeouts
Replication Improvements
Multi-Source Replication
MySQL Multi-Source Replication enables a replication slave to receive
transactions from multiple sources simultaneously. Multi-source replication can
be used to:
Consolidate data from multiple servers to a single server
Back up multiple servers to a single server
Merge table shards
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 13
The monitoring interfaces now provide details for each replication channel, and
we have also introduced new performance_schema tables to easily monitor
your entire multi-source replication topology.
For more information:
- Introducing Multi-Source Replication
- Multi-Source Replication Manual
Transaction Based Parallel Replication
MySQL 5.7 adds intra-schema multi-threaded slaves. With this implementation
(slave-parallel-type=LOGICAL-CLOCK) the slave will be able to apply transactions in
parallel, even within a single database or schema, as long as they have a disjoint
read and write set. This work allows the slave to keep up with the master, thus
eliminating the most common cause of “slave lag”.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 14
For more information:
- MySQL 5.7 Enhanced MTS: configuring slave for Intra-database parallelization
Online Replication Changes
You can now enable Global Transaction ID based replication as an online
operation, allowing you to take advantage of next generation replication features
without incurring downtime in your MySQL production environments.
You can also change replication filters online now, providing a variety of ways to
configure data replication within your MySQL farm, and finally you can perform
master failover operations (CHANGE MASTER) without stopping replication execution
on slaves.
0%
50%
100%
150%
200%
250%
1 8 24 48
Slave Threads
Slave throughput vs. 96 Thread Master
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 15
For more information:
- Replication Enable GTIDs Online
- Enabling GTIDs Without Downtime
- Change Replication Filter
Semi-Sync Replication Enhancements
The Semi-Sync replication plugin has improved semantics that provide better
performance and reliability.
For more information:
- Loss-Less Semi-Sync Replication
Enhanced Monitoring
In addition to the legacy SHOW commands, we have added a variety of new
Performance Schema tables that offer unprecedented insights into what is
happening and how things are performing. This allows you to easily ensure that
your replication topology is healthy and performing well, while also providing the
information needed to debug any issues that may occur.
For more information:
- Performance Schema Replication Tables
Group Replication
This work brings native active/active write anywhere replication clusters to
MySQL. You can now choose a mix of appropriate replication models based on
your specific needs: asynchronous, semi-synchronous, and (virtually)
synchronous (Group Replication).
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 16
Group Replication takes care of membership, consistency, and other
management related functions without the need for manual intervention or
custom tooling. Easy High Availability for MySQL has arrived!
For more information:
- MySQL Group Replication: Hello World
- MySQL Goup Replication Blog Posts
- State of Group Replication Presentation
High Availability Improvements
Support for tracking session transaction state offers better support for load
balancing across nodes in a cluster.
Server version tokens offer better support for caching in distributed systems.
A new data migration tool--mysqlpump--improves data migration and sharding
operations between nodes (e.g. shard rebalancing).
Improved Replication options in HA groups
• Improved slave performance with logical clock based parallelization
• Loss-less Semi-Sync Replication plugin supporting multi-node acks
• Synchronous replication (Group Replication plugin)
For more information:
- MySQL Session Tracking
- MySQL Version Tokens
- Introducing mysqlpump
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 17
GIS Improvements
We have seen tremendous growth in mobile applications and the need for
location based services. To address these needs, MySQL 5.7 includes significant
GIS improvements.
New & Improved Spatial Extensions
MySQL 5.7 replaces the legacy code used for geometry computations with an
external library, namely Boost.Geometry. Boost.Geometry is a powerful, reliable,
open source geometric engine with an active and vibrant development
community that we are actively engaged in. We have two of the lead
Boost.Geometry developers in-house, and we happily contribute our code back
to the upstream project. The end result of all this is that we have a better
performing, more fully featured, reliable, and standards compliant MySQL GIS.
InnoDB Spatial Indexes
Furthermore, InnoDB now supports Spatial Indexes (implemented as R-Tree
indexes). This makes any spatial search far more efficient, while adding the
transactional support, MVCC, and ACID guarantees that Enterprises need today.
GeoJSON
In recent years, GeoJSON has become a popular data format for exchanging
GIS data due the fact that it’s easy to read, it’s simple, and it’s lightweight. In
MySQL 5.7 we have added support for parsing and generating GeoJSON
documents via two new functions: ST_GeomFromGeoJson() and
ST_AsGeoJson(). These functions make it easy to connect MySQL with other
GeoJSON enabled software and services, such as the Google Maps Javascript
API.
GeoHash
In MySQL 5.7 we introduced new functions for encoding and decoding Geohash
data. Geohash is a well known system for encoding and decoding longitude and
latitude coordinates (in the WGS 84 coordinate system) into a text string.
Spatial Aware Client Tools
Our popular graphical client tool, MySQL Workbench, now includes a new Spatial
Viewer. This is automatically presented as a viewing option when GEOMETRY
columns are detected in the results. We’ve also now incorporated valid spatial
data in the Sakila sample database (the address.location column) to make it easy
and convenient to test out the new GIS work.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 18
MySQL Workbench provides visual tools for developing GIS applications
For more information:
- MySQL 5.7 and GIS, an Example
- GeoJSON Functions
- Geohash Functions
- Spatial Extensions Manual
Security Improvements
MySQL 5.7 adds “secure by default” installations, as well as many features that
help users keep their database instances free from unintended use. This includes
better data encryption, better password handling, better transport layer
security, and more.
AES 256 Encryption
MySQL supports multiple AES Encryption modes. We have enhanced the
security strength of our Advanced Encryption Standard (AES)
encryption/decryption functions—AES_ENCRYPT() and AES_DECRYPT()—by
adding support for larger key sizes and different block modes.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 19
Password Rotation Policies
MySQL enables database administrators to expire account passwords manually,
and to establish a policy for automatic password expiration. Any user who
connects to the server using an account for which the password is past its
permitted lifetime must change the password.
For more information:
- Password Expiration Policy in MySQL Server 5.7
MySQL Secure Installation
mysql_secure_installation enables you to improve the security of your MySQL
installation in the following ways:
• You can set a password for root accounts.
• You can remove root accounts that are accessible from outside the local
host.
• You can remove anonymous-user accounts.
• You can remove the test database (which by default can be accessed by
all users, even anonymous users).
MySQL deployments installed using mysqld --initialize are secure by default.
• The installation process creates only a single root account,
'root'@'localhost', automatically generates a random password for this
account, and marks the password expired. The MySQL administrator must
connect as root using the random password and assign a new password.
• Installation creates no anonymous user accounts.
• Installation creates no test database.
MySQL Enterprise Edition
• MySQL Database – The most secure and up to date version of MySQL is
used to power the most demanding online, web, cloud and OLTP
applications and services. The MySQL commercial server is a fully
integrated transaction-safe, ACID compliant database with full commit,
rollback, crash- recovery and row level locking capabilities. MySQL is
known for its performance, reliability and ease-of-use across all Linux,
UNIX, Mac OS X, and Windows platforms.
• MySQL Enterprise Backup – MySQL Enterprise Backup performs online,
non-blocking backups of your MySQL databases. Perform full,
incremental, and partial backups for all InnoDB data while MySQL is fully
available for transactional operations. All backup operations are executed
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 20
in parallel for quick results and also support compression options that
reduce the size of backup images by up to 90%. Recovery options include
backward compatible full recovery, precise one-click point-in-time
recovery, and partial recovery for restoring a specific set of objects
• MySQL Enterprise Firewall - Blocks SQL Injection attacks that can result
in loss of valuable personal and financial data. Whitelist creation, real-time
threat monitoring, SQL statement blocking and alerting all enable DBAs to
protect vital data assets. Acting as an intrusion detection system, MySQL
Enterprise Firewall can notify administrators to SQL statement activity that
does not match an approved whitelist.
• MySQL Enterprise Audit - MySQL Enterprise Edition provides an easy to
use, policy-based auditing solution that helps developers implement
stronger security controls and satisfy regulatory compliance without
changes to existing applications.
• MySQL Enterprise Scalability - To meet the sustained performance and
scalability of ever increasing users, query, and data loads--MySQL
Enterprise Edition provides the MySQL Thread Pool. The Enterprise
Thread Pool provides a highly scalable, queue-based thread-handling
model designed to reduce overhead in managing client connections and
statement execution threads.
• MySQL Enterprise Authentication - MySQL Enterprise Edition provides
ready to use external authentication modules so DBAs and developers
can easily integrate MySQL with existing security infrastructures, including
Linux Pluggable Authentication Modules (PAM) and Windows Active
Directory.
• MySQL Enterprise Encryption - To protect sensitive data throughout its
lifecycle, MySQL Enterprise Encryption provides industry standard
functionality for asymmetric encryption (Public Key Cryptography). MySQL
Enterprise Encryption also provides encryption, key generation, digital
signatures and other cryptographic features to help organizations protect
confidential data and comply with regulatory requirements such as HIPAA,
Sarbanes-Oxley, and the PCI Data Security Standard.
• MySQL Enterprise High Availability - MySQL Enterprise Edition offers a
wide range of solutions for database high availability, to automatically
detect and recover from failures--whether these occur at the network,
host, OS or database layer--as well as minimize downtime resulting from
scheduled maintenance activities.
• MySQL Enterprise Monitor and Query Analyzer – Continuously
monitors MySQL databases and proactively alerts DBA to potential
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 21
problems, queries, and tuning opportunities before they impact key
systems or applications. The Monitor provides a set of MySQL expert
advisors that provide insight and detailed guidance on fixing and tuning
MySQL configurations and variables for optimal security, performance and
availability. The built-in, advanced Query Analyzer allows developers to
visually find and tune expensive query code without the need for Slow
Query Log, SHOW PROCESS LIST or other labor intensive methods.
• Oracle Enterprise Manager for MySQL
The Oracle Enterprise Manager for MySQL provides Oracle developers
and DBAs with real-time monitoring and delivers comprehensive
performance, availability and configuration information for your MySQL
databases. In addition to the default MySQL compliance rules, you can
also create custom critical and warning thresholds can for each of the
collected metrics.
• MySQL Workbench – Provides GUI-based data modeling, SQL
development, deployment, database migration and comprehensive
administrative tools (server configuration, user administration, object
management) for database architects, developers, and DBAs.
• Oracle Premier Lifetime Support for MySQL – Provide direct access to
expert MySQL Support engineers who are ready to assist users in the
development, deployment, and management of MySQL applications. The
MySQL Support team is composed of seasoned MySQL developers and
database experts who understand the issues and challenges users face
because they've overcome these same challenges themselves.
Conclusion
MySQL is the most popular and widely used open source database in the world
because of its performance, reliability, and ease of use. MySQL 5.7 builds on this
momentum by providing DBAs and developers with the added performance,
scalability, and across the board improvements needed when building the next
generation of web-based, cloud-based, and embedded applications and services.
These improvements, further demonstrating that Oracle drives MySQL
innovation, make MySQL 5.7 by far the most comprehensive and feature rich
release in our history.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Page 22
Additional Resources
MySQL 5.7 Downloads
http://www.mysql.com/downloads/
MySQL 5.7 Documentation
http://dev.mysql.com/doc/refman/5.7/en/
MySQL Enterprise Edition
http://mysql.com/products/enterprise/
MySQL Customers and Case Studies
http://www.mysql.com/customers
MySQL Professional Services and Consulting
http://mysql.com/consulting/
For more information on Oracle’s MySQL products and services, please visit:
http://www.mysql.com/products/

More Related Content

What's hot

Microsoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 Whitepaper
Microsoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 WhitepaperMicrosoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 Whitepaper
Microsoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 WhitepaperMicrosoft Private Cloud
 
MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0IDG Romania
 
Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Antonios Chatzipavlis
 
MySQL For Oracle Developers
MySQL For Oracle DevelopersMySQL For Oracle Developers
MySQL For Oracle DevelopersRonald Bradford
 
Oracle DB Performance Tuning Tips
Oracle DB Performance Tuning TipsOracle DB Performance Tuning Tips
Oracle DB Performance Tuning TipsAsanka Dilruk
 
Microsoft SQL Server Distributing Data with R2 Bertucci
Microsoft SQL Server Distributing Data with R2 BertucciMicrosoft SQL Server Distributing Data with R2 Bertucci
Microsoft SQL Server Distributing Data with R2 BertucciMark Ginnebaugh
 
Introducing Microsoft SQL Server 2012
Introducing Microsoft SQL Server 2012Introducing Microsoft SQL Server 2012
Introducing Microsoft SQL Server 2012Intergen
 
Microsoft SQL Server Query Tuning
Microsoft SQL Server Query TuningMicrosoft SQL Server Query Tuning
Microsoft SQL Server Query TuningMark Ginnebaugh
 
SQL Server 2016 New Features and Enhancements
SQL Server 2016 New Features and EnhancementsSQL Server 2016 New Features and Enhancements
SQL Server 2016 New Features and EnhancementsJohn Martin
 
Joel Chamberlain Business Intelligence Portfolio
Joel Chamberlain Business Intelligence PortfolioJoel Chamberlain Business Intelligence Portfolio
Joel Chamberlain Business Intelligence Portfoliojwchamb
 
Query Store and live Query Statistics
Query Store and live Query StatisticsQuery Store and live Query Statistics
Query Store and live Query StatisticsSolidQ
 
Data warehousing features in oracle
Data warehousing features in oracleData warehousing features in oracle
Data warehousing features in oracleJinal Shah
 
Summer training oracle
Summer training   oracle Summer training   oracle
Summer training oracle Arshit Rai
 
SQL Server 2000 Research Series - Architecture Overview
SQL Server 2000 Research Series - Architecture OverviewSQL Server 2000 Research Series - Architecture Overview
SQL Server 2000 Research Series - Architecture OverviewJerry Yang
 

What's hot (20)

Microsoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 Whitepaper
Microsoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 WhitepaperMicrosoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 Whitepaper
Microsoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 Whitepaper
 
MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0
 
201 Pdfsam
201 Pdfsam201 Pdfsam
201 Pdfsam
 
81 Pdfsam
81 Pdfsam81 Pdfsam
81 Pdfsam
 
161 Pdfsam
161 Pdfsam161 Pdfsam
161 Pdfsam
 
Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019
 
181 Rac
181 Rac181 Rac
181 Rac
 
MySQL For Oracle Developers
MySQL For Oracle DevelopersMySQL For Oracle Developers
MySQL For Oracle Developers
 
Introduction to Mysql
Introduction to MysqlIntroduction to Mysql
Introduction to Mysql
 
Oracle DB Performance Tuning Tips
Oracle DB Performance Tuning TipsOracle DB Performance Tuning Tips
Oracle DB Performance Tuning Tips
 
Microsoft SQL Server Distributing Data with R2 Bertucci
Microsoft SQL Server Distributing Data with R2 BertucciMicrosoft SQL Server Distributing Data with R2 Bertucci
Microsoft SQL Server Distributing Data with R2 Bertucci
 
Introducing Microsoft SQL Server 2012
Introducing Microsoft SQL Server 2012Introducing Microsoft SQL Server 2012
Introducing Microsoft SQL Server 2012
 
Microsoft SQL Server Query Tuning
Microsoft SQL Server Query TuningMicrosoft SQL Server Query Tuning
Microsoft SQL Server Query Tuning
 
SQL Server 2016 New Features and Enhancements
SQL Server 2016 New Features and EnhancementsSQL Server 2016 New Features and Enhancements
SQL Server 2016 New Features and Enhancements
 
41 Rac
41 Rac41 Rac
41 Rac
 
Joel Chamberlain Business Intelligence Portfolio
Joel Chamberlain Business Intelligence PortfolioJoel Chamberlain Business Intelligence Portfolio
Joel Chamberlain Business Intelligence Portfolio
 
Query Store and live Query Statistics
Query Store and live Query StatisticsQuery Store and live Query Statistics
Query Store and live Query Statistics
 
Data warehousing features in oracle
Data warehousing features in oracleData warehousing features in oracle
Data warehousing features in oracle
 
Summer training oracle
Summer training   oracle Summer training   oracle
Summer training oracle
 
SQL Server 2000 Research Series - Architecture Overview
SQL Server 2000 Research Series - Architecture OverviewSQL Server 2000 Research Series - Architecture Overview
SQL Server 2000 Research Series - Architecture Overview
 

Similar to Whatsnew in-my sql-primary

MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015Mario Beck
 
What's New in MySQL 5.7
What's New in MySQL 5.7What's New in MySQL 5.7
What's New in MySQL 5.7Olivier DASINI
 
Sql server 2008 r2 performance and scale
Sql server 2008 r2 performance and scaleSql server 2008 r2 performance and scale
Sql server 2008 r2 performance and scaleKlaudiia Jacome
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesTarique Saleem
 
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL SupportMysql User Camp
 
My sql performance tuning course
My sql performance tuning courseMy sql performance tuning course
My sql performance tuning courseAlberto Centanni
 
Remote DBA Experts 11g Features
Remote DBA Experts 11g FeaturesRemote DBA Experts 11g Features
Remote DBA Experts 11g FeaturesRemote DBA Experts
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMark Swarbrick
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 Geir Høydalsvik
 
What is SQL Server 2019 Standard Edition
What is SQL Server 2019 Standard EditionWhat is SQL Server 2019 Standard Edition
What is SQL Server 2019 Standard EditionSoftwareDeals
 
Effective Usage of SQL Server 2005 Database Mirroring
Effective Usage of SQL Server 2005 Database MirroringEffective Usage of SQL Server 2005 Database Mirroring
Effective Usage of SQL Server 2005 Database Mirroringwebhostingguy
 
Sql interview question part 7
Sql interview question part 7Sql interview question part 7
Sql interview question part 7kaashiv1
 
MySQL 5.7 - What's new and How to upgrade
MySQL 5.7 - What's new and How to upgradeMySQL 5.7 - What's new and How to upgrade
MySQL 5.7 - What's new and How to upgradeAbel Flórez
 
Migrating database content from sql server to sap hana
Migrating database content from sql server to sap hanaMigrating database content from sql server to sap hana
Migrating database content from sql server to sap hanavenu212
 
MySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats newMySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats newMark Swarbrick
 
MySQL Tech Tour 2015 - Intro
MySQL Tech Tour 2015 - IntroMySQL Tech Tour 2015 - Intro
MySQL Tech Tour 2015 - IntroMark Swarbrick
 
MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15MySQL Brasil
 

Similar to Whatsnew in-my sql-primary (20)

MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
 
What's New in MySQL 5.7
What's New in MySQL 5.7What's New in MySQL 5.7
What's New in MySQL 5.7
 
Sql server 2008 r2 performance and scale
Sql server 2008 r2 performance and scaleSql server 2008 r2 performance and scale
Sql server 2008 r2 performance and scale
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
 
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 
My sql performance tuning course
My sql performance tuning courseMy sql performance tuning course
My sql performance tuning course
 
Remote DBA Experts 11g Features
Remote DBA Experts 11g FeaturesRemote DBA Experts 11g Features
Remote DBA Experts 11g Features
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats new
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
 
What is SQL Server 2019 Standard Edition
What is SQL Server 2019 Standard EditionWhat is SQL Server 2019 Standard Edition
What is SQL Server 2019 Standard Edition
 
Effective Usage of SQL Server 2005 Database Mirroring
Effective Usage of SQL Server 2005 Database MirroringEffective Usage of SQL Server 2005 Database Mirroring
Effective Usage of SQL Server 2005 Database Mirroring
 
Ebook7
Ebook7Ebook7
Ebook7
 
Sql interview question part 7
Sql interview question part 7Sql interview question part 7
Sql interview question part 7
 
Oracle
OracleOracle
Oracle
 
MySQL 5.7 - What's new and How to upgrade
MySQL 5.7 - What's new and How to upgradeMySQL 5.7 - What's new and How to upgrade
MySQL 5.7 - What's new and How to upgrade
 
Mayank Jarsaniya_Resume
Mayank Jarsaniya_ResumeMayank Jarsaniya_Resume
Mayank Jarsaniya_Resume
 
Migrating database content from sql server to sap hana
Migrating database content from sql server to sap hanaMigrating database content from sql server to sap hana
Migrating database content from sql server to sap hana
 
MySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats newMySQL Manchester TT - 5.7 Whats new
MySQL Manchester TT - 5.7 Whats new
 
MySQL Tech Tour 2015 - Intro
MySQL Tech Tour 2015 - IntroMySQL Tech Tour 2015 - Intro
MySQL Tech Tour 2015 - Intro
 
MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15MySQL The State of the Dolphin - jun15
MySQL The State of the Dolphin - jun15
 

More from Kaizenlogcom

Announcements june 12, 2018
Announcements   june 12, 2018Announcements   june 12, 2018
Announcements june 12, 2018Kaizenlogcom
 
4 best practices_using finance applications for better process efficiencies
4  best practices_using finance applications for better process efficiencies4  best practices_using finance applications for better process efficiencies
4 best practices_using finance applications for better process efficienciesKaizenlogcom
 
Infor cloud suite_corporate_ebrochure_english
Infor cloud suite_corporate_ebrochure_englishInfor cloud suite_corporate_ebrochure_english
Infor cloud suite_corporate_ebrochure_englishKaizenlogcom
 
White papers selecting erp for oil and gas industry contractors and vendors
White papers selecting erp for oil and gas industry contractors and vendorsWhite papers selecting erp for oil and gas industry contractors and vendors
White papers selecting erp for oil and gas industry contractors and vendorsKaizenlogcom
 
White papers why and how to achieve global erp
White papers why and how to achieve global erpWhite papers why and how to achieve global erp
White papers why and how to achieve global erpKaizenlogcom
 
White papers selecting erp for performance based logistics contracting
White papers selecting erp for performance based logistics contractingWhite papers selecting erp for performance based logistics contracting
White papers selecting erp for performance based logistics contractingKaizenlogcom
 
You gov case study
You gov case studyYou gov case study
You gov case studyKaizenlogcom
 
Cloud vs on premise guide
Cloud vs on premise guideCloud vs on premise guide
Cloud vs on premise guideKaizenlogcom
 
Cloud investment buyers guide
Cloud investment buyers guideCloud investment buyers guide
Cloud investment buyers guideKaizenlogcom
 
A real time comprehensive view of your business
A real time comprehensive view of your businessA real time comprehensive view of your business
A real time comprehensive view of your businessKaizenlogcom
 
Mysql wp cluster_evalguide
Mysql wp cluster_evalguideMysql wp cluster_evalguide
Mysql wp cluster_evalguideKaizenlogcom
 
Idc analyst report a new breed of servers for digital transformation
Idc analyst report a new breed of servers for digital transformationIdc analyst report a new breed of servers for digital transformation
Idc analyst report a new breed of servers for digital transformationKaizenlogcom
 
Four ways-a-wms-delivers-greater-roi sc-execution-warehouse-mgmt
Four ways-a-wms-delivers-greater-roi sc-execution-warehouse-mgmtFour ways-a-wms-delivers-greater-roi sc-execution-warehouse-mgmt
Four ways-a-wms-delivers-greater-roi sc-execution-warehouse-mgmtKaizenlogcom
 

More from Kaizenlogcom (20)

Announcements june 12, 2018
Announcements   june 12, 2018Announcements   june 12, 2018
Announcements june 12, 2018
 
4 best practices_using finance applications for better process efficiencies
4  best practices_using finance applications for better process efficiencies4  best practices_using finance applications for better process efficiencies
4 best practices_using finance applications for better process efficiencies
 
Infor cloud suite_corporate_ebrochure_english
Infor cloud suite_corporate_ebrochure_englishInfor cloud suite_corporate_ebrochure_english
Infor cloud suite_corporate_ebrochure_english
 
White papers selecting erp for oil and gas industry contractors and vendors
White papers selecting erp for oil and gas industry contractors and vendorsWhite papers selecting erp for oil and gas industry contractors and vendors
White papers selecting erp for oil and gas industry contractors and vendors
 
White papers why and how to achieve global erp
White papers why and how to achieve global erpWhite papers why and how to achieve global erp
White papers why and how to achieve global erp
 
White papers selecting erp for performance based logistics contracting
White papers selecting erp for performance based logistics contractingWhite papers selecting erp for performance based logistics contracting
White papers selecting erp for performance based logistics contracting
 
You gov case study
You gov case studyYou gov case study
You gov case study
 
Cloud vs on premise guide
Cloud vs on premise guideCloud vs on premise guide
Cloud vs on premise guide
 
Cloud investment buyers guide
Cloud investment buyers guideCloud investment buyers guide
Cloud investment buyers guide
 
A real time comprehensive view of your business
A real time comprehensive view of your businessA real time comprehensive view of your business
A real time comprehensive view of your business
 
Spc03570 usen
Spc03570 usenSpc03570 usen
Spc03570 usen
 
Pow03190 usen
Pow03190 usenPow03190 usen
Pow03190 usen
 
Pol03262 usen
Pol03262 usenPol03262 usen
Pol03262 usen
 
Spc03595 usen
Spc03595 usenSpc03595 usen
Spc03595 usen
 
Gbc03182 usen
Gbc03182 usenGbc03182 usen
Gbc03182 usen
 
Spc03563 usen
Spc03563 usenSpc03563 usen
Spc03563 usen
 
Mysql wp cluster_evalguide
Mysql wp cluster_evalguideMysql wp cluster_evalguide
Mysql wp cluster_evalguide
 
Pos03154 usen
Pos03154 usenPos03154 usen
Pos03154 usen
 
Idc analyst report a new breed of servers for digital transformation
Idc analyst report a new breed of servers for digital transformationIdc analyst report a new breed of servers for digital transformation
Idc analyst report a new breed of servers for digital transformation
 
Four ways-a-wms-delivers-greater-roi sc-execution-warehouse-mgmt
Four ways-a-wms-delivers-greater-roi sc-execution-warehouse-mgmtFour ways-a-wms-delivers-greater-roi sc-execution-warehouse-mgmt
Four ways-a-wms-delivers-greater-roi sc-execution-warehouse-mgmt
 

Recently uploaded

2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSINGmarianagonzalez07
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPTBoston Institute of Analytics
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
Heart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectHeart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectBoston Institute of Analytics
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
MK KOMUNIKASI DATA (TI)komdat komdat.docx
MK KOMUNIKASI DATA (TI)komdat komdat.docxMK KOMUNIKASI DATA (TI)komdat komdat.docx
MK KOMUNIKASI DATA (TI)komdat komdat.docxUnduhUnggah1
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degreeyuu sss
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...Boston Institute of Analytics
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfBoston Institute of Analytics
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 

Recently uploaded (20)

2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default  Presentation : Data Analysis Project PPTPredictive Analysis for Loan Default  Presentation : Data Analysis Project PPT
Predictive Analysis for Loan Default Presentation : Data Analysis Project PPT
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
Heart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectHeart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis Project
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
MK KOMUNIKASI DATA (TI)komdat komdat.docx
MK KOMUNIKASI DATA (TI)komdat komdat.docxMK KOMUNIKASI DATA (TI)komdat komdat.docx
MK KOMUNIKASI DATA (TI)komdat komdat.docx
 
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree澳洲中央昆士兰大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdfPredicting Salary Using Data Science: A Comprehensive Analysis.pdf
Predicting Salary Using Data Science: A Comprehensive Analysis.pdf
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 

Whatsnew in-my sql-primary

  • 1. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 1 What’s New in MySQL 5.7 A MySQL White Paper October 2015
  • 2. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 2 Introduction.........................................................................................................3 Performance Improvements ..............................................................................3 3x Faster than MySQL 5.6: SQL Point Selects ............................................................3 Native JSON Support..........................................................................................4 Performance Schema .........................................................................................5 SYS Schema........................................................................................................5 InnoDB Improvements........................................................................................6 InnoDB Online Operations...........................................................................................6 InnoDB General Tablespaces......................................................................................6 InnoDB Transparent Page Level Compression............................................................6 InnoDB Native Partitioning ..........................................................................................7 InnoDB Native Full Text Search ..................................................................................7 InnoDB Cache Retention.............................................................................................8 Optimizer Improvements....................................................................................8 Optimizer Cost Model..................................................................................................9 JSON Explain............................................................................................................10 New and Improved Optimizer Hints ...........................................................................11 Query Rewrite Plugin.................................................................................................11 Generated Columns..........................................................................................11 Server Side Statement Timeouts.....................................................................12 Replication Improvements ...............................................................................12 Multi-Source Replication............................................................................................12 Transaction Based Parallel Replication .....................................................................13 Online Replication Changes ......................................................................................14 Semi-Sync Replication Enhancements......................................................................15 Enhanced Monitoring.................................................................................................15 Group Replication......................................................................................................15 High Availability Improvements.......................................................................16 GIS Improvements ............................................................................................17 GeoJSON..................................................................................................................17 GeoHash...................................................................................................................17 Spatial Aware Client Tools ........................................................................................17 Security Improvements ....................................................................................18 AES 256 Encryption ..................................................................................................18 Password Rotation Policies .......................................................................................19 MySQL Secure Installation ........................................................................................19 MySQL Enterprise Edition................................................................................19 Conclusion ........................................................................................................21 Additional Resources .......................................................................................22
  • 3. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 3 Introduction MySQL is the most trusted and depended-on open source database platform in use today. 9 out of the top 10 most popular and highly-trafficked websites in the world rely on MySQL primarily due to its ubiquity across heterogeneous platforms and application stacks and for its proven performance, reliability, and ease of use. MySQL 5.7 builds on this momentum by delivering across the board improvements designed to enable innovative DBAs and Developers to create and deploy the next generation of web, embedded, and Cloud/SaaS/PaaS/DBaaS applications on the latest generation of development frameworks and hardware platforms. This paper serves as a DBA and Developer guide to MySQL 5.7 as it highlights the key new features. To conclude, there is a summary of how MySQL 5.7 can be implemented using best practices comprising production-ready support and services of the MySQL Enterprise Edition offering. Performance Improvements MySQL 5.7 delivers significant performance improvements on all workloads and sets new benchmark records. 3x Faster than MySQL 5.6: SQL Point Selects MySQL 5.7 delivers 1,600,000 Queries/Second in the Point Select query benchmark, 3x faster than MySQL 5.6.
  • 4. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 4 For context, the benchmark shown above was run on the following platform configuration: Intel(R) Xeon(R) CPU E7-8890 v3 4 sockets x 18 cores-HT (144 CPU threads) 2.5 Ghz, 512GB RAM Linux kernel 3.16 For more information on the MySQL 5.7 benchmarks, visit: http://www.mysql.com/why-mysql/benchmarks/ The SysBench benchmark tool is freely available for application use-case specific benchmarks and can be downloaded here: http://dev.mysql.com/downloads/benchmarks.html Native JSON Support In MySQL 5.7 a new data type for storing JSON data in MySQL tables has been added. Having a native data type for JSON provides some major benefits: • Document Validation - Only valid JSON documents can be stored in a JSON column, so you get automatic validation of your data. Efficient Access - More importantly, when you store a JSON document in a JSON column, it is not stored as a plain text value. Instead, it is stored in an optimized binary format that allows for quicker access to object members and array elements. Performance - Improve your query performance by creating indexes on values within the JSON columns. This can be achieved with “functional indexes” on virtual columns. Convenience - The additional inline syntax for JSON columns makes it very natural to integrate Document queries within your SQL. For example (features.feature is a JSON column): SELECT feature->"$.properties.STREET" AS property_street FROM features WHERE id = 121254; With MySQL 5.7, you can now seamlessly blend the best of the Relational and Document paradigms in a single tool, using whatever is best for each specific application and use case. This opens up a tremendous number of new use cases for MySQL users. For more information: - Native JSON Data Type and Binary Format - JSON Functions, Part 1 - Manipulation JSON Data - JSON Functions, Part 2 – Querying JSON Data - Virtual Columns and Effective Functional Indexes in InnoDB - JSON Manual
  • 5. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 5 Performance Schema Monitoring is important to our users and customers, and essential to any data management system. At the core of our monitoring strategy we have Performance Schema. The Performance Schema enhancements to MySQL 5.7 include numerous new monitoring capabilities, reduced footprint and overhead, and significantly improved ease of use with the new SYS Schema. On the monitoring side, we have instrumented: Metadata Locking - critical to understand metadata lock dependencies between sessions. Stage Tracking - follow the progress of long running operations (e.g. ALTER TABLE). Transactions - monitor all aspects of transaction processing within the server and storage engines. Memory Usage - aggregates memory usage statistics to understand and tune the memory consumption of a server. Stored Programs – instrumentation for stored procedures, stored functions, events scheduler events and table triggers. Prepared Statements - Provide aggregated statistics by prepared statements and expose prepared statements in use by the server. We have exposed SHOW SLAVE STATUS information and user variables in Performance Schema. We also expose the GLOBAL and SESSION level STATUS and VARIABLES while preserving the corresponding SHOW STATUS and SHOW VARIABLES commands for backward compatibility. For more information: - Performance Schema Reference Manual - Performance Schema and SYS Schema in MySQL 5.7 - Performance Schema Overview & New Features SYS Schema MySQL SYS Schema is a database schema with a set of objects (views, stored procedures, stored functions, tables, and triggers) that were implemented to give easy, readable, DBA and Developer based use case access to the wealth of instrumentation data available primarily within Performance Schema, but also within various INFORMATION_SCHEMA tables as well. MySQL SYS Schema is included in the MySQL 5.7 Server by default and provides summary views to answers common questions, like: “Who is taking up all the resources on my database server?” “Which hosts are hitting my database server those most?”
  • 6. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 6 “Where is all the memory going on my instance? For more information: - The MySQL SYS Schema in MySQL 5.7 - Performance Schema and SYS Schema in MySQL 5.7 - MySQL SYS Schema Version 1.5.0 Released InnoDB Improvements InnoDB Online Operations MySQL 5.7 supports additional online operations for developers and DBAs that need to manage MySQL in production environments. The biggest feature we have added in this space is the ability to resize your InnoDB Buffer Pool online. Now you can adjust your Buffer Pool size dynamically in order to adapt to changing needs without restarting MySQL. InnoDB can also now automatically truncate the InnoDB UNDO log and tablespaces as an online operation, thus eliminating one common cause of large shared tablespace files (ibdata1). Lastly, we have added support for online RENAME INDEX and enlarge VARCHAR column size operations. For more information: - Truncate Undo Tablespace - Innodb Buffer Pool Online Resize - Innodb Overview of Online DDL InnoDB General Tablespaces You can now group schemas and tables together into logical and physical tablespaces, thus improving resource utilization and providing an easy and efficient way to do data migrations in various cases (e.g. using a dedicated tablespace per customer/user). For more information: - InnoDB General Tablespaces InnoDB Transparent Page Level Compression InnoDB has supported table compression since MySQL 5.1. InnoDB Page Level Compression--the idea originally introduced by FusionIO (now part of SanDisk)-- is a new feature in MySQL 5.7 and it complements the existing InnoDB table compression, allowing them to coexist in the same server instance. Users can now choose the compression scheme that makes the most sense for their use case, even on a table-by-table basis.
  • 7. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 7 Supported compression algorithms include Zlib and LZ4. When a page is written, it is compressed using the specified compression algorithm. The compressed data is written to disk, where the hole punching mechanism then releases empty blocks from the end of the page. If compression fails, data is written out as-is. InnoDB now also supports 32K and 64K page sizes, which is a nice complement to the page level compression. In general, larger page sizes will typically increase the amount of redundant data and thus improve the potential compression ratios. All of the above work, when also combined with the new support in 5.7 for a user configurable fill factor and page merge thresholds, allow InnoDB to make the best use of your storage space. For more information: - InnoDB Transparent Page Compression - InnoDB Supporting Page Sizes of 32k and 64k InnoDB Native Partitioning In MySQL 5.7 InnoDB now contains native support for partitioning. The InnoDB native partitioning removes overhead and reduces memory requirements by up to 90%. This work also paves the way for us to both remove existing limitations on partitioned tables, as well as add new features such as global indexes and parallel query execution. For more information: - InnoDB Native Partitioning InnoDB Native Full Text Search We introduced InnoDB Full Text Search in 5.6. We have now added greater flexibility and further optimizations in MySQL 5.7. For example, FullText indexes in InnoDB now support an external parser. The plugin can either replace the built-in parser or it can act as a front-end for it. We have also implemented Optimizer hints that are passed down to InnoDB about a query so that InnoDB may skip part of the Full-Text search processing, e.g. not to compute the ranking values if they are not needed. As of MySQL 5.7.6, MySQL also provides a built-in full-text N-gram parser plugin that supports Chinese, Japanese, and Korean (CJK), as well as an installable MeCab full-text parser plugin for Japanese. For more information: - InnoDB Supports Full-Text Plugin Parser
  • 8. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 8 - MySQL Full-Text Plugins - InnoDB Full-Text N-gram Parser - InnoDB MeCab Full-Text Parser Plugin InnoDB Cache Retention InnoDB now automatically retains the hottest 25% of your buffer pool across MySQL restarts. No longer do you need to use any manual process to preload or warm your data cache, nor do you suffer the associated performance penalty when a restart of MySQL is required. For more information: - InnoDB Preload Buffer Pool - MySQL Dumping and Reloading the InnoDB Buffer Pool Optimizer Improvements We have refactored the MySQL optimizer and as a result, large parts of the parser, optimizer, and cost model have been rewritten to improve maintainability, extendibility, and performance. New MySQL Parser
  • 9. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 9 New MySQL Optimizer Optimizer Cost Model To generate optimal execution plans, the optimizer uses a cost model that is based on estimates for the costs of various operations that occur during query execution. The optimizer has historically relied on a set of compiled-in default “cost constants” to make execution plan decisions. In MySQL 5.7, the cost based optimizer has been improved to make dynamic, intelligent, and ultimately better cost based decisions. For example, better cost estimates take into account new hardware architectures (larger buffers & caches, SSDs, etc.). Better cost estimates will lead to better decisions by the optimizer and thus better query performance. The MySQL 5.7 optimizer includes a configurable database of cost estimates to use during execution plan construction. These estimates are stored in the server_cost and engine_cost tables within the mysql system database. For more information: - The MySQL Optimizer Cost Model Project - Optimizer Cost Model Manual - Optimizer Cost Model Presentation
  • 10. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 10 JSON Explain We have enhanced the JSON EXPLAIN output by printing the related cost estimates, and the estimated amount of data to be processed. This will make it easier for a DBA to see the critical differences between execution plans. Explain Costs For more information: - Optimizer Cost Model Improvements in MySQL 5.7.5 DMR - Explain Output Manual Workbench Visual Explain These new insights also allow for clients to provide additional visual representations of this data. The new Visual Explain functionality in MySQL Workbench is a great example.
  • 11. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 11 For more information: - MySQL EXPLAIN Explained New and Improved Optimizer Hints We have added parser rules to support a new hint syntax for optimizer hints. Hints can now be specified directly after the SELECT, INSERT, REPLACE, UPDATE, and DELETE keywords in an SQL statement, enclosed in /*+ */ style comments. Not only does this provide the end-user with a more consistent, powerful, and easy-to-use method of managing hints, but the internal refactoring done makes it far easier to add Server side support for additional hints moving forward. For example, we have added many new index and join related hints in MySQL 5.7. For more information: - New Optimizer Hints in MySQL - Optimizer Hints Manual Query Rewrite Plugin MySQL 5.7 implements a Query Rewrite Plugin. The Query Rewrite Plugin allows you to specify how certain queries that arrive at the server should be rewritten before they are processed and executed by the server. For example, the Query Rewrite Plugin can enforce/prevent a certain query plan by adding hints to a query. The Query Rewrite Plugin is a superb tool for handling problematic queries when you cannot rewrite the query within the application itself, e.g. because it originates from an external tool (like an Object Relational Mapping tool such as Hibernate) or from some other 3rd party application. As part of this work, we’ve also created two APIs that can be used to write custom Query Rewrite Plugins. For more information: - Query Rewrite Plugins - Write Yourself a Query Rewrite Plugin Part 1 - Write Yourself a Query Rewrite Plugin Part 2 Generated Columns Generated or “Computed” Columns are virtual columns that are not physically stored in the table, unless the column is explicitly defined as STORED. This offers a convenient way to cache the results of commonly used expressions, and offer what’s often referred to as “functional indexes” or “function based indexes”.
  • 12. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 12 It also makes it convenient and efficient to mix dynamic schema-less data within your relational tables and SQL, for example when using JSON Documents. For more information: - Generated Columns in MySQL 5.7.5 - Create Table Manual Server Side Statement Timeouts This brings users the ability to set query timeout limits at the global level, on a per-session basis, and for individual queries. For example: SELECT /*+ MAX_EXECUTION_TIME(1000) */ * FROM my_table; For more information: - Server Side SELECT Statement Timeouts Replication Improvements Multi-Source Replication MySQL Multi-Source Replication enables a replication slave to receive transactions from multiple sources simultaneously. Multi-source replication can be used to: Consolidate data from multiple servers to a single server Back up multiple servers to a single server Merge table shards
  • 13. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 13 The monitoring interfaces now provide details for each replication channel, and we have also introduced new performance_schema tables to easily monitor your entire multi-source replication topology. For more information: - Introducing Multi-Source Replication - Multi-Source Replication Manual Transaction Based Parallel Replication MySQL 5.7 adds intra-schema multi-threaded slaves. With this implementation (slave-parallel-type=LOGICAL-CLOCK) the slave will be able to apply transactions in parallel, even within a single database or schema, as long as they have a disjoint read and write set. This work allows the slave to keep up with the master, thus eliminating the most common cause of “slave lag”.
  • 14. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 14 For more information: - MySQL 5.7 Enhanced MTS: configuring slave for Intra-database parallelization Online Replication Changes You can now enable Global Transaction ID based replication as an online operation, allowing you to take advantage of next generation replication features without incurring downtime in your MySQL production environments. You can also change replication filters online now, providing a variety of ways to configure data replication within your MySQL farm, and finally you can perform master failover operations (CHANGE MASTER) without stopping replication execution on slaves. 0% 50% 100% 150% 200% 250% 1 8 24 48 Slave Threads Slave throughput vs. 96 Thread Master
  • 15. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 15 For more information: - Replication Enable GTIDs Online - Enabling GTIDs Without Downtime - Change Replication Filter Semi-Sync Replication Enhancements The Semi-Sync replication plugin has improved semantics that provide better performance and reliability. For more information: - Loss-Less Semi-Sync Replication Enhanced Monitoring In addition to the legacy SHOW commands, we have added a variety of new Performance Schema tables that offer unprecedented insights into what is happening and how things are performing. This allows you to easily ensure that your replication topology is healthy and performing well, while also providing the information needed to debug any issues that may occur. For more information: - Performance Schema Replication Tables Group Replication This work brings native active/active write anywhere replication clusters to MySQL. You can now choose a mix of appropriate replication models based on your specific needs: asynchronous, semi-synchronous, and (virtually) synchronous (Group Replication).
  • 16. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 16 Group Replication takes care of membership, consistency, and other management related functions without the need for manual intervention or custom tooling. Easy High Availability for MySQL has arrived! For more information: - MySQL Group Replication: Hello World - MySQL Goup Replication Blog Posts - State of Group Replication Presentation High Availability Improvements Support for tracking session transaction state offers better support for load balancing across nodes in a cluster. Server version tokens offer better support for caching in distributed systems. A new data migration tool--mysqlpump--improves data migration and sharding operations between nodes (e.g. shard rebalancing). Improved Replication options in HA groups • Improved slave performance with logical clock based parallelization • Loss-less Semi-Sync Replication plugin supporting multi-node acks • Synchronous replication (Group Replication plugin) For more information: - MySQL Session Tracking - MySQL Version Tokens - Introducing mysqlpump
  • 17. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 17 GIS Improvements We have seen tremendous growth in mobile applications and the need for location based services. To address these needs, MySQL 5.7 includes significant GIS improvements. New & Improved Spatial Extensions MySQL 5.7 replaces the legacy code used for geometry computations with an external library, namely Boost.Geometry. Boost.Geometry is a powerful, reliable, open source geometric engine with an active and vibrant development community that we are actively engaged in. We have two of the lead Boost.Geometry developers in-house, and we happily contribute our code back to the upstream project. The end result of all this is that we have a better performing, more fully featured, reliable, and standards compliant MySQL GIS. InnoDB Spatial Indexes Furthermore, InnoDB now supports Spatial Indexes (implemented as R-Tree indexes). This makes any spatial search far more efficient, while adding the transactional support, MVCC, and ACID guarantees that Enterprises need today. GeoJSON In recent years, GeoJSON has become a popular data format for exchanging GIS data due the fact that it’s easy to read, it’s simple, and it’s lightweight. In MySQL 5.7 we have added support for parsing and generating GeoJSON documents via two new functions: ST_GeomFromGeoJson() and ST_AsGeoJson(). These functions make it easy to connect MySQL with other GeoJSON enabled software and services, such as the Google Maps Javascript API. GeoHash In MySQL 5.7 we introduced new functions for encoding and decoding Geohash data. Geohash is a well known system for encoding and decoding longitude and latitude coordinates (in the WGS 84 coordinate system) into a text string. Spatial Aware Client Tools Our popular graphical client tool, MySQL Workbench, now includes a new Spatial Viewer. This is automatically presented as a viewing option when GEOMETRY columns are detected in the results. We’ve also now incorporated valid spatial data in the Sakila sample database (the address.location column) to make it easy and convenient to test out the new GIS work.
  • 18. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 18 MySQL Workbench provides visual tools for developing GIS applications For more information: - MySQL 5.7 and GIS, an Example - GeoJSON Functions - Geohash Functions - Spatial Extensions Manual Security Improvements MySQL 5.7 adds “secure by default” installations, as well as many features that help users keep their database instances free from unintended use. This includes better data encryption, better password handling, better transport layer security, and more. AES 256 Encryption MySQL supports multiple AES Encryption modes. We have enhanced the security strength of our Advanced Encryption Standard (AES) encryption/decryption functions—AES_ENCRYPT() and AES_DECRYPT()—by adding support for larger key sizes and different block modes.
  • 19. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 19 Password Rotation Policies MySQL enables database administrators to expire account passwords manually, and to establish a policy for automatic password expiration. Any user who connects to the server using an account for which the password is past its permitted lifetime must change the password. For more information: - Password Expiration Policy in MySQL Server 5.7 MySQL Secure Installation mysql_secure_installation enables you to improve the security of your MySQL installation in the following ways: • You can set a password for root accounts. • You can remove root accounts that are accessible from outside the local host. • You can remove anonymous-user accounts. • You can remove the test database (which by default can be accessed by all users, even anonymous users). MySQL deployments installed using mysqld --initialize are secure by default. • The installation process creates only a single root account, 'root'@'localhost', automatically generates a random password for this account, and marks the password expired. The MySQL administrator must connect as root using the random password and assign a new password. • Installation creates no anonymous user accounts. • Installation creates no test database. MySQL Enterprise Edition • MySQL Database – The most secure and up to date version of MySQL is used to power the most demanding online, web, cloud and OLTP applications and services. The MySQL commercial server is a fully integrated transaction-safe, ACID compliant database with full commit, rollback, crash- recovery and row level locking capabilities. MySQL is known for its performance, reliability and ease-of-use across all Linux, UNIX, Mac OS X, and Windows platforms. • MySQL Enterprise Backup – MySQL Enterprise Backup performs online, non-blocking backups of your MySQL databases. Perform full, incremental, and partial backups for all InnoDB data while MySQL is fully available for transactional operations. All backup operations are executed
  • 20. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 20 in parallel for quick results and also support compression options that reduce the size of backup images by up to 90%. Recovery options include backward compatible full recovery, precise one-click point-in-time recovery, and partial recovery for restoring a specific set of objects • MySQL Enterprise Firewall - Blocks SQL Injection attacks that can result in loss of valuable personal and financial data. Whitelist creation, real-time threat monitoring, SQL statement blocking and alerting all enable DBAs to protect vital data assets. Acting as an intrusion detection system, MySQL Enterprise Firewall can notify administrators to SQL statement activity that does not match an approved whitelist. • MySQL Enterprise Audit - MySQL Enterprise Edition provides an easy to use, policy-based auditing solution that helps developers implement stronger security controls and satisfy regulatory compliance without changes to existing applications. • MySQL Enterprise Scalability - To meet the sustained performance and scalability of ever increasing users, query, and data loads--MySQL Enterprise Edition provides the MySQL Thread Pool. The Enterprise Thread Pool provides a highly scalable, queue-based thread-handling model designed to reduce overhead in managing client connections and statement execution threads. • MySQL Enterprise Authentication - MySQL Enterprise Edition provides ready to use external authentication modules so DBAs and developers can easily integrate MySQL with existing security infrastructures, including Linux Pluggable Authentication Modules (PAM) and Windows Active Directory. • MySQL Enterprise Encryption - To protect sensitive data throughout its lifecycle, MySQL Enterprise Encryption provides industry standard functionality for asymmetric encryption (Public Key Cryptography). MySQL Enterprise Encryption also provides encryption, key generation, digital signatures and other cryptographic features to help organizations protect confidential data and comply with regulatory requirements such as HIPAA, Sarbanes-Oxley, and the PCI Data Security Standard. • MySQL Enterprise High Availability - MySQL Enterprise Edition offers a wide range of solutions for database high availability, to automatically detect and recover from failures--whether these occur at the network, host, OS or database layer--as well as minimize downtime resulting from scheduled maintenance activities. • MySQL Enterprise Monitor and Query Analyzer – Continuously monitors MySQL databases and proactively alerts DBA to potential
  • 21. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 21 problems, queries, and tuning opportunities before they impact key systems or applications. The Monitor provides a set of MySQL expert advisors that provide insight and detailed guidance on fixing and tuning MySQL configurations and variables for optimal security, performance and availability. The built-in, advanced Query Analyzer allows developers to visually find and tune expensive query code without the need for Slow Query Log, SHOW PROCESS LIST or other labor intensive methods. • Oracle Enterprise Manager for MySQL The Oracle Enterprise Manager for MySQL provides Oracle developers and DBAs with real-time monitoring and delivers comprehensive performance, availability and configuration information for your MySQL databases. In addition to the default MySQL compliance rules, you can also create custom critical and warning thresholds can for each of the collected metrics. • MySQL Workbench – Provides GUI-based data modeling, SQL development, deployment, database migration and comprehensive administrative tools (server configuration, user administration, object management) for database architects, developers, and DBAs. • Oracle Premier Lifetime Support for MySQL – Provide direct access to expert MySQL Support engineers who are ready to assist users in the development, deployment, and management of MySQL applications. The MySQL Support team is composed of seasoned MySQL developers and database experts who understand the issues and challenges users face because they've overcome these same challenges themselves. Conclusion MySQL is the most popular and widely used open source database in the world because of its performance, reliability, and ease of use. MySQL 5.7 builds on this momentum by providing DBAs and developers with the added performance, scalability, and across the board improvements needed when building the next generation of web-based, cloud-based, and embedded applications and services. These improvements, further demonstrating that Oracle drives MySQL innovation, make MySQL 5.7 by far the most comprehensive and feature rich release in our history.
  • 22. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Page 22 Additional Resources MySQL 5.7 Downloads http://www.mysql.com/downloads/ MySQL 5.7 Documentation http://dev.mysql.com/doc/refman/5.7/en/ MySQL Enterprise Edition http://mysql.com/products/enterprise/ MySQL Customers and Case Studies http://www.mysql.com/customers MySQL Professional Services and Consulting http://mysql.com/consulting/ For more information on Oracle’s MySQL products and services, please visit: http://www.mysql.com/products/