SlideShare a Scribd company logo
December 5, 2017
Introducing ClusterControl 1.5
With MariaDB 10.2 support … and more!
Johan Andersson, CTO Severalnines
Presenter
johan@severalnines.com
Copyright 2017 Severalnines AB
I'm Jean-JΓ©rΓ΄me from the Severalnines Team and
I'm your host for today's webinar!
Feel free to ask any questions in the Questions
section of this application or via the Chat box.
You can also contact me directly via the chat box
or via email: jj@severalnines.com during or after
the webinar.
Your host & some logistics
Copyright 2017 Severalnines AB
Copyright 2017 Severalnines AB
About Severalnines and ClusterControl
Copyright 2017 Severalnines AB
What we do
Manage Scale
MonitorDeploy
Copyright 2017 Severalnines AB
Provisioning
Deploy a cluster in minutes
On-premises or in the cloud (AWS)
Monitoring
Systems view
1sec resolution
DB / OS stats & performance advisors
Configurable dashboards
Query Analyzer
Real-time / historical
ClusterControl Automation & Management
Management
Multi cluster/data-center
Automate repair/recovery
Database upgrades
Backups
Configuration management
Cloning
One-click scaling
Copyright 2017 Severalnines AB
Supported Databases
Copyright 2017 Severalnines AB
Customers
Copyright 2017 Severalnines AB
Copyright 2017 Severalnines AB
MariaDB 10.2
Ralf Gebhardt, Product Manager MariaDB
Presenter
ralf.gebhardt@mariadb.com
MariaDB TX 2.0
Overview
Ralf Gebhardt
MariaDB TX 2.0
MariaDB
Services
Remote
Administration
Enterprise
Architecture
Migration
Management
Technical
Support
MariaDB
Tools
MariaDB
Admin
MariaDB
Monitor
MariaDB
Backup
MariaDB
Notifications
Pluggable Storage
Replication
MariaDB Server
Pluggable Storage
Replication
MariaDB Server
Pluggable Storage
Replication
MariaDB Server
MariaDB Cluster
MariaDB Connectors
MariaDB MaxScale (Proxy)
Failover Sharding Streaming Caching
Security Routing
Transaction Platform
Enterprise
Reliability
High Availability
Disaster Recovery
Scalability
Performance
Security
Open Development
Extensible Architecture
Community Collaboration
Flexible Data Model
Streaming Integration
Community
Innovation
MariaDB TX 2.0
What’s new in MariaDB Server 10.2
SQL Completeness
Common Table Expressions
Helps make complex queries easier to read and maintain
by breaking them down into simpler building blocks
Window Functions
Helps eliminate expensive subqueries and self-joins,
improving query performance, and helps make queries
easier to read
JSON and GeoJSON functions
Helps developers read and write native JSON documents
using SQL functions. GeoJSON functions transfer spatial
data types to/from JSON
Window function example
SELECT depname, empno, salary, avg(salary)
OVER (PARTITION BY depname) FROM empsalary;
With CTEs and Window functions as well as JSON
functions, MariaDB Server delivers comprehensive
SQL that can handle multiple data models
depname empno salary avg
Engineering 11 5200 4700
Engineering 8 4200 4700
HR 9 6000 5000
HR 5 4000 5000
Sales 2 7000 5500
Sales 4 4000 5500
Schema Compatibility
Check constraints
Helps a DBA to enforce data consistency on the database
server level without the need to implement triggers
Multiple triggers
of the same type (BEFORE, AFTER)
can be created per table
Decimal point
Increased decimal point from 30 to 38 . A requirement
especially in Finance.
Check constraints example
Schema compatibility features allow
MariaDB Server to be a practical alternative
to legacy enterprise databases
CREATE TABLE jsontable (
id INTEGER NOT NULL PRIMARY KEY
AUTO_INCREMENT,
jsonfield VARCHAR(1024),
category VARCHAR(20) as
(JSON_VALUE(jsonfield,'$.category')),
KEY jsonkey (category),
CHECK (JSON_VALID(jsonfield)));
Performance and Scalability
Indexes for virtual columns
With supporting indexes, virtual columns can be used
efficiently for searching on computed columns, like for
JSON attributes.
MyRocks
β€’ Storage Engine developed by Facebook as a more
efficient alternative to InnoDB, based on RocksDB
β€’ 2x better compression, 10x less write amplification,
faster replication, faster data loading
MariaDB MaxScale Query Cache
Helps improve the performance of repeat queries by
caching the results within the proxy, either in memory
or on disk (2.8x performance improvement)
Indexed virtual Columns, new storage
engine and enhanced database proxy for a
high performance and scalable database
Database Size
Test Iteration (1 hour/iteration)
Size(GB)
InnoDB
(uncompressed)
InnoDB
(compressed)
MyRocks
(compressed)
Security
Data Masking
Helps meet HIPAA/PCI requirements by masking
sensitive data on a per-column, per-user basis
Binary Log based Rollback
Helps DBAs recovery faster (minutes instead of
hours) by rolling back recent transactions based on a
point in time rather than restoring data from a backup,
can apply to specific tables or the entire database
Data masking example
Tighter security with the most capable
database firewall for data masking, DoS
protection
SELECT name, ssn FROM
tbl_customers WHERE id = 100;
name ssn
-------------------------------
Shane Johnson XXX-XX-XXXX
Recovery and Replication
Compressed Replication
Helps to reduce binary log size and network traffic
Delay between Master and Slave
A delay between master and slave can be configured on
the slave and will be enforced by the replication sql
threads.
Binary Log based Rollback
Helps DBAs recovery faster (minutes instead of
hours) by rolling back recent transactions based on a
point in time rather than restoring data from a backup,
can apply to specific tables or the entire database
Data masking example
Enhanced replication options for the most
used read scaling solution and fast disaster
recovery
CHANGE MASTER TO
master_delay=3600;
Future
MariaDB Server 10.3
Overview MariaDB Server 10.3
Temporal Data processing
β€’ System Versioned Tables include timestamped
version of the data in a table.
Database Compatibility Enhancements
β€’ PL/SQL compatibility parser
β€’ PL/SQL style packages
β€’ Sequences
β€’ INTERSECT and EXCEPT to complement UNION
β€’ Invisible Columns
β€’ New ROW type and type of for stored functions
Performance
β€’ ADD INSTANT COLUMN for InnoDB
β€’ Statement based lock wait timeouts
Flexibility
β€’ User defined aggregate functions
β€’ Compressed Columns
β€’ Proxy protocol support
Scalability
β€’ Spider storage engine updated to the latest release
Removed limitations
β€’ DELETE statement can delete from the table that
is used in a subquery in the WHERE clause
β€’ UPDATE statements can use same source and
target
Thank you
Copyright 2017 Severalnines AB
Copyright 2017 Severalnines AB
About ClusterControl
ClusterControl Platform
Copyright 2017 Severalnines AB
ClusterControl
CC Clients
Notifications
Email
PagerDuty
VictorOps
OpsGenie
Slack
TeleGram
Webhooks
Web UI
S9s CLI
JSON RPC
Support
24/7
KeepAlived
HAProxy ProxySQL MaxScale
Galera
MariaDb
Percona
Replication
MariaDb
Percona
MongoDb
MongoDb Inc
Percona
PostgreSql
PgSQL
Codership
Cloud
Backup
What Problems do we Address?
Copyright 2017 Severalnines AB
Deploy
Deploy MySQL, Postgres or MongoDB - single
instances or entire clusters
Monitor
Get a unified view of all clusters across all your
datacenters
Scale
Add/remove nodes, resize instances & clone
your production clusters
Manage
Automatically repair & recover broken nodes
or clusters. Test & automate upgrades
Deployment Features in ClusterControl
Copyright 2017 Severalnines AB
● Each Cluster can be deployed and existing Clusters can be imported.
● Web UI
β—‹ Deployment Wizard
● CLI
β—‹ Allows easy integration with e.g Ansible
s9s cluster
--create
--cluster-type=galera
--nodes='10.10.10.26;10.10.10.27;10.10.10.28'
--vendor=percona
--cluster-name=PXC_CENTOS7
--provider-version=5.7
--os-user=vagrant --wait
● Supports multiple NICs and templated
configurations.
Monitoring Features in ClusterControl
Copyright 2017 Severalnines AB
● Database specific stats and Health status
β—‹ Graphs and Dashboards
● Host statistics
β—‹ E.g Predictive disk space usage monitoring
● Query Monitoring
β—‹ E.g Top Queries, Outlier detection
● Advisors
β—‹ Developer Studio with JS like syntax
● Notifications
β—‹ Email, Pagerduty, VictorOps etc
● Operational Reports
Management Features in ClusterControl
Copyright 2017 Severalnines AB
● Availability
β—‹ Node/Cluster Recovery
● Backup and Restore
β—‹ MySQL: mysqldump, xtrabackup
β—‹ Postgres: pg_dump, pg_basebackup
β—‹ MongoDb: Mongdump, MongoDb
Consistent Backup
● Configuration
● Upgrades
● Loadbalancer
β—‹ HAProxy, ProxySQL, MaxScale
β—‹ KeepAlived
Scaling Features in ClusterControl
Copyright 2017 Severalnines AB
● Horizontal Scaling
β—‹ Add / Remove Nodes
● Load Balancers are
updated automatically
Load Balancer Load Balancer Load Balancer Load Balancer
Load Balancer Load Balancer Load Balancer
Copyright 2017 Severalnines AB
Copyright 2017 Severalnines AB
ClusterControl 1.5
Support for New Technologies
Copyright 2017 Severalnines AB
MySQL Cluster (NDB)
v7.5 support
MariaDB v10.2 support
(Galera and MySQL Replication)
PostgreSQL v10
support
Improved Cloud Services
Copyright 2017 Severalnines AB
● Cloud Services
(AWS S3 and Google Cloud
Storage)
β—‹ Manual upload or schedule
backups to be uploaded after
completion to the cloud.
β—‹ Download and restore backups
from a cloud storage.
New Backup Features for MySQL
Copyright 2017 Severalnines AB
● Backups (MySQL)
β—‹ Backup individual databases separately
(mysqldump only).
β—‹ Upload, download and restore backups stored
in the cloud.
β—‹ Trigger a verification and restore of a backup
after N hours of completion.
β—‹ Rebuild a replication slave by staging it from
an existing backup.
β—‹ Add a new replication slave by staging it from
an existing backup.
Improved PostgreSQL Support
Copyright 2017 Severalnines AB
● PostgreSQL
β—‹ New backup method pg_basebackup
which makes a binary copy of the
database files.
β—‹ Synchronous replication failover
(support for
synchronous_standby_names).
β—‹ Support for HAProxy with Keepalived.
β—‹ Support for PostgreSql 10.
Improved ProxySQL Support
Copyright 2017 Severalnines AB
● ProxySQL
β—‹ Mass import existing database users into ProxySQL.
β—‹ Add and modify scheduler scripts.
Other New Features
Copyright 2017 Severalnines AB
● Further Highlights
β—‹ Added support to show and filter DB status variables for MongoDB
nodes.
β—‹ HTML formatted alarm and digest emails.
β—‹ Multiple NICs supports when deploying Load balancers (HAProxy).
β—‹ Continuous improvements to UX/UI and performance.
β—‹ New cmon-cloud process and clud client to handle cloud services.
β—‹ New Report: Database Growth
Copyright 2017 Severalnines AB
Copyright 2017 Severalnines AB
ClusterControl DEMO
Copyright 2017 Severalnines AB
Copyright 2017 Severalnines AB
Q&A
End of Year Promotion
Get Three Months
Free with an
Annual Contract
Our Best
Offer
Ever!Just Sign By December 31st!
Additional Resources
Copyright 2017 Severalnines AB
● ClusterControl 1.5 release announcement
● Download ClusterControl
● ClusterControl for MariaDB 10.2
● End of year promotion: get 3 additional months free if
you sign up for annual ClusterControl subscriptions by
December 31st 2017: sales@severalnines.com

