Professional Documents
Culture Documents
Whats New in Mysql 5.7 Geir Høydalsvik, Sr. Director, Mysql Engineering
Whats New in Mysql 5.7 Geir Høydalsvik, Sr. Director, Mysql Engineering
Whats New in Mysql 5.7 Geir Høydalsvik, Sr. Director, Mysql Engineering
7
Geir Hydalsvik, Sr. Director, MySQL Engineering
Simon Mudd, Senior DBA, Booking.com
Copyright 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda
First Geir will talk about Features
Highlights of 5.7 Improvements and Additions
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
Compression
Leverages new advanced Operating File System capabilities
Improves performance, saves space
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
Simpler to Manage
More instruments, Easy access to data using SYS schema
More Secure
By default and more options to secure the server
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
1,600,000 QPS
1 600 000
MySQL 5.7
1 400 000
1 200 000
1 000 000
MySQL 5.6
800 000
600 000
400 000
200 000
MySQL 5.5
0
8
16
32
64
128
Connections
256
512
1 024
Near 1M QPS
1 000 000
MySQL 5.7
800 000
600 000
MySQL 5.6
400 000
200 000
MySQL 5.5
0
8
16
32
64
128
Connections
256
512
1 024
Connect / sec
100 000
MySQL 5.7
80 000
MySQL 5.6
60 000
40 000
MySQL 5.5
20 000
0
8
16
32
64
128
Connections
256
512
1 024
600 000
MySQL 5.7
500 000
400 000
MySQL 5.6
300 000
200 000
MySQL 5.5
100 000
0
8
16
32
64
128
Connections
256
512
1 024
JSON Comparator
Allows for easy integration of Document data within your SQL queries
10
11
12
Statement Instrumentation
Additional Information
Aggregates statistics by
Stored Procedures
Stored Functions
Prepared Statements
Attributes include
Memory used (bytes)
Operation counts
High/Low Water Marks
Transactions
13
SYS is similar to
- Oracle V$ catalog views
- Microsoft SQL DMVs (Dynamic Mgmnt Views)
14
GeoHash
GeoJSON
Helper functions such as ST_Distance_Sphere() and ST_MakeEnvelope()
Copyright 2015, Oracle and/or its affiliates. All rights reserved. |
15
Configurable fill-factor
Allows for improvements in storage footprint
16
SSL
Enabled by default
Auto-detection of existing keys and certs
Auto generation of keys and certs when needed
New helper utility: mysql_ssl_rsa_setup
New --require_secure_transport option to
prevent insecure communications
Added SSL support to binary log clients
17
GTID enhancements
On-line, phased deployment of GTIDs
Binary logging on slave now optional
Multi-Source Replication
Consolidate updates from multiple Masters
into one Slave
150%
100%
50%
0%
1
24
48
Slave Threads
18
19
About Booking.com
Booking.com is part of the Priceline Group
We Use MySQL:
20
21
22
23
Slave
N
24
MySQL 5.7
Slave
1
Slave
2
Slave
N
Upgrade slaves
Copyright 2015, Oracle and/or its affiliates. All rights reserved. |
25
26
Master
2. Move application
writes to 5.7
master
Intermediate
Master
MySQL 5.7
Slave 1
MySQL 5.7
Slave 2
MySQL 5.7
Slave 3
MySQL 5.7
Slave N
MySQL 5.7
27
With Cloud infrastructure it is easy to build a spare & test for a few hours
As you continue testing MySQL 5.7
You control the rate of progress of deploying 5.7 slaves
Easy to back out until right at the end (with 5.7 intermediate master)
No application downtime except for the final move when you write to the
new 5.7 master.
Copyright 2015, Oracle and/or its affiliates. All rights reserved. |
28
log_syslog
innodb_buffer_pool_dump_pct
show_compatibility_56
29
Procedures need to be MySQL version aware (new disable accounts vs old change
password)
New ALTER USER is replication safe, but cant use on master until all servers run 5.7
Improve monitoring
Add more checks
Collect 5.7 specific metrics from performance_schema / sys
Replication
Memory usage
Locks
30
Now 5.7 is GA we are in a good state to start to roll out more aggressively
Copyright 2015, Oracle and/or its affiliates. All rights reserved. |
31
Join us!
Copyright 2015, Oracle and/or its affiliates. All rights reserved. |
32
Oracle Sessions
Today, Tues Oct 27
CON3716 - InnoDB: What's new in 5.7
Sunny Bains | Room 254 at 4.00 pm
CON5097 - An Overview Of The New Replication Features in MySQL 5.7 and Beyond!
Luis Soares | Room 254 at 5:15 pm
CON4043 - MySQL Performance: Demystified Tuning & Best Practices - Dimitri Kravtchuk
33
Oracle Sessions
Tomorrow, Weds 0ct 28
CON3379 - MySQL 5.7: What is new in optimizer?
Manyi Lu | Room 262 at 12.15 pm
CON2174 - MySQL: Support Virtual Column and Effective Functional Index in InnoDB
Jimmy Yang 245 | Room 262 at 2.45 pm
34
Oracle Sessions
Thurs Oct 29
CON5349 - Update Everywhere With MySQL Group Replication
Nuno Carvalho | Room 250 at 9.30 am
35
Booking.com Sessions
CON4098 - Binlog Servers at Booking.com
Jean-Francois Gagne | Room 250 Tuesday at 4.00 pm
36
Keynotes
Conferences Sessions
Birds-of-a-feather sessions
Tutorials
Hands-on Labs
Demos
Receptions & Customer Appreciation Event
Access to Oracle OpenWorld Extensive Content
Copyright 2015, Oracle and/or its affiliates. All rights reserved. |
37