SlideShare a Scribd company logo
April 22, 2020
Tips to Automate MySQL,
MariaDB, Postgres & MongoDB
Sebastian Insausti
Presenter
sebastian@severalnines.com
Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB
Who am I?
I have more than 15 years of experience in telecommunications
companies with experience in...
- MySQL Replication, , MySQL Group Replication,
PostgreSQL, Galera Cluster
- Linux OS and Windows Servers
- ModSecurity, Monitoring, Networking, Virtualization
- Ethical Hacking and Security Solutions
- High Availability Environments and DRP Designs
Presenter
Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB
Common DB Operations Tasks
● Deployment
● Monitoring
● Backup Management
● Automatic Failover & Recovery
● User management
● Security
● Ops reports
Demo
● Overview of the most important ClusterControl
features
Agenda
Copyright 2018 Severalnines AB
Copyright 2018 Severalnines AB
Common Tasks
Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB
● Standalone
○ Just one single node
● Replication
○ Master-Slave
○ Master-Master
● Cluster
○ Single-Master
○ Multi-Master
● High Availability
○ Replication or Cluster
○ Load Balancer
○ Floating IP Address
Deployment
Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB
What to Monitor
● Database
○ Queries
○ Sessions
○ Locks
○ IO
○ Replication
● Host
○ CPU
○ Memory
○ Load Average
○ Network
Monitoring
Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB
Alerting
Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB
● Backups:
○ Logical backup: Plain text files with SQL statements.
○ Physical backup: A copy of the datafiles.
● Backup Rotation:
○ Using scripts, external tools or manually rotation.
● Backup Verification:
○ Manually or by scripting.
● Backup External Storage:
○ Manually or by scripting.
● Backup Encryption:
○ Require sysadmin skills.
● PITR:
○ It's restoring the database at any given moment in the past.
Backup Management
Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB
Automatic Failover & Recovery
● Documentation
○ You need to know what to do in case of master failure
● Manual & Automatic Way
○ Manual: E.g. If you need to do it in a maintenance
windows
○ Automatic: In case of master failure, to reduce the
downtime.
○ Both: First automatic, and in case that something went
wrong, run the manual way
Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB
● User
○ Create new users
○ Update existing users
○ Delete users
● Privileges
○ Limit privileges
○ Password requirements
○ Restrict access from an specific host
User Management
Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB
Security
● Upgrades
○ Operating System
○ Database
● Encryption
○ Backups
○ SSL Encryption
Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB
Operational Reports
● What is Happening?
○ Are backups completed?
○ Are upgrade availables?
○ Helps to stay on top of everything
● Historical Information
○ Previous Backups Status
○ Security information
○ Usage
● User-Friendly
○ Graph
○ Color highlighted information
Copyright 2018 Severalnines AB
Copyright 2018 Severalnines AB
Copyright 2018 Severalnines AB
Demo
Copyright 2018 Severalnines AB
Copyright 2018 Severalnines AB
Q & A

More Related Content

PDF
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Severalnines
 
PDF
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Severalnines
 
PDF
Webinar slides: How to Migrate from Oracle DB to MariaDB
Severalnines
 
PDF
Webinar slides: Designing Open Source Databases for High Availability
Severalnines
 
PDF
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Severalnines
 
PDF
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Severalnines
 
PDF
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Severalnines
 
PPTX
How Pixid dropped Oracle and went hybrid with MariaDB
MariaDB plc
 
Webinar slides: How to Automate & Manage PostgreSQL with ClusterControl
Severalnines
 
Webinar slides: Backup Management for MySQL, MariaDB, PostgreSQL & MongoDB wi...
Severalnines
 
Webinar slides: How to Migrate from Oracle DB to MariaDB
Severalnines
 
Webinar slides: Designing Open Source Databases for High Availability
Severalnines
 
Webinar slides: Migrating to Galera Cluster for MySQL and MariaDB
Severalnines
 
Webinar slides: Free Monitoring (on Steroids) for MySQL, MariaDB, PostgreSQL ...
Severalnines
 
Webinar slides: Our Guide to MySQL & MariaDB Performance Tuning
Severalnines
 
How Pixid dropped Oracle and went hybrid with MariaDB
MariaDB plc
 

What's hot (20)

PDF
How a Time Series Database Contributes to a Decentralized Cloud Object Storag...
InfluxData
 
