MySQL Database Administration

Course Code: MYSDBA

Duration: 5 days

 
 
 
 

MySQL Database Administration Course Overview

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

The course provides an understanding of MySQL Architecture and provides practical experience in the routine maintenance, administration, and backup and recovery of data in a MySQL server. Experience will be gained in the installation, configuration, and maintenance of a MySQL server This MySQL Database Administration course also covers MySQL replication and its role in high availability and scalability.

Similarly, the course is targeted to closely follow the official Oracle MySQL curriculum for certification.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Versions supported 8.

Course Objectives

At the end of the MySQL Database Administration course, delegates will have the knowledge to use the features available to administer, monitor and support MySQL databases and servers.

Who will the Course Benefit?

Database Administrators, Database Developers and Technical Consultants who need to setup, administer, monitor and support MySQL databases and servers.

Skills Gained

The delegate will learn and acquire skills as follows:

  • Using Client Programs for MySQL DBA activities
  • Using MySQL Workbench to administer MySQL
  • Obtain metadata
  • Install the MySQL Server and client programs
  • Configure the MySQL Server
  • Administer and tune a server
  • Setting up Character Set Support
  • Configure log files and use them to monitor database activity
  • Interpret error messages
  • Lock and transaction handling
  • Use different storage engines
  • Table Maintenance
  • Implement a backup strategy
  • Perform physical and logical backups of data
  • Administer Users and Privileges
  • Use the Event Scheduler
  • Configure simple replication topologies
  • Administer a replication topology

MySQL 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 to MySQL
  • The versions of MySQL
  • MySQL Database Server Releases
  • MySQL Database Versions
  • The MySQL Server
  • MySQL Client Connections
  • MySQL Client Programs
  • MySQL Client Libraries
  • The mysql Command Line Tool
  • The mysqladmin Program

Session 2: MYSQL WORKBENCH

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

Session 3: OBTAIN METADATA

  • What is Metadata?
  • The mysqlshow Client Program
  • The SHOW and DESCRIBE Commands
  • Obtaining data from the INFORMATION_SCHEMA
  • MySQL 8 INFORMATION_SCHEMA Changes
  • Generate Statements using the INFORMATION_SCHEMA

Session 4: CONFIGURE THE SERVER

  • Start and Stop the MySQL Server
  • Status Files
  • An Overview of MySQL Storage Engines
  • MySQL Server Options and Variables
  • MySQL Status Variables
  • Configure the MySQL Enterprise Edition Auditing Plugin

Session 5: SQL MODES, LOG FILES AND BINARY LOGGING

  • SQL Modes
  • The General Log
  • The Error Log
  • The Slow Query Log
  • The Binary Logs

MySQL Database Administration Training Course

Session 6: MYSQL ARCHITECTURE

  • Communication Protocols used to connect a Client to the Server
  • The SQL Parser and Storage Engine Tiers
  • Installing and Uninstalling Plugins
  • How MySQL Uses Disk Space
  • How MYSQL Uses Memory

Session 7: THE INNODB STORAGE ENGINE

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

Session 8: OTHER STORAGE ENGINES

  • Check Engine Usage
  • The MYISAM Engine
  • The Merge Engine
  • Other Engines: Archive, Memory, Blackhole, CSV, Spider, MyRocks
  • Mixing Storage Engines

Session 9: TABLE MAINTENANCE

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

MySQL Database Administration Training Course

Session 10: BACKUP AND RECOVERY

  • The Advantages and Disadvantages of Different Backup Methods
  • Backup Tool Overview
  • What Should be Backed up?
  • Binary Backups of MYISAM Tables
  • Binary Backups of Innodb Tables
  • Performing Hot Backups
  • Performing Recovery
  • Import and Export Operations
  • Export and Import using SQL
  • Export from the Command Line using mysqldump
  • Import from the Command Line using mysqlimport
  • Additional Backup Tools

Session 11: USER MANAGEMENT

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

Session 12: PRIVILEGES

  • Types of Privileges
  • Granting and Revoking Privileges
  • Setting Resource Limits
  • Resource Management
  • Role Management
  • The MySQL Database
  • The Show Grants Command

MySQL Database Administration Training Course

Session 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
  • Possible Causes of Lock Contention
  • Handling Concurrency Problems and Deadlocks

