MySQL Database Administration
 
 

MySQL Database Administration

Course Code: MYSDBA

Duration: 5 days

Our training courses can also be delivered at a location of your choice...

S17

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 practical experience in setting up, configuring and maintaining a MySQL server, backing up and recovering data and optimising query performance. This MySQL Database Administration course also covers MySQL replication and its role in high availability and scalability.

Versions supported 8, 5.7, 5.6.

The delegate will learn and acquire skills as follows:

  • Using Client Programs for MySQL DBA work
  • Using MySQL Workbench
  • Obtaining metadata
  • Configuring the MySQL Server
  • Install and configure the MySQL Server and client programs
  • Administering and tuning a server
  • Upgrading a Server
  • Setting up Character Set Support
  • Configuring log files and using them to monitor database activity
  • Interpreting error messages
  • Locking and transaction handling
  • 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 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 MySQL databases and servers.

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 5.6, 5.7 and 8 databases and servers.

Examinations

The MySQL Database Administration course will teach the major topics required for the delegate to work towards achieving the following examination:

  • Oracle Certified Professional MySQL 5.7 Database Administrator Exam (1Z0-888)

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

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

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
  • The versions of MySQL
  • An Overview of MySQL Architecture
  • The MySQL Server
  • MySQL Client Connections
  • MySQL Client Programs
  • MySQL Client Libraries
  • The mysql Command Line Tool
  • The mysqladmin Program
  • Exercises: Using MySQL Client Programs

Session 2: MYSQL WORKBENCH

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

Session 3: OBTAINING METADATA

  • What is Metadata?
  • The mysqlshow Client Program
  • The SHOW and DESCRIBE Commands
  • The INFORMATION_SCHEMA
  • MySQL 8 INFORMATION_SCHEMA Changes
  • The Show Command and INFORMATION_SCHEMA Differences
  • Exercises: Obtaining Information about MySQL

Session 4: MYSQL SERVER INSTALLATION AND CONFIGURATION

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

Session 5: CONFIGURING THE SERVER

  • MySQL Server Options and Variables
  • MySQL Status Variables
  • Configuring MySQL Enterprise Audit
  • 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

MySQL Database Administration Training Course

Session 7: MYSQL ARCHITECTURE

  • Client/Server Overview
  • Communication Protocols
  • The SQL Parser and Storage Engine Tiers
  • How MySQL Uses Disk Space
  • How MYSQL Uses Memory
  • Exercises: Examining the Architecture of MySQL

Session 8: 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
  • Exercises: Locking Tables and Rows

Session 9: THE INNODB STORAGE ENGINE

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

Session 10: OTHER STORAGE ENGINES

  • Introduction
  • The MYISAM Engine
  • The Merge Engine
  • Other Engines: Archive, Memory, Blackhole, CSV
  • Cluster Engine Overview
  • Exercises: Using Storage Engines

Session 11: TABLE MAINTENANCE

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

MySQL Database Administration Training Course

Session 12: BACKUP AND RECOVERY

  • Designing a Backup and Recovery Strategy
  • The Advantages and Disadvantages of Different Backup Methods
  • Backup Tool Overview
  • Binary Backups of MYISAM Tables
  • Binary Backups of Innodb Tables
  • Performing 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 and Revoking Privileges
  • Setting Resource Limits
  • MySQL 8 Resource Management
  • MySQL 8 Role Management
  • The MySQL Database
  • The Show Grants Command
  • 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
  • Upgrade the Server
  • MySQL 8 Upgrade Checker
  • Deployment Security
  • Database Server Access
  • Exercises: Securing the Server

MySQL 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
  • Indexing and Joins
  • Prefixed Indexes
  • Composite Indexes
  • Fulltext Indexes
  • Invisible Indexes
  • Index Hints
  • Conditions that Prevent Index Usage
  • InnoDB Cached Indexes Information
  • MyISAM Index Caching
  • 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
  • MySQL 8 Desupport of 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
  • Maintenance of partitioned tables
  • MySQL 8 Partitioning Changes
  • Exercises: Using partitioned tables

MySQL Database Administration Training Course

Session 22: OVERVIEW OF CLUSTER STORAGE ENGINES

  • Overview of Clustering and Performance
  • Advantages Performance Advantages of Clustering
  • Performance Issues and Clustering
  • NDBCluster Engine Overview
  • The Galera Cluster
  • The Percona XtraDB Cluster
  • MySQL InnoDB Cluster
  • The Federated Engine
  • NOSQL and MemCached 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 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
  • Controlled Switchover
  • Configure Replication using MySQL Workbench
  • Exercises: Setting Up and Testing GTID and non-GTID Replication

Session 25: ADMINISTER A REPLICATION TOPOLOGY

  • MySQL Replication and Failover Utilities
  • Access the Utilities from MySQL Workbench
  • Replication Files and Threads
  • Configure a Lagging Slave
  • Monitoring Replication
  • Troubleshooting Replication
  • Semi-synchronous Replication
  • Configure MySQL Failover
  • Exercises: Failover from Master to Slave
 

MySQL Database Administration

Duration: 5 days

RRP: £1,495.00 exc. VAT 


Upcoming Scheduled Events
Next 6 months

London
Start Date   Spaces Book
03 Feb 2020
StayAhead Virtual Courses available 
Spaces StayAhead - Course Running Book
 
23 Mar 2020   Spaces StayAhead - Course Running Book
 
11 May 2020   Spaces StayAhead - Course Running Book
 
29 Jun 2020   Spaces StayAhead - Course Running Book
 
17 Aug 2020   Spaces StayAhead - Course Running Book
 
12 Oct 2020   Spaces StayAhead - Course Running Book
 
07 Dec 2020   Spaces StayAhead - Course Running Book
 
Virtual Events StayAhead Virtual Courses available You can attend your training virtually using the London dates shown above. Those events highlighted with StayAhead Virtual Courses available already have virtual delegates booked. Please contact us for more details on our Virtual training options or to discuss specific Virtual course dates to meet your requirements.
 

Course Reviews

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


More Course Reviews....

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


I enrolled on this course to get a good initial understanding of MySQL and this course achieved it. The documentation and instruction were both excellent. Hopefully this will allow me to move on to gain on the job experience.

Shahriar - DBA


 
 
 
        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.28%

Course
Practical
 

92.71%

Overall
Courseware
 

94.31%

Overall
Course
 

96.37%

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