PDF
Getting started in the cloud for developers
MariaDB plc
 
PDF
The architecture of SkySQL
MariaDB plc
 
PPTX
ClustrixDB at Samsung Cloud
MariaDB plc
 
PDF
Introducing the ultimate MariaDB cloud, SkySQL
MariaDB plc
 
PDF
Introducing the R2DBC async Java connector
MariaDB plc
 
PDF
The role of databases in modern application development
MariaDB plc
 
PDF
Scylla Summit 2022: Multi-cloud State for k8s: Anthos and ScyllaDB
ScyllaDB
 
PPTX
IMC Summit 2016 Breakout - Brian Bulkowski - NVMe, Storage Class Memory and O...
In-Memory Computing Summit
 
PDF
Presto Summit 2018 - 04 - Netflix Containers
kbajda
 
PDF
What to expect from MariaDB Platform X5, part 1
MariaDB plc
 
PDF
Mongo DB Monitoring - Become a MongoDB DBA
Severalnines
 
PDF
TiDB Introduction - Boston MySQL Meetup Group
Morgan Tocker
 
PDF
What to expect from MariaDB Platform X5, part 2
MariaDB plc
 
PDF
Presto Summit 2018 - 03 - Starburst CBO
kbajda
 
PPTX
InfluxDB Cloud Product Update
InfluxData
 
PDF
Under the hood: SkySQL monitoring
MariaDB plc
 
PPTX
How Orwell built a geo-distributed Bank-as-a-Service with microservices
MariaDB plc
 
PDF
Introducing TiDB - Percona Live Frankfurt
Morgan Tocker
 
PDF
How to Store and Visualize CAN Bus Telematic Data with InfluxDB Cloud and Gra...
InfluxData
 
How a Time Series Database Contributes to a Decentralized Cloud Object Storag...
InfluxData
 
Getting started in the cloud for developers
MariaDB plc
 
The architecture of SkySQL
MariaDB plc
 
ClustrixDB at Samsung Cloud
MariaDB plc
 
Introducing the ultimate MariaDB cloud, SkySQL
MariaDB plc
 
Introducing the R2DBC async Java connector
MariaDB plc
 
The role of databases in modern application development
MariaDB plc
 
Scylla Summit 2022: Multi-cloud State for k8s: Anthos and ScyllaDB
ScyllaDB
 
IMC Summit 2016 Breakout - Brian Bulkowski - NVMe, Storage Class Memory and O...
In-Memory Computing Summit
 
Presto Summit 2018 - 04 - Netflix Containers
kbajda
 
What to expect from MariaDB Platform X5, part 1
MariaDB plc
 
Mongo DB Monitoring - Become a MongoDB DBA
Severalnines
 
TiDB Introduction - Boston MySQL Meetup Group
Morgan Tocker
 
What to expect from MariaDB Platform X5, part 2
MariaDB plc
 
Presto Summit 2018 - 03 - Starburst CBO
kbajda
 
InfluxDB Cloud Product Update
InfluxData
 
Under the hood: SkySQL monitoring
MariaDB plc
 
How Orwell built a geo-distributed Bank-as-a-Service with microservices
MariaDB plc
 
Introducing TiDB - Percona Live Frankfurt
Morgan Tocker
 
How to Store and Visualize CAN Bus Telematic Data with InfluxDB Cloud and Gra...
InfluxData
 
Ad

Similar to SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB (20)

PDF
Become a MySQL DBA - slides: Deciding on a relevant backup solution
Severalnines
 
PPTX
MySQL Backup Best Practices and Case Study- .ie Continuous Restore Process
Marcelo Altmann
 
PDF
Webinar slides: How to Get Started with Open Source Database Management
Severalnines
 
PDF
Lessons from database failures
Colin Charles
 
PDF
Lock, Stock and Backup: Data Guaranteed
Jervin Real
 
PPTX
Scalabe MySQL Infrastructure
Balazs Pocze
 
PDF
Lessons from database failures
Colin Charles
 
PDF
Webinar slides: Top 9 Tips for building a stable MySQL Replication environment
Severalnines
 
PDF
A Backup Today Saves Tomorrow
Andrew Moore
 
PDF
Lessons from database failures
Colin Charles
 
PDF
MySQL Server Backup, Restoration, And Disaster Recovery Planning Presentation
Colin Charles
 
