SlideShare uma empresa Scribd logo
1 de 39
krzysztof@severalnines.com
Copyright 2018 Severalnines AB
Presenter
Krzysztof Książek, Senior Support Engineer @Severalnines
How to Get Started with Open Source
Database Management
February, 27th 2018
1
Copyright 2018 Severalnines AB
Your host & some logistics
2
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.
Copyright 2017 Severalnines AB
Copyright 2018 Severalnines AB
About Severalnines and ClusterControl
3
Copyright 2018 Severalnines AB
What we do
4
Manage Scale
MonitorDeploy
Copyright 2018 Severalnines AB
What Problems do we Address?
5
Deploy
Deploy MySQL, Postgres or MongoDB - single
instances or entire clusters
Monitor
Get a unified view of all clusters across all your data
centers
Scale
Add/remove nodes, resize instances & clone your
production clusters
Manage
Automatically repair & recover broken nodes or
clusters. Test & automate upgrades
Copyright 2018 Severalnines AB
ClusterControl Platform
6
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
Copyright 2018 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.
Deployment Features in ClusterControl
7
Copyright 2018 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
Monitoring Features in ClusterControl
8
Copyright 2018 Severalnines AB
•Availability
Node/Cluster Recovery
•Backup and Restore
MySQL: mysqldump, xtrabackup
Postgres: pg_dump, pg_basebackup
MongoDb: Mongodump, MongoDb Consistent Backup
•Configuration
•Upgrades
•Loadbalancer
HAProxy, ProxySQL, MaxScale
KeepAlived
Management Features in ClusterControl
9
Copyright 2018 Severalnines AB
Supported Databases
10
Copyright 2018 Severalnines AB
Customers
11
krzysztof@severalnines.com
Copyright 2018 Severalnines AB
Presenter
Krzysztof Książek, Senior Support Engineer @Severalnines
How to Get Started with Open Source
Database Management
February, 27th 2018
12
Copyright 2018 Severalnines AB
•How does it look like to work with databases?
•Automation
•Tips and tricks for typical management procedures
Backup
High Availability
Disaster Recovery
Monitoring
Health checks
Performance tuning
Agenda
13
Copyright 2017 Severalnines AB
Copyright 2018 Severalnines AB
Working with databases - what’s it like?
14
Copyright 2018 Severalnines AB
•What is the most important asset?
Data!!!
•Safety of the data should always have the highest priority in your work
•Humans tend to make mistakes
This may have dire consequences to the data
•Always think twice before you act
Can the action endanger data?
Is the command you wrote something you really want to run?
Check for typos, check your path, check your host
Working with databases - what’s it like?
15
Copyright 2018 Severalnines AB
•You will work under pressure
Recovery from a data loss event
Recovery from a partial failure
Recovery from a total failure
•Stress increases chances for a mistake
•Make sure you are properly prepared
Working with databases - what’s it like?
•Create runbooks for every action you may
need to take
day-to-day operations
recovery scenarios
•Runbooks can guide you through the
process even if most of your brain switched
off - make them copy&paste friendly
•Test your runbooks, your system may
change in time, runbooks should change
along with it
16
Copyright 2018 Severalnines AB
•Test resilience of your environment
•Design it to be highly available and then try
to break it
•If you have small environment, manual
tests may be enough
•For larger setups think about implementing
something like Chaos Monkey
Working with databases - what’s it like?
•Use your SLA wisely
If you are well within limits, use
remaining time for something more risky
Do test failover
Try to improve automation around it
17
Copyright 2017 Severalnines AB
Copyright 2018 Severalnines AB
Automate, automate, automate!
18
Copyright 2018 Severalnines AB
•Automation is one of the key factors in High
Availability implementation
Eliminate human error as a factor
Scripts, once properly tested and within
stable environment, should work majority
of the time
Scripts can replace runbooks - just run a
command to perform all actions instead
of going through them one after another
Automate, automate, automate!
•Enjoy variety of tools, which will help you
automate database management:
Bash
Perl, Python, Ruby, Go
Ansible, Chef, Puppet, Salt
ClusterControl CLI
•No matter how you do it, make it easy to
read, understand and maintain
19
Copyright 2017 Severalnines AB
Copyright 2018 Severalnines AB
Tips and tricks for database management
20
Copyright 2018 Severalnines AB
•All datastores are different
Yet they share some common patterns
and processes
They require similar approach
Priorities of the tasks performed by the
administrator are also similar
Tips and tricks for database management
21
Copyright 2018 Severalnines AB
•Data is your priority, you should protect it
•Backups will help you in number of cases:
Data loss (a.k.a rm -rf)
Hacks, including ransom hacks
Disaster which require environment to be
rebuilt from scratch
•Backups will be last line of defense in
maintaining availability of your database
It may take long to restore from backup
but at least you’ll be able to do so
Tips and tricks - Backups
•To be trusted, backups have to be tested
Schrödinger’s backup - you never know
if it works or not unless you restore it
•Test your backups frequently
Ideally, all of them will be tested
Always do tests after a change in your
backup process
22
Copyright 2018 Severalnines AB
•In addition to knowing if your backups work or not, it’s good to know how long it will take to
restore it
•Knowing recovery time helps when things went south and someone has to do disaster
management
It looks better if you can give estimates of when service will be up again
It looks even better if those are realistic estimates
•What’s good, you know your recovery process and how long it takes
You are testing your backups, right?
Tips and tricks - Backups
23
Copyright 2018 Severalnines AB
•Backup verification in ClusterControl
Tips and tricks - Backups
24
Copyright 2018 Severalnines AB
•Download The DevOps Guide to Database Backups for MySQL and MariaDB
Tips and tricks - Backups
25
Copyright 2018 Severalnines AB
•Keep the service up - this is second most important aspect of working with databases
•High Availability is all about removing all existing single points of failure
and not introducing new ones
•You need to define your requirements for High Availability
You will have to decide what kind of failures your database should be able to handle.
Is it a failure of one or more servers (how many?)
Is it a failure of a whole datacenter?
Is it maybe multi-datacenter failures?
Tips and tricks - High Availability
26
Copyright 2018 Severalnines AB
•Once expectations are defined, it’s time to design. Three shall be the number thou shalt count
Two nodes/datacenters - it’s not enough, you have to have a third one to handle network
split
•It may be just a single node or an arbitrator, as long as the „observer” is there, you can
handle a single datacenter failure
Tips and tricks - High Availability
27
Copyright 2018 Severalnines AB
•Magic „three” is just a beginning, there are questions you’ll have to answer:
How your application will connect to the database?
Are you going to use proxy layer?
How your application will determine where to connect?
How your environment will be interconnected?
Will you write to multiple nodes or will you use a single writer?
Can your datastore re-provision failed nodes or will you have to do that?
Can your datastore perform automated recovery of failed nodes?
Tips and tricks - High Availability
28
Copyright 2018 Severalnines AB
•Again, planning is the key
Define the requirements
•Identify failure scenarios
Network split
Data loss
Node failure
Datacenter failure
Too good marketing
Tips and tricks - Disaster Recovery
•Test recovery scenarios
Identify time and effort required
Build runbooks, automation to make it fast
•What can you do?
Have a standby environment to failover to
Have tested backups
Have a tested recovery scripts
Have an automated way to scale out your
cluster
29
Copyright 2018 Severalnines AB
Tips and tricks - Monitoring and trending
30
Copyright 2018 Severalnines AB
•You have to be able to understand the state
of your database
Use software which will connect to it and
collect metrics
Use software which will generate graphs
out of that metrics
You cannot watch everything in real time
- graphs will help you understand what
happened in the past
Graphs will help you see patterns
Tips and tricks - Monitoring and trending
•You have to monitor your database’s state
Use software or scripts which will alert
you if something went wrong
•Make sure you track what you need
Make sure you don’t track what you don’t
need - all alerts should be actionable
There’s nothing worse than being woken
up at 3am by alert you can’t do anything
about
Oncall staff will start ignoring pages
31
Copyright 2018 Severalnines AB
•No matter what database you use, there will always be maintenance operations to run
•The most important task is to make them as smooth and not impacting as possible
You want process to be stable and predictable
•One of the ways to achieve that is to test and standardize the process
Come up with a flow which is stable and reduces the impact to the minimum
Make sure everybody is using the same flow for given operation
•To achieve it you have two methods:
Create runbooks for everyone to follow
Write code which will automate the process - once tested, human errors are eliminated
Tips and tricks - Maintenance
32
Copyright 2018 Severalnines AB
•Test, test, test…
Be cautious, make sure you do not impact production
Test every step you take
•Always have a rollback plan for the maintenance
Even if it seems to be a walk in the park
•Design the process to be controllable
Implement an option to pause it
Implement an option to throttle it
Tips and tricks - Maintenance
33
Copyright 2018 Severalnines AB
•Performance tuning is a never-ending story, and you cannot really avoid it
Default settings are, typically, not suitable for large database
Workload you tune for changes in time, in a year from now an optimal configuration may
look different
•To make tuning efficient, you need observability - without measuring the impact of a change,
there’s no point in making config changes
•Second rule to follow - make one single change at a time
If you make multiple changes at once there’s no way you can tell what impact had each
one of them
Tips and Tricks - Performance tuning
34
Copyright 2018 Severalnines AB
•You need to stay on top of your database’s health
Regular health checks help here
•You should be looking into things like backup - did they complete ok? Did they pass restore
test?
•Were there any issues recently? Any downtimes?
•How does the graphs look like? Anything out of ordinary?
•Ideally, you want to automate some of the checks, especially if you have large environment
It may take too long to go through tens (or hundreds) of databases manually
Tips and tricks - Health checks
35
Copyright 2018 Severalnines AB
Tips and tricks - Health checks
36
Copyright 2018 Severalnines AB
Tips and tricks - Health checks
Tips and tricks - Health checks
37
Copyright 2018 Severalnines AB
Tips and tricks - Health checks
38
Copyright 2018 Severalnines AB
•Install ClusterControl:
https://severalnines.com/download-clustercontrol-database-management-system
•Documentation for ClusterControl:
https://severalnines.com/docs/
•White paper: Management and Automation of Open Source Databases
•Contact: sales@severalnines.com
Thank You!
39

