mysql ecosystem overview - percona · rocksdb storage engine by facebook • lsm based storage...

27
Peter Zaitsev May 9, 2016 MySQL Ecosystem Overview

Upload: others

Post on 21-May-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Peter ZaitsevMay 9, 2016

MySQL Ecosystem Overview

About Percona

We Exist to help you to succeed with MySQL and MongoDB

2

Support Broad Ecosystem

Percona Server for

MySQLMySQL MariaDB

AWS for MySQL and

Aurora

MongoDBPercona

Server for MongoDB

Google CloudSQL

3

Percona Software – 100% Open Source

Percona Server for MySQL

Percona Server for MongoDB

Percona XtraDB Cluster

Percona Xtrabackup

Percona Toolkit Percona

Monitoring and Management

4

Services

• Support

• More than Support (Percona Care)

• Managed Services (Percona Care Ultimate)

• Consulting

5

Company

Almost 10 years in Business

150 staff members

25+ Countries

3000+ Customers

Bootstrapped, Employee Owned

6

Today – The Overview Day!

• Updates on MySQL, MariaDB, Percona Server

• What’s new in MySQL 5.7

• Tablespace Encryption and MySQL Document Store

• Facebook’s LSM Based Storage engine RocksDB

• New In HA and Clustering

• Proxies - MaxScale,ProxySQL, MySQL Router

• MySQL Monitoring

7

MySQL, MariaDB, Percona Server

8

Updates from MySQL Team

• Next MySQL is MySQL 8 not 5.8

• New Development Model with features in “rapid plugins”

• Data Dictionary and Atomic DDLs

• No more MyISAM in system Tables

• Window functions and Common Table Expressions (CTE)

• Additional Optimizer Improvements

MariaDB

• Continue to drift from MySQL in functionality

• MariaDB Columnstore announced

• Data At Rest Encryption

• MariaDB 10.2 available as Alpha

• Window Functions Supported

10

Percona Server

• Percona Server 5.7 Released

• MySQL Enterprise features in Open Source

• Column Level Compression

• Continuing work on Performance with demanding workloads

• Further improvements to TokuDB storage engine

11

AliSQL

• MySQL Branch developed by Alibaba

• Not intended for general public use, as WebScaleSQL

• Some features being implemented in MariaDB and PerconaServer

• Optimizations for Hot Rows

• “FlashBack”

12

MySQL 5.7

13

MySQL 5.7 highlights

• Further Innodb Scalability Improvements

• Multi Source Replication

• Better Parallel Replication

• Native JSON support with Indexing

• GIS with Innodb

• Performance Schema improvements

• “Secure by Default”

MySQL 5.7 Performance Improvements Sysbench Benchmark

*Information from Oracle OpenWorld presentation by Geir Hoydalsvik

Starts with 8 ThreadsWhat about 2-4 threads?

15

Vadim Tests MySQL 5.7 Performance

• http://bit.ly/24AWShM

Innodb Table Encryption

• Added as “Rapid Plugin” in MySQL 5.7.11

• Only Tables are encrypted at this point

• Supports Key rotation

• Integration with Oracle’s Key management in “Enterprise”

• Master Key encryption is server_id dependent

• Support added in next release of Percona Xtrabackup

17

MySQL Document Store and “Plugin X”

• Full frontal assault on MongoDB

• Added as Rapid Plugin with MySQL 5.7.12

• New Protocol w Pipelining and Async IO

• Support for SQL and CRUD at the same time

• New MySQL shell with Javascript support

• NOT completely following MongoDB protocol but following the spirit

18

Other Topics

19

RocksDB Storage Engine by Facebook

• LSM Based storage engine Facebook is developing in house

• Write Optimized

• High Compression

• SSD Friendly

• Facebook quoted 9B queries/sec hits RocksDB now

• Available as MongoDB Storage engine in Percona Server for MongoDB

• Work is ongoing on MyRocks – MySQL Storage Engine

20

New in MySQL HA and Clustering

• Codership talks about Galera 4 but no code released yet

• MySQL Group Replication GA expected next 12 months

• The Orchestrator by Shlomi as great tool to manage MySQL Replication

• Percona working on PXC 5.7

• Focus on Stability; Performance; Ease of Use

21

Proxies

• Getting a lot of attention recently !

• MariaDB Maxscale got application of the year award

• ProxySQL is another one favored by many experts

• MySQL Router is basic but a lot of promise

• Use Cases: Smart HA, Read Write Splitting, Sharding, Connection Pooling

22

Proxy Overhead

Note Variance

For MaxScale

23

Monitoring – Commercial and SaaS

• Monyog

• SolarWinds

• SeveralNines

• MySQL Enterprise Monitor

• VividCortex

24

Open Source monitoring with PMM

• Percona Monitoring and Management

• Currently in Beta

• 100% Open Source

• Use on Premises and in the Cloud

• Based on Grafana + Prometheus

• Demo: http://pmmdemo.percona.com

• Get Yours: http://bit.ly/GetPMM

25

Want More ?

Speaker Slides + Voice available for most

slides from Percona Live this year!

26

Thank you!

[email protected]

https://www.linkedin.com/in/peterzaitsev

https://twitter.com/peterzaitsev

27