More Related Content

PDF
How MariaDB is approaching DBaaS
PDF
The Future of Postgres Sharding / Bruce Momjian (PostgreSQL)
Β 
PDF
Cisco: Cassandra adoption on Cisco UCS & OpenStack
PPTX
How we switched to columnar at SpendHQ
PDF
[SSA] 03.newsql database (2014.02.05)
PPTX
How to power microservices with MariaDB
PDF
Open Source fΓΌr den geschΓ€ftskritischen Einsatz
PDF
Data Migration Between MongoDB and Oracle
How MariaDB is approaching DBaaS
The Future of Postgres Sharding / Bruce Momjian (PostgreSQL)
Β 
Cisco: Cassandra adoption on Cisco UCS & OpenStack
How we switched to columnar at SpendHQ
[SSA] 03.newsql database (2014.02.05)
How to power microservices with MariaDB
Open Source fΓΌr den geschΓ€ftskritischen Einsatz
Data Migration Between MongoDB and Oracle

What's hot (17)

PDF
Configuring workload-based storage and topologies
PDF
Argus Production Monitoring at Salesforce
PPTX
In Search of Database Nirvana: Challenges of Delivering HTAP
PPTX
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
PPTX
ClustrixDB: how distributed databases scale out
PDF
Aerospike: The Enterprise Class NoSQL Database for Real-Time Applications
PDF
Cisco UCS Integrated Infrastructure for Big Data with Cassandra
PDF
Getting started in the cloud for developers
PDF
Shift: Real World Migration from MongoDB to Cassandra
PPTX
Webinar: Dyn + DataStax - helping companies deliver exceptional end-user expe...
PPTX
Real-Time Analytics in Transactional Applications by Brian Bulkowski
PDF
Cassandra in e-commerce
PPTX
A tour of Amazon Redshift
PDF
Webinar: Faster Big Data Analytics with MongoDB
PDF
Clustered Columnstore - Deep Dive
PPTX
NoSQL on MySQL - MySQL Document Store by Vadim Tkachenko
PPTX
Image Recognition on Streaming Data
Configuring workload-based storage and topologies
Argus Production Monitoring at Salesforce
In Search of Database Nirvana: Challenges of Delivering HTAP
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
ClustrixDB: how distributed databases scale out
Aerospike: The Enterprise Class NoSQL Database for Real-Time Applications
Cisco UCS Integrated Infrastructure for Big Data with Cassandra
Getting started in the cloud for developers
Shift: Real World Migration from MongoDB to Cassandra
Webinar: Dyn + DataStax - helping companies deliver exceptional end-user expe...
Real-Time Analytics in Transactional Applications by Brian Bulkowski
Cassandra in e-commerce
A tour of Amazon Redshift
Webinar: Faster Big Data Analytics with MongoDB
Clustered Columnstore - Deep Dive
NoSQL on MySQL - MySQL Document Store by Vadim Tkachenko
Image Recognition on Streaming Data
Ad