Mais conteúdo relacionado

Mais procurados

Siebel Clinical for Small and Medium-Sized Organizations
Siebel Clinical for Small and Medium-Sized OrganizationsSiebel Clinical for Small and Medium-Sized Organizations
Siebel Clinical for Small and Medium-Sized Organizations
Perficient
 
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
Precisely
 
How To Tell if Your Business Needs NoSQL
How To Tell if Your Business Needs NoSQLHow To Tell if Your Business Needs NoSQL
How To Tell if Your Business Needs NoSQL
DataStax
 

Mais procurados (20)

Vertafore: Database Evaluation - Selecting Apache Cassandra
Vertafore: Database Evaluation - Selecting Apache CassandraVertafore: Database Evaluation - Selecting Apache Cassandra
Vertafore: Database Evaluation - Selecting Apache Cassandra
 
How to Allocate and Report Cloud Costs with RightScale Optima
How to Allocate and Report Cloud Costs with RightScale OptimaHow to Allocate and Report Cloud Costs with RightScale Optima
How to Allocate and Report Cloud Costs with RightScale Optima
 
Siebel Clinical for Small and Medium-Sized Organizations
Siebel Clinical for Small and Medium-Sized OrganizationsSiebel Clinical for Small and Medium-Sized Organizations
Siebel Clinical for Small and Medium-Sized Organizations
 
