MariaDB Database Administration
 
 

MariaDB Database Administration

Course Code: MARDBA

Duration: 5 days

S10

MariaDB Database Administration Course Overview

This MariaDB Database Administration course is designed for MariaDB 10.3 Database Administrators who have a basic understanding of a MariaDB database and a good working knowledge of SQL commands.

The course provides an understanding of MariaDB Architecture and practical experience in setting up, configuring and maintaining a MySQL server, backing up and recovering data and optimising query performance.

This MariaDB Database Administration course also covers MySQL replication and its role in high availability and scalability. This course is also suitable for users of MariaDB 10.2 and 10.1.

The delegate will learn and acquire skills as follows:

  • Using Client Programs for MariaDB DBA work
  • Obtaining metadata
  • Configuring the Server
  • Install and configure the MariaDB Server and client programs
  • Administering and tuning a server
  • Upgrading a Running Server
  • Setting up Character Set Support
  • Configuring log files and using them to monitor database activity
  • Interpreting error messages
  • Locking and transactions
  • Using different storage engines
  • Table Maintenance
  • Implementing a backup strategy
  • Performing physical and logical backups of data
  • Administering Users and Privileges
  • Securing the Server from common security threats
  • Identify and Optimise poorly tuned queries
  • Tuning Tables and Indexes
  • Using the Event Scheduler
  • Creating Partitioned Tables
  • Replication
  • Configure simple and complex replication topologies
  • Administer a replication topology

Who will the Course Benefit?

Database Administrators, Database Developers and Technical Consultants who need to setup, administer, monitor and support MariaDB 10.3, 10.2 and 10.1 databases and servers.

Course Objectives

At the end of the MariaDB Database Administration course, delegates will have the knowledge to use all the features available to administer, monitor and support MariaDB 10.3, 10.2 and 10.1 databases and servers.

Requirements

A working knowledge of MariaDB is required. Delegates should have knowledge of relational database concepts; have knowledge of MySQL data types; be able run Queries using SQL; join tables and run basic DDL and DML statements. This can be gained by attendance on the Introduction to MariaDBcourse.

This course is run on a Linux operating system, a basic knowledge of UNIX/Linux is essential. This knowledge can be gained by attendance the Linux Introduction course.

Notes

Delegates who are also considering attending the 3 Day FastTrack to MariaDB Database Administration should note that fewer topics are covered on that course and it is delivered at a much faster pace due to the delegates already having substantial experience of administering other databases.

Pre-Requisite Courses

Follow-On Courses

Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.


 

Course Contents

MariaDB Database Administration Training Course

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: THE SERVER, CLIENTS AND TOOLS

  • Introduction
  • The versions of MariaDB
  • An Overview of MariaDB Architecture
  • MySQL Server
  • MySQL Client Connections
  • MySQL Client Programs
  • Mysql Command Line
  • Mysqladmin
  • Exercises: Using Client Programs

Session 2: MYSQL WORKBENCH

  • Installation
  • Connecting
  • Screens
  • Exercises: Using MySQL Workbench

Session 3: OBTAINING METADATA

  • What is Metadata?
  • The mysqlshow Client Program
  • The SHOW and DESCRIBE Commands
  • The Information_Schema
  • Show Command and Information_Schema Differences
  • Exercises: Obtaining Information about MariaDB

Session 4: MARIADB SERVER INSTALLATION AND CONFIGURATION

  • MariaDB Distributions
  • Installing on Linux and UNIX
  • Starting and Stopping on UNIX/Linux
  • Status Files
  • Upgrading the Server
  • Time Zone Tables
  • Exercises: Installing, stopping and starting

Session 5: CONFIGURING THE SERVER

  • MariaDB Server Options and Variables
  • MariaDB Status Variables
  • Configuring MariaDB Audit Plugin
  • Exercises: Configuring the Server