Similar to Webinar slides: Severalnines & MariaDB present: Automation & Management of MariaDB 10.2 with the new ClusterControl 1.5 (20)

PDF
Introduction of MariaDB AX / TX
PPTX
How SQL Server 2016 SP1 Changes the Game
PDF
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
PDF
MariaDB Berlin Roadshow Slides - 8 April 2025
PPTX
MongoDB 3.4 webinar
PPTX
SQL Server 2016 new features
PPTX
Tips to drive maria db cluster performance for nextcloud
PDF
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
PDF
OSS DB on Azure
PPTX
What's new in SQL Server 2016
PDF
Die Neuheiten in MariaDB Enterprise Server
PDF
Azure Databases for PostgreSQL, MySQL and MariaDB
PDF
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
PPTX
Azure SQL Database Managed Instance
PPTX
How to Leverage ApsaraDB to Deploy Business Data on the Cloud
PPTX
Leveraging ApsaraDB to Deploy Business Data on the Cloud
PDF
SQL Server database engine 2017 enhancements
PPT
Fudcon talk.ppt
PDF
SQL Server 2016 novelties
PPTX
What’s new in SQL Server 2017
Introduction of MariaDB AX / TX
How SQL Server 2016 SP1 Changes the Game
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
MariaDB Berlin Roadshow Slides - 8 April 2025
MongoDB 3.4 webinar
SQL Server 2016 new features
Tips to drive maria db cluster performance for nextcloud
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
OSS DB on Azure
What's new in SQL Server 2016
Die Neuheiten in MariaDB Enterprise Server
Azure Databases for PostgreSQL, MySQL and MariaDB
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
Azure SQL Database Managed Instance
How to Leverage ApsaraDB to Deploy Business Data on the Cloud
Leveraging ApsaraDB to Deploy Business Data on the Cloud
SQL Server database engine 2017 enhancements
Fudcon talk.ppt
SQL Server 2016 novelties
What’s new in SQL Server 2017
Ad

