Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

26
Percona Server 5.6 Enterprise-Grade MySQL Laurynas Biveinis 2014-04-04

description

Percona Live 2014 presentation https://www.percona.com/live/mysql-conference-2014/sessions/percona-server-56-enterprise-grade-mysql

Transcript of Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Page 1: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server 5.6Enterprise-Grade MySQL

Laurynas Biveinis2014-04-04

Page 2: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Agenda

• What is Percona Server• History of Percona Server releases• Percona Server 5.6 as MySQL EE

– Backups, HA, performance, security

• Percona Server for DBAs and cloud

• Percona Server performance

2

Page 3: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

What is Percona Server

• An enhanced, free drop-in for MySQL– MySQL: same features.– Enhanced: additional bugfixes and features.– Free / open source.– Drop-in.

● Little to none work to update your applications● Percona's committment to follow MySQL releases

– XtraDB: enhanced InnoDB– How do we decide what features to add?

3

Page 4: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

History of Percona Server Releases

● Current: 5.1, 5.5, and 5.6 series following Oracle release series

● The following pages will show release dates for first releases for a minor version number

● Percona might make more releases than that: e.g. 5.6.16-64.0, 5.6.16-64.1

4

Page 5: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

History of Percona Server Releases5

MySQL Percona Server Days

5.1.68 2013-02-05 2013-03-14 37

5.1.69 2013-04-18 2013-06-10 53

5.1.70 2013-06-03 2013-07-03 30

5.1.71 2013-08-01 2013-08-27 26

5.1.72 2013-09-20 2013-10-28 38

5.1.73 2013-12-03 2013-12-20 17

Average: 33.5

Page 6: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

History of Percona Server Releases6

MySQL Percona Server Days

5.5.30 2013-02-05 2013-03-07 30

5.5.31 2013-04-18 2013-05-24 36

5.5.32 2013-06-03 2013-07-02 29

5.5.33 2013-07-31 2013-08-27 27

5.5.34 2013-09-20 2013-10-28 38

5.5.35 2013-12-03 2013-12-20 17

5.5.36 2014-01-31 2014-03-10 38

Average: 30.7

Page 7: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

History of Percona Server Releases7

MySQL Percona Server Days

5.6.10 2013-02-05

5.6.13 2013-07-31 2013-10-07 68

5.6.14 2013-09-20 2013-10-24 34

5.6.15 2013-12-03 2013-12-19 16

5.6.16 2014-01-31 2014-03-10 38

Average: 39.0

Page 8: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for Enterprise: Backups

• Percona XtraBackup: hot online backups• Percona XtraBackup + Percona Server

– Unlocks extra backup features– Not available with MySQL– Fast incremental backups

● http://bit.ly/psbmpdoc– Backups that block the server less

● http://bit.ly/psbpklocks

8

Page 9: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for Enterprise: Scaling9

XtraDBClusterNode

XtraDBClusterNode

XtraDBClusterNode

Percona XtraDB Cluster

Galera Replication Library

Percona XtraDB Cluster

Percona Server

Page 10: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for Enterprise: Scaling10

PerconaServer

Application reads Application writes

Page 11: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for Enterprise: Scaling11

PerconaServer

Application reads Application writes

PerconaServer

PerconaServer

Page 12: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for Enterprise: Scaling12

XtraDBClusterNode

Application reads Application writes

XtraDBClusterNode

XtraDBClusterNode

Page 13: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for Enterprise: Thread Pool13

• Insurance against traffic spikes• An alternative to the corresponding plugin in

MySQL EE• Originated at MariaDB• Improved at Percona• http://bit.ly/pstp1, http://bit.ly/pstpool2,

http://bit.ly/pstpool3

Page 14: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for Enterprise: Thread Pool14

Page 15: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for Enterprise: Security15

• PAM plugin for external auth• An alternative to the corresponding

plugin in MySQL EE• Developed jointly with MariaDB• http://bit.ly/pspam

Page 16: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for Enterprise: Security16

PerconaServer

mysql.usertable

Page 17: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for Enterprise: Security17

PerconaServer

mysql.usertable

PAM plugin

LDAP /etc/passwd/etc/shadow

Page 18: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for DBAs18

• Extended slow query log and user statistics– Complements or replaces

PERFORMANCE_SCHEMA

• Extended InnoDB/XtraDB diagnostics

• http://bit.ly/psdiag1, http://bit.ly/psdiag2, http://bit.ly/psdiag3

Page 19: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server for Cloud/DBaaS19

• For users:– A database server!

• For DBAs:

– Utility user, storage engine enforcement, server variable limits, ...

Page 20: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server Performance20

• What is performance?– Raw performance

● Average TPS, average latency, etc– Stable performance

● High raw performance is no good if 5% of queries timeout!

Page 21: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server Performance21

Page 22: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server Performance Stability22

• Stable performance has always been important to Percona

• Let's review 5.5 briefly• http://bit.ly/ps55ssd

Page 23: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server Performance Stability23

Page 24: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server Performance Stability24

• Now, on to 5.6• http://bit.ly/ps56stable

Page 25: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server Performance25

Page 26: Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

Percona Server26

• Enhanced MySQL drop-in replacement– With MySQL EE features

• Integrates with the rest of Percona software

– Upgrade path for scale-out– Backup features

• Numerous features not mentioned before

• Better performance

• Makes life easier for DBAs