Session 6: SQL MODES, LOG FILES AND BINARY LOGGING

  • MySQL Error Messages
  • The SHOW Errors Statement
  • The SHOW Warnings Statement
  • SQL Modes
  • Note Messages
  • The perror Utility
  • The General Log
  • The Error Log
  • The Slow Query Log
  • The Binary Logs
  • Exercises: Interpreting Errors and Configuring the Logs

MariaDB Database Administration Training Course

Session 7: MARIADB ARCHITECTURE

  • Client/Server Overview
  • Communication Protocols
  • The SQL Parser and Storage Engine Tiers
  • Installing and Uninstalling Plugins
  • How MariaDB Uses Disk Space
  • How MariaDB Uses Memory
  • Exercises: Examining the Architecture

Session 8: TRANSACTIONS AND LOCKING

  • Locking Concepts
  • Levels of Locking
  • Explicit Table Locking
  • Advisory Locking
  • Implicit Locking with InnoDB
  • Exercises: Locking

Session 9: THE INNODB STORAGE ENGINE

  • Introduction
  • Features of Innodb
  • The System Tablespace
  • File per Table Tablespace
  • Physical Characteristics of Innodb Tables
  • System Tablespace Configuration
  • Log File and Buffer Configuration
  • Undo Logs and Undo Tablespaces
  • Temporary Table Tablespaces
  • InnoDB Shutdown Options
  • InnoDB Status
  • Exercises: Using the InnoDB Engine

Session 10: OTHER STORAGE ENGINES

  • Introduction
  • The MYISAM Engine
  • The Merge Engine
  • Other Engines: Archive, Aria, Memory, Blackhole, CSV
  • Cluster Engine Overview
  • Overview of the ColumnStore, MyRocks and Spider Engines
  • Exercises: Using Storage Engines

Session 11: TABLE MAINTENANCE

  • Table Maintenance Operations
  • Check Table
  • Repair Table
  • Analyze Table
  • Optimize Table
  • MySQL Check
  • MyISAM Table Maintenance and Repair Utilities
  • Exercises: Maintaining Tables

MariaDB Database Administration Training Course

Session 12: BACKUP AND RECOVERY

  • Designing a Backup and Recovery Strategy
  • The Advantages and Disadvantages of Different Backup Methods
  • Overview of Backup Tools
  • Binary Backups of MYISAM Tables
  • Binary Backups of Innodb Tables
  • Hot Backups
  • Recovery
  • Import and Export Operations
  • Exporting and Importing using SQL
  • Exporting from the Command Line using mysqldump
  • Importing from the Command Line using mysqlimport
  • Additional Backup Tools
  • Exercises: Backing Up and Recovery

Session 13: USER MANAGEMENT

  • Introduction
  • User Accounts
  • Creating Users
  • Renaming Users
  • Changing Passwords
  • Dropping Users
  • Granting Privileges
  • The User Table
  • Connection Validation
  • Password Validation Plugins
  • Exercises: Creating, Managing and Dropping Users

Session 14: PRIVILEGES

  • Introduction
  • Types of Privileges
  • Granting Privileges
  • Revoking Privileges
  • Resource Limits
  • Resource Management
  • Role Management
  • The mysql Database
  • The Show Grants Command
  • Role management
  • Exercises: Granting and Revoking Privileges

Session 15: SECURITY AND UPGRADES

  • Signs of Poor Security
  • Security Risks
  • Users, Operating System, File System and Network Security
  • Using SSL With MySQL
  • Remote Connecting to the MySQL Server Using SSH
  • Data Encryption
  • Upgrade the Server
  • Database Server Access
  • Exercises: Securing the Server

MariaDB Database Administration Training Course

Session 16: TUNING QUERIES

  • Tuning Overview
  • Identifying Candidates for Query Analysis
  • Using Explain to Analyze Queries
  • Meaning of Explain Output
  • Explain Extended
  • Exercises: Explaining and Tuning Queries