More from Severalnines (20)

PDF
The Long Term Cost of Managed DBaaS vs Sovereign DBaaS
PPTX
Sovereign DBaaS_ A Practical Vision for Self-Implementation of DBaaS.pptx
PDF
PostgreSQL on AWS Aurora/Azure Cosmos VS EC2/Azure VMs
PDF
Localhost Conference 2024_ Building a Flexible and Scalable Database Strategy...
PDF
SREDAY London 2024 | Cloud Native Technologies: The Building Blocks of Modern...
PDF
Building a Sovereign DBaaS on K8s OpenInfra Summit Asia 2024.pdf
PDF
S-DBaaS Community Call | Introduction to Sovereign DBaaS: The why, what and how
PDF
WEBINAR SLIDES: CCX for Cloud Service Providers
PPTX
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
PDF
Kubernetes at Scale: Going Multi-Cluster with Istio
PDF
DIY DBaaS: A guide to building your own full-featured DBaaS
PDF
Cloud's future runs through Sovereign DBaaS
PPTX
Working with the Moodle Database: The Basics
PPTX
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
PDF
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
PDF
Webinar slides: How to Migrate from Oracle DB to MariaDB
PDF
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
PDF
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
PDF
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
PPTX
Disaster Recovery Planning for MySQL & MariaDB
The Long Term Cost of Managed DBaaS vs Sovereign DBaaS
Sovereign DBaaS_ A Practical Vision for Self-Implementation of DBaaS.pptx
PostgreSQL on AWS Aurora/Azure Cosmos VS EC2/Azure VMs
Localhost Conference 2024_ Building a Flexible and Scalable Database Strategy...
SREDAY London 2024 | Cloud Native Technologies: The Building Blocks of Modern...
Building a Sovereign DBaaS on K8s OpenInfra Summit Asia 2024.pdf
S-DBaaS Community Call | Introduction to Sovereign DBaaS: The why, what and how
WEBINAR SLIDES: CCX for Cloud Service Providers
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
Kubernetes at Scale: Going Multi-Cluster with Istio
DIY DBaaS: A guide to building your own full-featured DBaaS
Cloud's future runs through Sovereign DBaaS
Working with the Moodle Database: The Basics
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
Webinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Disaster Recovery Planning for MySQL & MariaDB