PDF
MySQL Backup and Security Best Practices
Lenz Grimmer
 
PDF
MySQL Server Backup, Restoration, and Disaster Recovery Planning
Lenz Grimmer
 
PDF
The Proper Care and Feeding of a MySQL Database for Busy Linux Admins -- SCaL...
Dave Stokes
 
PDF
PhpTek Ten Things to do to make your MySQL servers Happier and Healthier
Dave Stokes
 
PDF
Proper Care and Feeding of a MySQL Database for Busy Linux Administrators
Dave Stokes
 
PDF
OSDC 2017 | Lessons from database failures by Colin Charles
NETWAYS
 
PPTX
Database Dumps and Backups
EDB
 
PDF
High Availability MySQL Cookbook 1st Edition Alex Davies
ajarnikto
 
PPTX
Percona Live London 2014 - MySQL Backup Strategy @ IEDR
Marcelo Altmann
 
Become a MySQL DBA - slides: Deciding on a relevant backup solution
Severalnines
 
MySQL Backup Best Practices and Case Study- .ie Continuous Restore Process
Marcelo Altmann
 
Webinar slides: How to Get Started with Open Source Database Management
Severalnines
 
Lessons from database failures
Colin Charles
 
Lock, Stock and Backup: Data Guaranteed
Jervin Real
 
Scalabe MySQL Infrastructure
Balazs Pocze
 
Lessons from database failures
Colin Charles
 
Webinar slides: Top 9 Tips for building a stable MySQL Replication environment
Severalnines
 
A Backup Today Saves Tomorrow
Andrew Moore
 
Lessons from database failures
Colin Charles
 
MySQL Server Backup, Restoration, And Disaster Recovery Planning Presentation
Colin Charles
 
MySQL Backup and Security Best Practices
Lenz Grimmer
 
MySQL Server Backup, Restoration, and Disaster Recovery Planning
Lenz Grimmer
 
The Proper Care and Feeding of a MySQL Database for Busy Linux Admins -- SCaL...
Dave Stokes
 
PhpTek Ten Things to do to make your MySQL servers Happier and Healthier
Dave Stokes
 
Proper Care and Feeding of a MySQL Database for Busy Linux Administrators
Dave Stokes
 
OSDC 2017 | Lessons from database failures by Colin Charles
NETWAYS
 
Database Dumps and Backups
EDB
 
High Availability MySQL Cookbook 1st Edition Alex Davies
ajarnikto
 
Percona Live London 2014 - MySQL Backup Strategy @ IEDR
Marcelo Altmann
 
Ad

More from Severalnines (20)

PDF
The Long Term Cost of Managed DBaaS vs Sovereign DBaaS
Severalnines
 
PPTX
Sovereign DBaaS_ A Practical Vision for Self-Implementation of DBaaS.pptx
Severalnines
 
PDF
PostgreSQL on AWS Aurora/Azure Cosmos VS EC2/Azure VMs
Severalnines
 
PDF
Localhost Conference 2024_ Building a Flexible and Scalable Database Strategy...
Severalnines
 
PDF
SREDAY London 2024 | Cloud Native Technologies: The Building Blocks of Modern...
Severalnines
 
PDF
Building a Sovereign DBaaS on K8s OpenInfra Summit Asia 2024.pdf
Severalnines
 
PDF
S-DBaaS Community Call | Introduction to Sovereign DBaaS: The why, what and how
Severalnines
 
PDF
WEBINAR SLIDES: CCX for Cloud Service Providers
Severalnines
 
PPTX
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
Severalnines
 
PDF
Kubernetes at Scale: Going Multi-Cluster with Istio
Severalnines
 
PDF
DIY DBaaS: A guide to building your own full-featured DBaaS
Severalnines
 
PDF
Cloud's future runs through Sovereign DBaaS
Severalnines
 
PPTX
Tips to drive maria db cluster performance for nextcloud
Severalnines
 
PPTX
Working with the Moodle Database: The Basics
Severalnines
 
PDF
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
Severalnines
 
PDF
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Severalnines
 
PPTX
Disaster Recovery Planning for MySQL & MariaDB
Severalnines
 
PPTX
MariaDB Performance Tuning Crash Course
Severalnines
 
PPTX
Performance Tuning Cheat Sheet for MongoDB
Severalnines
 