Session 17: TUNING AND INDEXES

  • Indexes for Performance
  • Creating and Dropping Indexes
  • Obtaining Index Metadata
  • Indexing Principles
  • Prefixed Indexes
  • Composite Indexes
  • Fulltext Indexes
  • Index Hints
  • Conditions that Prevent Index Usage
  • Index Only Searches
  • Hints to Use Indexes
  • MyISAM Index Caching
  • Indexing and Joins
  • Specify the Join Order
  • Exercises: Creating and Using Indexes

Session 18: TUNING AND TABLES

  • General Table Optimizations
  • Myisam Specific Optimizations
  • Innodb Specific Optimizations
  • Other Engine Specific Optimizations
  • Exercises: Tuning Tables

Session 19: TUNING THE SERVER

  • Status Variables
  • Server Variables
  • System Variables
  • Per Client Variables
  • Performance Schema Overview
  • The Query Cache
  • Exercises: Tuning the Server

Session 20: THE EVENT SCHEDULER

  • Event scheduler concepts
  • Event scheduler configuration
  • Creating, altering and dropping events
  • Event scheduler monitoring
  • Events and privileges
  • Exercises: Using the event scheduler

Session 21: PARTITIONED TABLES

  • Partitioned tables concepts
  • Obtaining Partitioned Table Metadata
  • Types of Partitioning
  • Subpartitioning
  • Partitioning for Specific Storage Engines
  • Maintenance of partitioned tables
  • Exercises: Using partitioned tables

MariaDB Database Administration Training Course

Session 22: OVERVIEW OF CLUSTER STORAGE ENGINES

  • Overview of Clustering and Performance
  • The Galera Cluster
  • The Percona XtraDB Cluster
  • NOSQL Overview

Session 23: OVERVIEW OF HIGH AVAILABILITY

  • High Availability Goals
  • High Availability Concepts
  • Design for High Availability
  • Definition of Availability
  • High Availability Terminology

Session 24: CONFIGURE MASTER SLAVE REPLICATION

  • Replication Overview
  • When to Use Replication
  • Disadvantages of Replication
  • Replication Architecture
  • Complex Replication Topologies
  • Testing Replication
  • Excluding Databases or Tables from Replication
  • Example: Setting Up a Master Slave Replication
  • Replication Using GTIDs
  • Controlled Switchover
  • Exercises: Setting Up and Testing Replication and Switchover

Session 25: ADMINISTER A REPLICATION TOPOLOGY

  • Replication Files and Threads
  • Lagging Slave
  • Monitoring Replication
  • Troubleshooting Replication
  • Semi-synchronous Replication
  • Failover
  • Replication and Failover Utilities
  • Exercises: Failover from Master to Slave
 

MariaDB Database Administration

Duration: 5 days

RRP: £1,495.00 exc. VAT 


Upcoming Scheduled Events
Next 6 months

London
Start Date   Spaces Book
08 Apr 2019   Spaces StayAhead - Course Running Book
 
17 Jun 2019   Spaces StayAhead - Course Running Book
 
19 Aug 2019   Spaces StayAhead - Course Running Book
 
Virtual Events StayAhead Virtual Courses available You can attend your training virtually using the London dates shown above. Please contact us for more details on our Virtual training options or to discuss specific Virtual course dates to meet your requirements.
 
 
        Home             Let Us Call You
 

 

Course Deliveries

Public Scheduled and Closed
Virtual
UK and Overseas

OUG

Oracle User Group - Membership Benefits

OUG

Certification

Our independent Oracle, Solaris & Red Hat Linux curriculums helps prepare delegates for official certification.

StayAhead
Flexibility

Cannot see a sutiable date?
Please call us and we will try an accommodateyour needs!




Our Course Curriculum

 
 
 
 
 



Our Ratings

Instructor
Quality
 

97.42%

Course
Practical
 

92.55%

Overall
Courseware
 

94.2%

Overall
Course
 

96.41%

+44 (0)20 7600 6116
sales@stayahead.com
Copyright © 2019 StayAhead Training Ltd
Cookies   /   Privacy Policy