Recently uploaded (20)

PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PDF
Testing WebRTC applications at scale.pdf
PDF
Sims 4 Historia para lo sims 4 para jugar
PPT
tcp ip networks nd ip layering assotred slides
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PDF
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
PPTX
SAP Ariba Sourcing PPT for learning material
PDF
The Internet -By the Numbers, Sri Lanka Edition
Β 
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
Β 
PDF
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
Β 
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
Introduction to Information and Communication Technology
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
Decoding a Decade: 10 Years of Applied CTI Discipline
introduction about ICD -10 & ICD-11 ppt.pptx
Testing WebRTC applications at scale.pdf
Sims 4 Historia para lo sims 4 para jugar
tcp ip networks nd ip layering assotred slides
Job_Card_System_Styled_lorem_ipsum_.pptx
The New Creative Director: How AI Tools for Social Media Content Creation Are...
πŸ’° π”πŠπ“πˆ πŠπ„πŒπ„ππ€ππ†π€π πŠπˆππ„π‘πŸ’πƒ π‡π€π‘πˆ 𝐈𝐍𝐈 πŸπŸŽπŸπŸ“ πŸ’°
Β 
SAP Ariba Sourcing PPT for learning material
The Internet -By the Numbers, Sri Lanka Edition
Β 
Paper PDF World Game (s) Great Redesign.pdf
RPKI Status Update, presented by Makito Lay at IDNOG 10
Β 
How to Ensure Data Integrity During Shopify Migration_ Best Practices for Sec...
WebRTC in SignalWire - troubleshooting media negotiation
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
Β 
Introuction about ICD -10 and ICD-11 PPT.pptx
international classification of diseases ICD-10 review PPT.pptx
Introduction to Information and Communication Technology
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)