PPTX
Advanced MySql Data-at-Rest Encryption in Percona Server
Severalnines
 
The Long Term Cost of Managed DBaaS vs Sovereign DBaaS
Severalnines
 
Sovereign DBaaS_ A Practical Vision for Self-Implementation of DBaaS.pptx
Severalnines
 
PostgreSQL on AWS Aurora/Azure Cosmos VS EC2/Azure VMs
Severalnines
 
Localhost Conference 2024_ Building a Flexible and Scalable Database Strategy...
Severalnines
 
SREDAY London 2024 | Cloud Native Technologies: The Building Blocks of Modern...
Severalnines
 
Building a Sovereign DBaaS on K8s OpenInfra Summit Asia 2024.pdf
Severalnines
 
S-DBaaS Community Call | Introduction to Sovereign DBaaS: The why, what and how
Severalnines
 
WEBINAR SLIDES: CCX for Cloud Service Providers
Severalnines
 
LIVE DEMO: CCX for CSPs, a drop-in DBaaS solution
Severalnines
 
Kubernetes at Scale: Going Multi-Cluster with Istio
Severalnines
 
DIY DBaaS: A guide to building your own full-featured DBaaS
Severalnines
 
Cloud's future runs through Sovereign DBaaS
Severalnines
 
Tips to drive maria db cluster performance for nextcloud
Severalnines
 
Working with the Moodle Database: The Basics
Severalnines
 
(slides) Polyglot persistence: utilizing open source databases as a Swiss poc...
Severalnines
 
Webinar slides: How to Manage Replication Failover Processes for MySQL, Maria...
Severalnines
 
Disaster Recovery Planning for MySQL & MariaDB
Severalnines
 
MariaDB Performance Tuning Crash Course
Severalnines
 
Performance Tuning Cheat Sheet for MongoDB
Severalnines
 
Advanced MySql Data-at-Rest Encryption in Percona Server
Severalnines
 

Recently uploaded (20)

PDF
Bandai Playdia The Book - David Glotz
BluePanther6
 
PPTX
Presentation of Computer CLASS 2 .pptx
darshilchaudhary558
 
PPTX
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
PPTX
Hire Expert Blazor Developers | Scalable Solutions by OnestopDA
OnestopDA
 
PDF
Why Use Open Source Reporting Tools for Business Intelligence.pdf
Varsha Nayak
 
PDF
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
PDF
ShowUs: Pharo Stream Deck (ESUG 2025, Gdansk)
ESUG
 
PDF
Micromaid: A simple Mermaid-like chart generator for Pharo
ESUG
 
PPTX
What to Capture When It Breaks: 16 Artifacts That Reveal Root Causes
Tier1 app
 
PDF
Solar Panel Installation Guide – Step By Step Process 2025.pdf
CRMLeaf
 
PDF
IEEE-CS Tech Predictions, SWEBOK and Quantum Software: Towards Q-SWEBOK
Hironori Washizaki
 
PDF
Become an Agentblazer Champion Challenge
Dele Amefo
 
PPTX
Audio Editing and it's techniques in computer graphics.pptx
fosterbayirinia3
 
PPTX
10 Hidden App Development Costs That Can Sink Your Startup.pptx
Lunar Web Solution
 
PDF
Why Should Businesses Extract Cuisine Types Data from Multiple U.S. Food Apps...
devilbrown689
 
DOCX
The Five Best AI Cover Tools in 2025.docx
aivoicelabofficial
 
PDF
Rise With SAP partner in Mumbai.........
pts464036
 
PDF
The Role of Automation and AI in EHS Management for Data Centers.pdf
TECH EHS Solution
 
PDF
How to Seamlessly Integrate Salesforce Data Cloud with Marketing Cloud.pdf
NSIQINFOTECH
 
PPTX
introduction to dart --- Section one .pptx
marknaiem92
 
Bandai Playdia The Book - David Glotz
BluePanther6
 
Presentation of Computer CLASS 2 .pptx
darshilchaudhary558
 
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
Hire Expert Blazor Developers | Scalable Solutions by OnestopDA
OnestopDA
 
Why Use Open Source Reporting Tools for Business Intelligence.pdf
Varsha Nayak
 
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
ShowUs: Pharo Stream Deck (ESUG 2025, Gdansk)
ESUG
 