e-IT exec lunch - "It's all about data" - 25 May '16
e-IT exec lunch - "It's all about data" - 25 May '16e-IT exec lunch - "It's all about data" - 25 May '16
e-IT exec lunch - "It's all about data" - 25 May '16
 
IT HealthCheck
IT HealthCheckIT HealthCheck
IT HealthCheck
 
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
Engineering Machine Learning Data Pipelines Series: Streaming New Data as It ...
 
Plan Your IaaS Environment for Optimal Performance
Plan Your IaaS Environment for Optimal PerformancePlan Your IaaS Environment for Optimal Performance
Plan Your IaaS Environment for Optimal Performance
 
Designing a Distributed Cloud Database for Dummies
Designing a Distributed Cloud Database for DummiesDesigning a Distributed Cloud Database for Dummies
Designing a Distributed Cloud Database for Dummies
 
How To Tell if Your Business Needs NoSQL
How To Tell if Your Business Needs NoSQLHow To Tell if Your Business Needs NoSQL
How To Tell if Your Business Needs NoSQL
 
Deploying Big Data Platforms
Deploying Big Data PlatformsDeploying Big Data Platforms
Deploying Big Data Platforms
 
How Cost Optimization can help me reduce my Cloud bill by upto 75%
How Cost Optimization can help me reduce my Cloud bill by upto 75% How Cost Optimization can help me reduce my Cloud bill by upto 75%
How Cost Optimization can help me reduce my Cloud bill by upto 75%
 
