EIEIOTECHNOVATION
← Training programmes

EIEIO / DATA SCIENCE

MariaDB Database Administration Course

Course outline

5 days

Duration

MariaDB Database Administration Course

5 days

Overview

In this 5-day MariaDB Database Administration course you will learn about MariaDB Architecture and practical experience in setting up, configuring and maintaining a MariaDB server, and backing up and recovering data.

Target Audience

This course is intended for Database Administration, Database Developers and Technical Consultants.

Learning Objectives

After completing this course, you will be able to:

  • Using Client Programs for MariaDB DBA work
  • Using GUI Tools
  • Obtaining metadata
  • Configuring the Server
  • Install and configure the MariaDB Server and client programs
  • Administer and tune 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
  • Configure simple replication topologies

Introduction

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

Module 2: MYSQL WORKBENCH

  • Installation of MySQL Workbench
  • Connecting to MySQL Workbench
  • MySQL Workbench Screens

Module 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

Module 4: CONFIGURE THE SERVER

  • Start and Stop the Server
  • Status Files
  • Time Zone Tables
  • An Overview of MySQL Storage Engines
  • MariaDB Server Options and Variables
  • MariaDB Status Variables
  • Configuring MariaDB Enterprise Audit

Module 5: SQL MODES, LOG FILES AND BINARY LOGGING

  • 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

Module 6: MARIADB ARCHITECTURE

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

Module 7: THE INNODB STORAGE ENGINE

  • Features of Innodb
  • Transactions and Referential Integrity
  • Physical Characteristics of Innodb Tables
  • The System Tablespace Configuration
  • File per Table Tablespace
  • Log File and Buffer Configuration
  • Undo Logs and Undo Tablespaces
  • Temporary Table Tablespaces
  • InnoDB Shutdown Options
  • InnoDB Status

Module 8: OTHER STORAGE ENGINES (Quick Introduction)

  • Check Engine Usage
  • The MYISAM Engine
  • The Merge Engine
  • Other Engines: Archive, Aria, Memory, Blackhole, CSV
  • Overview of the ColumnStore Engines

Module 9: TABLE MAINTENANCE

  • Table Maintenance Operations
  • Check Table
  • Repair Table
  • Analyze Table
  • Optimize Table
  • MySQL Check
  • MyISAM Table Maintenance and Repair Utilities

Module 10: BACKUP AND RECOVERY

  • The Advantages and Disadvantages of Different Backup Methods
  • Overview of Backup Tools
  • Binary Backups of MYISAM Tables
  • Binary Backups of Innodb Tables
  • Performing Hot Backups
  • Performing 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 (Names / Introduction)

Introduction

  • User Accounts
  • Creating Users
  • Renaming Users
  • Change a User Password
  • Dropping Users
  • Granting Privileges
  • The User Table
  • Connection Validation
  • Password Validation Plugins

Module 12: PRIVILEGES

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

Module 13: TRANSACTIONS AND LOCKING

  • Locking Concepts
  • Levels of Locking
  • Implicit Table Locking with MyISAM and InnoDB
  • Explicit Table Locking
  • Advisory Locking
  • Monitoring Locks
  • Turning Autocommit on and off
  • Using Transaction Blocks
  • Handling Concurrency Problems and Deadlocks

Module 14: TUNING AND TABLES

  • General Table Optimizations
  • Myisam Specific Optimizations
  • Innodb Specific Optimizations

Module 15: TUNING THE SERVER

  • Status Variables
  • Server Variables
  • System Variables
  • Per Client Variables
  • Performance Schema Overview
  • The Query Cache

Module 16: THE EVENT SCHEDULER

  • Event scheduler concepts
  • Event scheduler configuration
  • Quick Demo

Module 17: MARIADB SERVER INSTALLATION AND UPGRADE

  • Installing MariaDB on Linux and UNIX
  • Deployment Security
  • Database Server Access

Module 18: OVERVIEW OF HIGH AVAILABILITY

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

Module 19: CONFIGURE MASTER SLAVE REPLICATION

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

Module 20: ADMINISTER A REPLICATION TOPOLOGY

  • Replication Files and Threads
  • Lagging Slave
  • Monitoring Replication

Programme scope, delivery arrangements and suitability are confirmed during enquiry.