Percona Server 5.6
Enterprise-Grade MySQL
Laurynas
Biveinis
2014-04-04
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
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
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
History of Percona Server Releases 5
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
History of Percona Server Releases 6
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
History of Percona Server Releases 7
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
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
Percona Server for Enterprise: Scaling 9
XtraDB
Cluster
Node
XtraDB
Cluster
Node
XtraDB
Cluster
Node
Percona XtraDB Cluster
Galera Replication
Library
Percona XtraDB Cluster
Percona Server
Percona Server for Enterprise: Scaling 10
Percona
Server
Application reads Application writes
Percona Server for Enterprise: Scaling 11
Percona
Server
Application reads Application writes
Percona
Server
Percona
Server
Percona Server for Enterprise: Scaling 12
XtraDB
Cluster
Node
Application reads Application writes
XtraDB
Cluster
Node
XtraDB
Cluster
Node
Percona Server for Enterprise: Thread Pool 13
• 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
Percona Server for Enterprise: Thread Pool 14
Percona Server for Enterprise: Security 15
• PAM plugin for external auth
• An alternative to the corresponding
plugin in MySQL EE
• Developed jointly with MariaDB
• http://bit.ly/pspam
Percona Server for Enterprise: Security 16
Percona
Server
mysql.user
table
Percona Server for Enterprise: Security 17
Percona
Server
mysql.user
table
PAM plugin
LDAP
/etc/passwd
/etc/shadow
Percona Server for DBAs 18
• 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
Percona Server for Cloud/DBaaS 19
• For users:
– A database server!
• For DBAs:
– Utility user, storage engine
enforcement, server variable limits,
...
Percona Server Performance 20
• What is performance?
– Raw performance
●
Average TPS, average latency, etc
– Stable performance
●
High raw performance is no good if
5% of queries timeout!
Percona Server Performance 21
Percona Server Performance Stability 22
• Stable performance has always
been important to Percona
• Let's review 5.5 briefly
• http://bit.ly/ps55ssd
Percona Server Performance Stability 23
Percona Server Performance Stability 24
• Now, on to 5.6
• http://bit.ly/ps56stable
Percona Server Performance 25
Percona Server 26
• 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

Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014

  • 1.
    Percona Server 5.6 Enterprise-GradeMySQL Laurynas Biveinis 2014-04-04
  • 2.
    Agenda • What isPercona 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
  • 3.
    What is PerconaServer • 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
  • 4.
    History of PerconaServer 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
  • 5.
    History of PerconaServer Releases 5 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
  • 6.
    History of PerconaServer Releases 6 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
  • 7.
    History of PerconaServer Releases 7 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
  • 8.
    Percona Server forEnterprise: 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
  • 9.
    Percona Server forEnterprise: Scaling 9 XtraDB Cluster Node XtraDB Cluster Node XtraDB Cluster Node Percona XtraDB Cluster Galera Replication Library Percona XtraDB Cluster Percona Server
  • 10.
    Percona Server forEnterprise: Scaling 10 Percona Server Application reads Application writes
  • 11.
    Percona Server forEnterprise: Scaling 11 Percona Server Application reads Application writes Percona Server Percona Server
  • 12.
    Percona Server forEnterprise: Scaling 12 XtraDB Cluster Node Application reads Application writes XtraDB Cluster Node XtraDB Cluster Node
  • 13.
    Percona Server forEnterprise: Thread Pool 13 • 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
  • 14.
    Percona Server forEnterprise: Thread Pool 14
  • 15.
    Percona Server forEnterprise: Security 15 • PAM plugin for external auth • An alternative to the corresponding plugin in MySQL EE • Developed jointly with MariaDB • http://bit.ly/pspam
  • 16.
    Percona Server forEnterprise: Security 16 Percona Server mysql.user table
  • 17.
    Percona Server forEnterprise: Security 17 Percona Server mysql.user table PAM plugin LDAP /etc/passwd /etc/shadow
  • 18.
    Percona Server forDBAs 18 • 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
  • 19.
    Percona Server forCloud/DBaaS 19 • For users: – A database server! • For DBAs: – Utility user, storage engine enforcement, server variable limits, ...
  • 20.
    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!
  • 21.
  • 22.
    Percona Server PerformanceStability 22 • Stable performance has always been important to Percona • Let's review 5.5 briefly • http://bit.ly/ps55ssd
  • 23.
  • 24.
    Percona Server PerformanceStability 24 • Now, on to 5.6 • http://bit.ly/ps56stable
  • 25.
  • 26.
    Percona Server 26 •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