Webinar: Five Problems Facing Business-Critical NFS Deployments
Webinar: Five Problems Facing Business-Critical NFS DeploymentsWebinar: Five Problems Facing Business-Critical NFS Deployments
Webinar: Five Problems Facing Business-Critical NFS Deployments
 
4 Phases of Cloud Optimization
4 Phases of Cloud Optimization4 Phases of Cloud Optimization
4 Phases of Cloud Optimization
 
How a Business Continuity Solution can save your company
How a Business Continuity Solution can save your companyHow a Business Continuity Solution can save your company
How a Business Continuity Solution can save your company
 
DataOps, DevOps and the Developer: Treating Database Code Just Like App Code
DataOps, DevOps and the Developer: Treating Database Code Just Like App CodeDataOps, DevOps and the Developer: Treating Database Code Just Like App Code
DataOps, DevOps and the Developer: Treating Database Code Just Like App Code
 
DevOps + DataOps = Digital Transformation
DevOps + DataOps = Digital Transformation DevOps + DataOps = Digital Transformation
DevOps + DataOps = Digital Transformation
 
BDM - project management in big data context.pptx
BDM -  project management in big data context.pptxBDM -  project management in big data context.pptx
BDM - project management in big data context.pptx
 
Webinar | Aligning GDPR Requirements with Today's Hybrid Cloud Realities
Webinar  |  Aligning GDPR Requirements with Today's Hybrid Cloud RealitiesWebinar  |  Aligning GDPR Requirements with Today's Hybrid Cloud Realities
Webinar | Aligning GDPR Requirements with Today's Hybrid Cloud Realities
 
Webinar: The Elephant in the Datacenter - Protect, Manage, & Leverage Unstruc...
Webinar: The Elephant in the Datacenter - Protect, Manage, & Leverage Unstruc...Webinar: The Elephant in the Datacenter - Protect, Manage, & Leverage Unstruc...
Webinar: The Elephant in the Datacenter - Protect, Manage, & Leverage Unstruc...
 
Uses, considerations, and recommendations for AWS
Uses, considerations, and recommendations for AWSUses, considerations, and recommendations for AWS
Uses, considerations, and recommendations for AWS
 

Semelhante a Webinar slides: How to Get Started with Open Source Database Management

Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?
Severalnines
 
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Severalnines
 
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Severalnines
 
Lean Enterprise, Microservices and Big Data
Lean Enterprise, Microservices and Big DataLean Enterprise, Microservices and Big Data
Lean Enterprise, Microservices and Big Data
Stylight
 

Semelhante a Webinar slides: How to Get Started with Open Source Database Management (20)

Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?Webinar slides: How to Measure Database Availability?
Webinar slides: How to Measure Database Availability?
 
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
 
Strata+hadoop data kitchen-seven-steps-to-high-velocity-data-analytics-with d...
Strata+hadoop data kitchen-seven-steps-to-high-velocity-data-analytics-with d...Strata+hadoop data kitchen-seven-steps-to-high-velocity-data-analytics-with d...
Strata+hadoop data kitchen-seven-steps-to-high-velocity-data-analytics-with d...
 
Washington DC DataOps Meetup -- Nov 2019
Washington DC DataOps Meetup   -- Nov 2019Washington DC DataOps Meetup   -- Nov 2019
Washington DC DataOps Meetup -- Nov 2019
 
Are You Protected From Downtime and Data Loss?
Are You Protected From Downtime and Data Loss? Are You Protected From Downtime and Data Loss?
Are You Protected From Downtime and Data Loss?
 
Top 5 Java Performance Metrics, Tips & Tricks
Top 5 Java Performance Metrics, Tips & TricksTop 5 Java Performance Metrics, Tips & Tricks
Top 5 Java Performance Metrics, Tips & Tricks
 
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
 
Prepare to Recover: Fully Protect Your Salesforce Data
Prepare to Recover: Fully Protect Your Salesforce Data Prepare to Recover: Fully Protect Your Salesforce Data
Prepare to Recover: Fully Protect Your Salesforce Data
 