Micromaid: A simple Mermaid-like chart generator for Pharo
ESUG
 
What to Capture When It Breaks: 16 Artifacts That Reveal Root Causes
Tier1 app
 
Solar Panel Installation Guide – Step By Step Process 2025.pdf
CRMLeaf
 
IEEE-CS Tech Predictions, SWEBOK and Quantum Software: Towards Q-SWEBOK
Hironori Washizaki
 
Become an Agentblazer Champion Challenge
Dele Amefo
 
Audio Editing and it's techniques in computer graphics.pptx
fosterbayirinia3
 
10 Hidden App Development Costs That Can Sink Your Startup.pptx
Lunar Web Solution
 
Why Should Businesses Extract Cuisine Types Data from Multiple U.S. Food Apps...
devilbrown689
 
The Five Best AI Cover Tools in 2025.docx
aivoicelabofficial
 
Rise With SAP partner in Mumbai.........
pts464036
 
The Role of Automation and AI in EHS Management for Data Centers.pdf
TECH EHS Solution
 
How to Seamlessly Integrate Salesforce Data Cloud with Marketing Cloud.pdf
NSIQINFOTECH
 
introduction to dart --- Section one .pptx
marknaiem92
 

SysAdmin Working from Home? Tips to Automate MySQL, MariaDB, Postgres & MongoDB

  • 1. April 22, 2020 Tips to Automate MySQL, MariaDB, Postgres & MongoDB Sebastian Insausti Presenter [email protected]
  • 2. Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB Who am I? I have more than 15 years of experience in telecommunications companies with experience in... - MySQL Replication, , MySQL Group Replication, PostgreSQL, Galera Cluster - Linux OS and Windows Servers - ModSecurity, Monitoring, Networking, Virtualization - Ethical Hacking and Security Solutions - High Availability Environments and DRP Designs Presenter
  • 3. Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB Common DB Operations Tasks ● Deployment ● Monitoring ● Backup Management ● Automatic Failover & Recovery ● User management ● Security ● Ops reports Demo ● Overview of the most important ClusterControl features Agenda
  • 4. Copyright 2018 Severalnines AB Copyright 2018 Severalnines AB Common Tasks
  • 5. Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB ● Standalone ○ Just one single node ● Replication ○ Master-Slave ○ Master-Master ● Cluster ○ Single-Master ○ Multi-Master ● High Availability ○ Replication or Cluster ○ Load Balancer ○ Floating IP Address Deployment
  • 6. Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB What to Monitor ● Database ○ Queries ○ Sessions ○ Locks ○ IO ○ Replication ● Host ○ CPU ○ Memory ○ Load Average ○ Network Monitoring
  • 7. Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB Alerting
  • 8. Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB ● Backups: ○ Logical backup: Plain text files with SQL statements. ○ Physical backup: A copy of the datafiles. ● Backup Rotation: ○ Using scripts, external tools or manually rotation. ● Backup Verification: ○ Manually or by scripting. ● Backup External Storage: ○ Manually or by scripting. ● Backup Encryption: ○ Require sysadmin skills. ● PITR: ○ It's restoring the database at any given moment in the past. Backup Management
  • 9. Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB Automatic Failover & Recovery ● Documentation ○ You need to know what to do in case of master failure ● Manual & Automatic Way ○ Manual: E.g. If you need to do it in a maintenance windows ○ Automatic: In case of master failure, to reduce the downtime. ○ Both: First automatic, and in case that something went wrong, run the manual way
  • 10. Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB ● User ○ Create new users ○ Update existing users ○ Delete users ● Privileges ○ Limit privileges ○ Password requirements ○ Restrict access from an specific host User Management
  • 11. Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB Security ● Upgrades ○ Operating System ○ Database ● Encryption ○ Backups ○ SSL Encryption
  • 12. Copyright 2020 Severalnines ABCopyright 2020 Severalnines AB Operational Reports ● What is Happening? ○ Are backups completed? ○ Are upgrade availables? ○ Helps to stay on top of everything ● Historical Information ○ Previous Backups Status ○ Security information ○ Usage ● User-Friendly ○ Graph ○ Color highlighted information
  • 14. Copyright 2018 Severalnines AB Copyright 2018 Severalnines AB Demo
  • 15. Copyright 2018 Severalnines AB Copyright 2018 Severalnines AB Q & A