Webinar slides: Severalnines & MariaDB present: Automation & Management of MariaDB 10.2 with the new ClusterControl 1.5

  • 1. December 5, 2017 Introducing ClusterControl 1.5 With MariaDB 10.2 support … and more! Johan Andersson, CTO Severalnines Presenter johan@severalnines.com
  • 2. Copyright 2017 Severalnines AB I'm Jean-JΓ©rΓ΄me from the Severalnines Team and I'm your host for today's webinar! Feel free to ask any questions in the Questions section of this application or via the Chat box. You can also contact me directly via the chat box or via email: jj@severalnines.com during or after the webinar. Your host & some logistics
  • 3. Copyright 2017 Severalnines AB Copyright 2017 Severalnines AB About Severalnines and ClusterControl
  • 4. Copyright 2017 Severalnines AB What we do Manage Scale MonitorDeploy
  • 5. Copyright 2017 Severalnines AB Provisioning Deploy a cluster in minutes On-premises or in the cloud (AWS) Monitoring Systems view 1sec resolution DB / OS stats & performance advisors Configurable dashboards Query Analyzer Real-time / historical ClusterControl Automation & Management Management Multi cluster/data-center Automate repair/recovery Database upgrades Backups Configuration management Cloning One-click scaling
  • 6. Copyright 2017 Severalnines AB Supported Databases
  • 8. Copyright 2017 Severalnines AB Copyright 2017 Severalnines AB MariaDB 10.2 Ralf Gebhardt, Product Manager MariaDB Presenter ralf.gebhardt@mariadb.com
  • 10. MariaDB TX 2.0 MariaDB Services Remote Administration Enterprise Architecture Migration Management Technical Support MariaDB Tools MariaDB Admin MariaDB Monitor MariaDB Backup MariaDB Notifications Pluggable Storage Replication MariaDB Server Pluggable Storage Replication MariaDB Server Pluggable Storage Replication MariaDB Server MariaDB Cluster MariaDB Connectors MariaDB MaxScale (Proxy) Failover Sharding Streaming Caching Security Routing Transaction Platform
  • 11. Enterprise Reliability High Availability Disaster Recovery Scalability Performance Security Open Development Extensible Architecture Community Collaboration Flexible Data Model Streaming Integration Community Innovation
  • 12. MariaDB TX 2.0 What’s new in MariaDB Server 10.2
  • 13. SQL Completeness Common Table Expressions Helps make complex queries easier to read and maintain by breaking them down into simpler building blocks Window Functions Helps eliminate expensive subqueries and self-joins, improving query performance, and helps make queries easier to read JSON and GeoJSON functions Helps developers read and write native JSON documents using SQL functions. GeoJSON functions transfer spatial data types to/from JSON Window function example SELECT depname, empno, salary, avg(salary) OVER (PARTITION BY depname) FROM empsalary; With CTEs and Window functions as well as JSON functions, MariaDB Server delivers comprehensive SQL that can handle multiple data models depname empno salary avg Engineering 11 5200 4700 Engineering 8 4200 4700 HR 9 6000 5000 HR 5 4000 5000 Sales 2 7000 5500 Sales 4 4000 5500
  • 14. Schema Compatibility Check constraints Helps a DBA to enforce data consistency on the database server level without the need to implement triggers Multiple triggers of the same type (BEFORE, AFTER) can be created per table Decimal point Increased decimal point from 30 to 38 . A requirement especially in Finance. Check constraints example Schema compatibility features allow MariaDB Server to be a practical alternative to legacy enterprise databases CREATE TABLE jsontable ( id INTEGER NOT NULL PRIMARY KEY AUTO_INCREMENT, jsonfield VARCHAR(1024), category VARCHAR(20) as (JSON_VALUE(jsonfield,'$.category')), KEY jsonkey (category), CHECK (JSON_VALID(jsonfield)));
  • 15. Performance and Scalability Indexes for virtual columns With supporting indexes, virtual columns can be used efficiently for searching on computed columns, like for JSON attributes. MyRocks β€’ Storage Engine developed by Facebook as a more efficient alternative to InnoDB, based on RocksDB β€’ 2x better compression, 10x less write amplification, faster replication, faster data loading MariaDB MaxScale Query Cache Helps improve the performance of repeat queries by caching the results within the proxy, either in memory or on disk (2.8x performance improvement) Indexed virtual Columns, new storage engine and enhanced database proxy for a high performance and scalable database Database Size Test Iteration (1 hour/iteration) Size(GB) InnoDB (uncompressed) InnoDB (compressed) MyRocks (compressed)
  • 16. Security Data Masking Helps meet HIPAA/PCI requirements by masking sensitive data on a per-column, per-user basis Binary Log based Rollback Helps DBAs recovery faster (minutes instead of hours) by rolling back recent transactions based on a point in time rather than restoring data from a backup, can apply to specific tables or the entire database Data masking example Tighter security with the most capable database firewall for data masking, DoS protection SELECT name, ssn FROM tbl_customers WHERE id = 100; name ssn ------------------------------- Shane Johnson XXX-XX-XXXX
  • 17. Recovery and Replication Compressed Replication Helps to reduce binary log size and network traffic Delay between Master and Slave A delay between master and slave can be configured on the slave and will be enforced by the replication sql threads. Binary Log based Rollback Helps DBAs recovery faster (minutes instead of hours) by rolling back recent transactions based on a point in time rather than restoring data from a backup, can apply to specific tables or the entire database Data masking example Enhanced replication options for the most used read scaling solution and fast disaster recovery CHANGE MASTER TO master_delay=3600;
  • 19. Overview MariaDB Server 10.3 Temporal Data processing β€’ System Versioned Tables include timestamped version of the data in a table. Database Compatibility Enhancements β€’ PL/SQL compatibility parser β€’ PL/SQL style packages β€’ Sequences β€’ INTERSECT and EXCEPT to complement UNION β€’ Invisible Columns β€’ New ROW type and type of for stored functions Performance β€’ ADD INSTANT COLUMN for InnoDB β€’ Statement based lock wait timeouts Flexibility β€’ User defined aggregate functions β€’ Compressed Columns β€’ Proxy protocol support Scalability β€’ Spider storage engine updated to the latest release Removed limitations β€’ DELETE statement can delete from the table that is used in a subquery in the WHERE clause β€’ UPDATE statements can use same source and target
  • 21. Copyright 2017 Severalnines AB Copyright 2017 Severalnines AB About ClusterControl
  • 22. ClusterControl Platform Copyright 2017 Severalnines AB ClusterControl CC Clients Notifications Email PagerDuty VictorOps OpsGenie Slack TeleGram Webhooks Web UI S9s CLI JSON RPC Support 24/7 KeepAlived HAProxy ProxySQL MaxScale Galera MariaDb Percona Replication MariaDb Percona MongoDb MongoDb Inc Percona PostgreSql PgSQL Codership Cloud Backup
  • 23. What Problems do we Address? Copyright 2017 Severalnines AB Deploy Deploy MySQL, Postgres or MongoDB - single instances or entire clusters Monitor Get a unified view of all clusters across all your datacenters Scale Add/remove nodes, resize instances & clone your production clusters Manage Automatically repair & recover broken nodes or clusters. Test & automate upgrades
  • 24. Deployment Features in ClusterControl Copyright 2017 Severalnines AB ● Each Cluster can be deployed and existing Clusters can be imported. ● Web UI β—‹ Deployment Wizard ● CLI β—‹ Allows easy integration with e.g Ansible s9s cluster --create --cluster-type=galera --nodes='10.10.10.26;10.10.10.27;10.10.10.28' --vendor=percona --cluster-name=PXC_CENTOS7 --provider-version=5.7 --os-user=vagrant --wait ● Supports multiple NICs and templated configurations.
  • 25. Monitoring Features in ClusterControl Copyright 2017 Severalnines AB ● Database specific stats and Health status β—‹ Graphs and Dashboards ● Host statistics β—‹ E.g Predictive disk space usage monitoring ● Query Monitoring β—‹ E.g Top Queries, Outlier detection ● Advisors β—‹ Developer Studio with JS like syntax ● Notifications β—‹ Email, Pagerduty, VictorOps etc ● Operational Reports
  • 26. Management Features in ClusterControl Copyright 2017 Severalnines AB ● Availability β—‹ Node/Cluster Recovery ● Backup and Restore β—‹ MySQL: mysqldump, xtrabackup β—‹ Postgres: pg_dump, pg_basebackup β—‹ MongoDb: Mongdump, MongoDb Consistent Backup ● Configuration ● Upgrades ● Loadbalancer β—‹ HAProxy, ProxySQL, MaxScale β—‹ KeepAlived
  • 27. Scaling Features in ClusterControl Copyright 2017 Severalnines AB ● Horizontal Scaling β—‹ Add / Remove Nodes ● Load Balancers are updated automatically Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer Load Balancer
  • 28. Copyright 2017 Severalnines AB Copyright 2017 Severalnines AB ClusterControl 1.5
  • 29. Support for New Technologies Copyright 2017 Severalnines AB MySQL Cluster (NDB) v7.5 support MariaDB v10.2 support (Galera and MySQL Replication) PostgreSQL v10 support
  • 30. Improved Cloud Services Copyright 2017 Severalnines AB ● Cloud Services (AWS S3 and Google Cloud Storage) β—‹ Manual upload or schedule backups to be uploaded after completion to the cloud. β—‹ Download and restore backups from a cloud storage.
  • 31. New Backup Features for MySQL Copyright 2017 Severalnines AB ● Backups (MySQL) β—‹ Backup individual databases separately (mysqldump only). β—‹ Upload, download and restore backups stored in the cloud. β—‹ Trigger a verification and restore of a backup after N hours of completion. β—‹ Rebuild a replication slave by staging it from an existing backup. β—‹ Add a new replication slave by staging it from an existing backup.
  • 32. Improved PostgreSQL Support Copyright 2017 Severalnines AB ● PostgreSQL β—‹ New backup method pg_basebackup which makes a binary copy of the database files. β—‹ Synchronous replication failover (support for synchronous_standby_names). β—‹ Support for HAProxy with Keepalived. β—‹ Support for PostgreSql 10.
  • 33. Improved ProxySQL Support Copyright 2017 Severalnines AB ● ProxySQL β—‹ Mass import existing database users into ProxySQL. β—‹ Add and modify scheduler scripts.
  • 34. Other New Features Copyright 2017 Severalnines AB ● Further Highlights β—‹ Added support to show and filter DB status variables for MongoDB nodes. β—‹ HTML formatted alarm and digest emails. β—‹ Multiple NICs supports when deploying Load balancers (HAProxy). β—‹ Continuous improvements to UX/UI and performance. β—‹ New cmon-cloud process and clud client to handle cloud services. β—‹ New Report: Database Growth
  • 35. Copyright 2017 Severalnines AB Copyright 2017 Severalnines AB ClusterControl DEMO
  • 36. Copyright 2017 Severalnines AB Copyright 2017 Severalnines AB Q&A
  • 37. End of Year Promotion Get Three Months Free with an Annual Contract Our Best Offer Ever!Just Sign By December 31st!
  • 38. Additional Resources Copyright 2017 Severalnines AB ● ClusterControl 1.5 release announcement ● Download ClusterControl ● ClusterControl for MariaDB 10.2 ● End of year promotion: get 3 additional months free if you sign up for annual ClusterControl subscriptions by December 31st 2017: sales@severalnines.com