Big data Question bank.pdf
Big data Question bank.pdfBig data Question bank.pdf
Big data Question bank.pdf
 
VMworld 2013: Practical Real World Reporting with vCenter Operations
VMworld 2013: Practical Real World Reporting with vCenter OperationsVMworld 2013: Practical Real World Reporting with vCenter Operations
VMworld 2013: Practical Real World Reporting with vCenter Operations
 
Veritas + MongoDB
Veritas + MongoDBVeritas + MongoDB
Veritas + MongoDB
 
Performance Optimization of Cloud Based Applications by Peter Smith, ACL
Performance Optimization of Cloud Based Applications by Peter Smith, ACLPerformance Optimization of Cloud Based Applications by Peter Smith, ACL
Performance Optimization of Cloud Based Applications by Peter Smith, ACL
 
Lean Enterprise, Microservices and Big Data
Lean Enterprise, Microservices and Big DataLean Enterprise, Microservices and Big Data
Lean Enterprise, Microservices and Big Data
 
Interactive and reproducible data analysis with the open-source KNIME Analyti...
Interactive and reproducible data analysis with the open-source KNIME Analyti...Interactive and reproducible data analysis with the open-source KNIME Analyti...
Interactive and reproducible data analysis with the open-source KNIME Analyti...
 
Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...
Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...
Reliability of the Cloud: How AWS Achieves High Availability (ARC317-R1) - AW...
 
Automic Support Tips and Tricks
Automic Support Tips and TricksAutomic Support Tips and Tricks
Automic Support Tips and Tricks
 
Gaining Better Observability of Your VMs with Amazon CloudWatch - AWS Online ...
Gaining Better Observability of Your VMs with Amazon CloudWatch - AWS Online ...Gaining Better Observability of Your VMs with Amazon CloudWatch - AWS Online ...
Gaining Better Observability of Your VMs with Amazon CloudWatch - AWS Online ...
 
Data Engineer's Lunch #85: Designing a Modern Data Stack
Data Engineer's Lunch #85: Designing a Modern Data StackData Engineer's Lunch #85: Designing a Modern Data Stack
Data Engineer's Lunch #85: Designing a Modern Data Stack
 
AWS Well-Architected Workshop
AWS Well-Architected WorkshopAWS Well-Architected Workshop
AWS Well-Architected Workshop
 
Capacity Management and BigData/Hadoop - Hitchhiker's guide for the Capacity ...
Capacity Management and BigData/Hadoop - Hitchhiker's guide for the Capacity ...Capacity Management and BigData/Hadoop - Hitchhiker's guide for the Capacity ...
Capacity Management and BigData/Hadoop - Hitchhiker's guide for the Capacity ...
 

Mais de Severalnines

Webinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDBWebinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDB
Severalnines
 
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControlWebinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Severalnines
 
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Severalnines
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Severalnines
 
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDBWebinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Severalnines
 
Webinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High AvailabilityWebinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High Availability
Severalnines
 
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Severalnines
 
Webinar slides: Severalnines & MariaDB present: Automation & Management of Ma...
Webinar slides: Severalnines & MariaDB present: Automation & Management of Ma...Webinar slides: Severalnines & MariaDB present: Automation & Management of Ma...
Webinar slides: Severalnines & MariaDB present: Automation & Management of Ma...
Severalnines
 
Webinar slides: How to automate and manage MongoDB & Percona Server for MongoDB
Webinar slides: How to automate and manage MongoDB & Percona Server for MongoDBWebinar slides: How to automate and manage MongoDB & Percona Server for MongoDB
Webinar slides: How to automate and manage MongoDB & Percona Server for MongoDB
Severalnines
 

Mais de Severalnines (20)

Cloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaSCloud's future runs through Sovereign DBaaS
Cloud's future runs through Sovereign DBaaS
 
Tips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloudTips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloud
 