Session 14: TUNING THE SERVER

  • Status Configuration Variables
  • Status Variables
  • System Variables
  • Per Client Variables
  • Performance Schema Overview

Session 15: THE EVENT SCHEDULER

  • Event scheduler concepts
  • Event scheduler configuration
  • Creating, altering and dropping events
  • Event scheduler monitoring
  • Events and privileges

MySQL Database Administration Training Course

Session 16: OVERVIEW OF HIGH AVAILABILITY

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

Session 17: CONFIGURE MASTER SLAVE REPLICATION

  • Replication Overview
  • When to Use Replication
  • Disadvantages of Replication
  • Replication Factors
  • Replication Architecture
  • Complex Replication Topologies
  • Replicating from InnoDB to MyISAM Tables
  • Testing Replication
  • Monitoring Replication Threads
  • Excluding Databases or Tables from Replication
  • Example: Setting Up a Master Slave Replication
  • Replication Using GTIDs
  • Run Replication from a Remote Host
  • Controlled Switchover

Session 18: ADMINISTER A REPLICATION TOPOLOGY

  • MySQL Replication and Failover Utilities
  • Replication Files and Threads
  • Configure a Lagging Slave
  • Monitoring Replication
  • Troubleshooting Replication
  • Semi-synchronous Replication
  • Configure MySQL Failover

Session 19: MYSQL SERVER INSTALLATION, UPGRADE DEPLOYMENT SECURITY

  • MySQL Distributions
  • Installing MySQL on Linux and UNIX
  • The Installation Directories
  • Set a Password for the mysql root user
  • Upgrade the MySQL Server
  • Deployment Security
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.

Examinations

The MySQL Database Administration course is an excellent choice for delegates preparing to take the following exam:

  • Oracle Certified Professional MySQL 8.0 Database Administrator: 1Z0-908

Attending these courses and studying the associated reference materials can form part of the preparation to achieve certification. Experience, practice, self-study and aptitude are also key requirements for exam success.

Before taking any exam, ensure you have the recommended experience. The Oracle website lists all exam requirements and these are updated regularly.

Exams are not included as part of the course.

Requirements

A working knowledge of MySQL 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 knowledge can be gained by attendance on the Introduction to MySQL course.

This course is run on a Linux operating system platform, therefore, a good working knowledge of Linux/UNIX is strongly recommended. This knowledge can be gained by attendance on the Linux Introduction course.

Pre-Requisite Courses

Course Reviews

Outstanding course that covers all the latest details for MySQL. Tutor was very knowledgeable and helpful and made the course flow very well. Course notes are really good and you download them to keep in digital format.

Duncan - DBA - Academic - February 2024


Thank you for a wonderful and informative course will definitely look to you for future courses.

Jason - Travel


Excellent course as usual, great tutor and excellent knowledge.

Carl - DBA - Communications


First time using StayAhead for training and would use again and recommend.

Craig - Insurance


Good course, well instructed good learning environment.

Ellis - Finance


The trainer provided in depth knowledge of the MySQL product, and was very helpful with any questions that I had.

Paul - Systems Linux Engineer - Communications


Public Scheduled Events

Classroom & Live Virtual Instructor-Led Training

Duration: 5 days

Price: £2,250.00 exc. VAT 


Start Date Options Spaces  
10 Jun 2024
StayAhead Virtual Courses available 
Spaces Book Now 
05 Aug 2024
StayAhead Virtual Courses available 
Spaces Book Now 
30 Sep 2024
StayAhead Virtual Courses available 
Spaces Book Now 
25 Nov 2024
StayAhead Virtual Courses available 
Spaces Book Now 
 

Live Virtual Classroom

 
Join live instructor-led classroom training from the comfort of your home or office.
All the convenience and benefits of the classroom experience without the hassle and costs of travel and accommodation.
 
 



Our Customers Include

 
EDF
Amazon
American Express
Aviva
QA
BAE
University of Cambridge
Barnardo's
Scottish Government
Bauer
Bloomberg
BP
HSBC
DVLA
GlaxoSmithKline
Government Campus
Capita
Tui
NHS
Ordnance Survey
Ministry of Defence
Zurich Insurance Group
trainline
Vodafone
 
 



Our Course Curriculum

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