Working with the Moodle Database: The Basics
Working with the Moodle Database: The BasicsWorking with the Moodle Database: The Basics
Working with the Moodle Database: The Basics
 
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDBSysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB
 
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
(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 Migrate from Oracle DB to MariaDBWebinar slides: How to Migrate from Oracle DB to MariaDB
Webinar slides: How to Migrate from Oracle DB to MariaDB
 
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControlWebinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
 
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
 
Disaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDBDisaster Recovery Planning for MySQL & MariaDB
Disaster Recovery Planning for MySQL & MariaDB
 
MariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash CourseMariaDB Performance Tuning Crash Course
MariaDB Performance Tuning Crash Course
 
Performance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDBPerformance Tuning Cheat Sheet for MongoDB
Performance Tuning Cheat Sheet for MongoDB
 
Advanced MySql Data-at-Rest Encryption in Percona Server
Advanced MySql Data-at-Rest Encryption in Percona ServerAdvanced MySql Data-at-Rest Encryption in Percona Server
Advanced MySql Data-at-Rest Encryption in Percona Server
 
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket KnifePolyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
 
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQLWebinar slides: An Introduction to Performance Monitoring for PostgreSQL
Webinar slides: An Introduction to Performance Monitoring for PostgreSQL
 
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance TuningWebinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
 
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDBWebinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
 
Webinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High AvailabilityWebinar slides: Designing Open Source Databases for High Availability
Webinar slides: Designing Open Source Databases for High Availability
 
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
Webinar slides: How to Achieve PCI Compliance for MySQL & MariaDB with Cluste...
 
Webinar slides: Severalnines & MariaDB present: Automation & Management of Ma...
Webinar slides: Severalnines & MariaDB present: Automation & Management of Ma...Webinar slides: Severalnines & MariaDB present: Automation & Management of Ma...
Webinar slides: Severalnines & MariaDB present: Automation & Management of Ma...
 
Webinar slides: How to automate and manage MongoDB & Percona Server for MongoDB
Webinar slides: How to automate and manage MongoDB & Percona Server for MongoDBWebinar slides: How to automate and manage MongoDB & Percona Server for MongoDB
Webinar slides: How to automate and manage MongoDB & Percona Server for MongoDB
 

Último

哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
ydyuyu
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
Asmae Rabhi
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
ayvbos
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
galaxypingy
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Monica Sydney
 

Último (20)

2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
APNIC Policy Roundup, presented by Sunny Chendi at the 5th ICANN APAC-TWNIC E...
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx75539-Cyber Security Challenges PPT.pptx
75539-Cyber Security Challenges PPT.pptx
 
Best SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency DallasBest SEO Services Company in Dallas | Best SEO Agency Dallas
Best SEO Services Company in Dallas | Best SEO Agency Dallas
 
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
一比一原版(Flinders毕业证书)弗林德斯大学毕业证原件一模一样
 
PowerDirector Explination Process...pptx
PowerDirector Explination Process...pptxPowerDirector Explination Process...pptx
PowerDirector Explination Process...pptx
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
20240510 QFM016 Irresponsible AI Reading List April 2024.pdf
 
Power point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria IuzzolinoPower point inglese - educazione civica di Nuria Iuzzolino
Power point inglese - educazione civica di Nuria Iuzzolino
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 

Webinar slides: How to Get Started with Open Source Database Management

  • 1. krzysztof@severalnines.com Copyright 2018 Severalnines AB Presenter Krzysztof Książek, Senior Support Engineer @Severalnines How to Get Started with Open Source Database Management February, 27th 2018 1
  • 2. Copyright 2018 Severalnines AB Your host & some logistics 2 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.
  • 3. Copyright 2017 Severalnines AB Copyright 2018 Severalnines AB About Severalnines and ClusterControl 3
  • 4. Copyright 2018 Severalnines AB What we do 4 Manage Scale MonitorDeploy
  • 5. Copyright 2018 Severalnines AB What Problems do we Address? 5 Deploy Deploy MySQL, Postgres or MongoDB - single instances or entire clusters Monitor Get a unified view of all clusters across all your data centers Scale Add/remove nodes, resize instances & clone your production clusters Manage Automatically repair & recover broken nodes or clusters. Test & automate upgrades
  • 6. Copyright 2018 Severalnines AB ClusterControl Platform 6 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
  • 7. Copyright 2018 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. Deployment Features in ClusterControl 7
  • 8. Copyright 2018 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 Monitoring Features in ClusterControl 8
  • 9. Copyright 2018 Severalnines AB •Availability Node/Cluster Recovery •Backup and Restore MySQL: mysqldump, xtrabackup Postgres: pg_dump, pg_basebackup MongoDb: Mongodump, MongoDb Consistent Backup •Configuration •Upgrades •Loadbalancer HAProxy, ProxySQL, MaxScale KeepAlived Management Features in ClusterControl 9
  • 10. Copyright 2018 Severalnines AB Supported Databases 10
  • 11. Copyright 2018 Severalnines AB Customers 11
  • 12. krzysztof@severalnines.com Copyright 2018 Severalnines AB Presenter Krzysztof Książek, Senior Support Engineer @Severalnines How to Get Started with Open Source Database Management February, 27th 2018 12
  • 13. Copyright 2018 Severalnines AB •How does it look like to work with databases? •Automation •Tips and tricks for typical management procedures Backup High Availability Disaster Recovery Monitoring Health checks Performance tuning Agenda 13
  • 14. Copyright 2017 Severalnines AB Copyright 2018 Severalnines AB Working with databases - what’s it like? 14
  • 15. Copyright 2018 Severalnines AB •What is the most important asset? Data!!! •Safety of the data should always have the highest priority in your work •Humans tend to make mistakes This may have dire consequences to the data •Always think twice before you act Can the action endanger data? Is the command you wrote something you really want to run? Check for typos, check your path, check your host Working with databases - what’s it like? 15
  • 16. Copyright 2018 Severalnines AB •You will work under pressure Recovery from a data loss event Recovery from a partial failure Recovery from a total failure •Stress increases chances for a mistake •Make sure you are properly prepared Working with databases - what’s it like? •Create runbooks for every action you may need to take day-to-day operations recovery scenarios •Runbooks can guide you through the process even if most of your brain switched off - make them copy&paste friendly •Test your runbooks, your system may change in time, runbooks should change along with it 16
  • 17. Copyright 2018 Severalnines AB •Test resilience of your environment •Design it to be highly available and then try to break it •If you have small environment, manual tests may be enough •For larger setups think about implementing something like Chaos Monkey Working with databases - what’s it like? •Use your SLA wisely If you are well within limits, use remaining time for something more risky Do test failover Try to improve automation around it 17
  • 18. Copyright 2017 Severalnines AB Copyright 2018 Severalnines AB Automate, automate, automate! 18
  • 19. Copyright 2018 Severalnines AB •Automation is one of the key factors in High Availability implementation Eliminate human error as a factor Scripts, once properly tested and within stable environment, should work majority of the time Scripts can replace runbooks - just run a command to perform all actions instead of going through them one after another Automate, automate, automate! •Enjoy variety of tools, which will help you automate database management: Bash Perl, Python, Ruby, Go Ansible, Chef, Puppet, Salt ClusterControl CLI •No matter how you do it, make it easy to read, understand and maintain 19
  • 20. Copyright 2017 Severalnines AB Copyright 2018 Severalnines AB Tips and tricks for database management 20
  • 21. Copyright 2018 Severalnines AB •All datastores are different Yet they share some common patterns and processes They require similar approach Priorities of the tasks performed by the administrator are also similar Tips and tricks for database management 21
  • 22. Copyright 2018 Severalnines AB •Data is your priority, you should protect it •Backups will help you in number of cases: Data loss (a.k.a rm -rf) Hacks, including ransom hacks Disaster which require environment to be rebuilt from scratch •Backups will be last line of defense in maintaining availability of your database It may take long to restore from backup but at least you’ll be able to do so Tips and tricks - Backups •To be trusted, backups have to be tested Schrödinger’s backup - you never know if it works or not unless you restore it •Test your backups frequently Ideally, all of them will be tested Always do tests after a change in your backup process 22
  • 23. Copyright 2018 Severalnines AB •In addition to knowing if your backups work or not, it’s good to know how long it will take to restore it •Knowing recovery time helps when things went south and someone has to do disaster management It looks better if you can give estimates of when service will be up again It looks even better if those are realistic estimates •What’s good, you know your recovery process and how long it takes You are testing your backups, right? Tips and tricks - Backups 23
  • 24. Copyright 2018 Severalnines AB •Backup verification in ClusterControl Tips and tricks - Backups 24
  • 25. Copyright 2018 Severalnines AB •Download The DevOps Guide to Database Backups for MySQL and MariaDB Tips and tricks - Backups 25
  • 26. Copyright 2018 Severalnines AB •Keep the service up - this is second most important aspect of working with databases •High Availability is all about removing all existing single points of failure and not introducing new ones •You need to define your requirements for High Availability You will have to decide what kind of failures your database should be able to handle. Is it a failure of one or more servers (how many?) Is it a failure of a whole datacenter? Is it maybe multi-datacenter failures? Tips and tricks - High Availability 26
  • 27. Copyright 2018 Severalnines AB •Once expectations are defined, it’s time to design. Three shall be the number thou shalt count Two nodes/datacenters - it’s not enough, you have to have a third one to handle network split •It may be just a single node or an arbitrator, as long as the „observer” is there, you can handle a single datacenter failure Tips and tricks - High Availability 27
  • 28. Copyright 2018 Severalnines AB •Magic „three” is just a beginning, there are questions you’ll have to answer: How your application will connect to the database? Are you going to use proxy layer? How your application will determine where to connect? How your environment will be interconnected? Will you write to multiple nodes or will you use a single writer? Can your datastore re-provision failed nodes or will you have to do that? Can your datastore perform automated recovery of failed nodes? Tips and tricks - High Availability 28
  • 29. Copyright 2018 Severalnines AB •Again, planning is the key Define the requirements •Identify failure scenarios Network split Data loss Node failure Datacenter failure Too good marketing Tips and tricks - Disaster Recovery •Test recovery scenarios Identify time and effort required Build runbooks, automation to make it fast •What can you do? Have a standby environment to failover to Have tested backups Have a tested recovery scripts Have an automated way to scale out your cluster 29
  • 30. Copyright 2018 Severalnines AB Tips and tricks - Monitoring and trending 30
  • 31. Copyright 2018 Severalnines AB •You have to be able to understand the state of your database Use software which will connect to it and collect metrics Use software which will generate graphs out of that metrics You cannot watch everything in real time - graphs will help you understand what happened in the past Graphs will help you see patterns Tips and tricks - Monitoring and trending •You have to monitor your database’s state Use software or scripts which will alert you if something went wrong •Make sure you track what you need Make sure you don’t track what you don’t need - all alerts should be actionable There’s nothing worse than being woken up at 3am by alert you can’t do anything about Oncall staff will start ignoring pages 31
  • 32. Copyright 2018 Severalnines AB •No matter what database you use, there will always be maintenance operations to run •The most important task is to make them as smooth and not impacting as possible You want process to be stable and predictable •One of the ways to achieve that is to test and standardize the process Come up with a flow which is stable and reduces the impact to the minimum Make sure everybody is using the same flow for given operation •To achieve it you have two methods: Create runbooks for everyone to follow Write code which will automate the process - once tested, human errors are eliminated Tips and tricks - Maintenance 32
  • 33. Copyright 2018 Severalnines AB •Test, test, test… Be cautious, make sure you do not impact production Test every step you take •Always have a rollback plan for the maintenance Even if it seems to be a walk in the park •Design the process to be controllable Implement an option to pause it Implement an option to throttle it Tips and tricks - Maintenance 33
  • 34. Copyright 2018 Severalnines AB •Performance tuning is a never-ending story, and you cannot really avoid it Default settings are, typically, not suitable for large database Workload you tune for changes in time, in a year from now an optimal configuration may look different •To make tuning efficient, you need observability - without measuring the impact of a change, there’s no point in making config changes •Second rule to follow - make one single change at a time If you make multiple changes at once there’s no way you can tell what impact had each one of them Tips and Tricks - Performance tuning 34
  • 35. Copyright 2018 Severalnines AB •You need to stay on top of your database’s health Regular health checks help here •You should be looking into things like backup - did they complete ok? Did they pass restore test? •Were there any issues recently? Any downtimes? •How does the graphs look like? Anything out of ordinary? •Ideally, you want to automate some of the checks, especially if you have large environment It may take too long to go through tens (or hundreds) of databases manually Tips and tricks - Health checks 35
  • 36. Copyright 2018 Severalnines AB Tips and tricks - Health checks 36
  • 37. Copyright 2018 Severalnines AB Tips and tricks - Health checks Tips and tricks - Health checks 37
  • 38. Copyright 2018 Severalnines AB Tips and tricks - Health checks 38
  • 39. Copyright 2018 Severalnines AB •Install ClusterControl: https://severalnines.com/download-clustercontrol-database-management-system •Documentation for ClusterControl: https://severalnines.com/docs/ •White paper: Management and Automation of Open Source Databases •Contact: sales@severalnines.com Thank You! 39