0345 4506120

MySQL Database Administration

Course Details

Name MySQL Database Administration
DescriptionThis MySQL Database Administration course is designed for MySQL Database Administrators who have a basic understanding of a MySQL database and SQL commands. The course provides practical experience in setting up and maintaining a MySQL server, including backing up, recovery, configuration and optimization. Skills Gained The delegates will practise: Starting, Stopping and Configuring MySQL Security-Related Configuration MySQL Database Creation Using Client Programs for MySQL DBA Work Setting up Character Set Support Locking Using Storage Engines, including the MyISAM and InnoDB engines Table Maintenance Obtaining Data from the Information_Schema Database Backup and Recovery, including Exporting (mysqldump) and Importing (mysqlimport Using Stored Procedures and Triggers for Database Administration Tasks User Management Securing the Server Upgrade-Related Security Issues Optimizing Queries Optimizing Schemas Optimizing the Server The Event Scheduler Partitioned Tables Interpreting Error Messages Optimizing the MySQL Environment Scaling MySQL, including Replication MySQL Workbench and MySQL Administrator Who will the Course Benefit? Anyone who needs to administer, monitor and support MySQL databases and servers. Course Objectives To provide the skills necessary to administer, monitor and support MySQL databases and servers. Examinations The MySQL Database Administration course covers the topics required for the MySQL 5 Database Administrator Certified Professional Exam, Part I (1Z0-873) and MySQL 5 Database Administrator Certified Professional Exam, Part II (1Z0-874). 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. This can be gained by attendance on the Introduction to MySQL course. Note: Delegates who are also considering attending the 3 Day MySQL Database Administration for Experienced Database Administrators should note that both courses cover the same content but the 3 day course is delivered at at a faster pace due to the delegates already having database administration experience Pre-Requisite Courses Introduction to MySQL Follow-On Courses MySQL Performance & Tuning MySQL for Developers Perl Programming Apache Web Server PHP Programming & MySQL for Web Development
URL
Location:
Virtual Classroom
Start Date:
Working Days:
Price:
£1395.00 +vat
Availability:
Exam:
Residential:
Course ID:
496036

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. This course is also suitable for administrators of MySQL 5.6 and 5.7.

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 all the features available to administer, monitor and support MySQL 5.6 and 5.7 databases and servers.

Learning Objectives

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

Pre-Requisites

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 UNIX/Linux is strongly recommended. This knowledge can be gained by attendance on the UNIX Introduction course.

Note:

Delegates who are also considering attending the 3 Day FastTrack to MySQL Database Administration should note that  fewer topics are covered on this 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

  • Introduction to MySQL
  • UNIX Introduction

Follow-On Courses

  • MySQL Performance & Tunin
  • Perl Programmin
  • Apache Web Serve
  • PHP Programming & MySQL for Web Development

Course Content

Course Contents - DAY 1

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

Course Contents - DAY 2

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

Course Contents - DAY 3

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

Course Contents - DAY 4

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

Course Contents - DAY 5

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

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

Virtual Training

Description:

Quite simply, delegates based at home or in their office (or anywhere where there is an internet connection) link into a live instructor led class via their browser.

 

Using our Virtual Classroom Connect solution, the remote (virtual) delegate will connect to the training room via the internet, where they will be able to see, hear and interact with the instructor and, if it is a scheduled course, the classroom based delegates. They will be able to see all trainer demonstrations, slides and whiteboard work and also have access to the practical workshops/labs as though they were attending in the classroom.

 

Virtual delegates can interact during the sessions, joining in discussions with the trainer and, if relevant, the other delegates. If preferred, delegates can raise questions via the text-based virtual interface where the trainer can answer either in a private one to one conversation or to the class in general.

 

 

Headsets (please note that delegates must provide their own headsets for Virtual courses)

We strongly recommend that the delegates attending this training have high quality headsets, which have noise cancelling microphone capability. This is to enable them to clearly hear the course delivery and contribute effectively within the class setting, ensuring clear reciprocal communication between lecturer and delegates throughout the course.

 

Electronic Course Materials

Delegates will be accessing Electronic Course Material throughout the course. To achieve an optimum learning experience, we highly recommend that the delegates have access to a second screen in order to view their course materials separately from their main screen.

 

Optional Additional Service (Printed Course Materials)

In addition to providing electronic course materials, Printed Course Materials can also be provided at an extra cost per manual supplied. The fee charged includes the cost of couriering the printed course materials to the training venue. Please advise at the time of booking if this optional additional service is required.

 

  

VIRTUAL SOLUTION (REMOTE ACCESS SERVICE)

 

To support the practical workshops/labs element of the Virtual Solution, we provide a Remote Access service whereby the delegates connect to servers or individual systems hosted in our London office.  This eliminates the expense of couriering systems to clients’ sites and the uncertainty associated with using clients’ own systems.  Clients will still need to provide a system for the delegates, however these systems will only require one of the following (freely available) connection tools installed: ssh client (eg putty), VNC viewer (eg UltraVNC) or the Windows Remote Desktop client.

 

For the Remote Access solution, we recommend a fast internet connection and minimum of Windows 7 with 4Gb Ram.  Delegates can also connect using Apple MAC or Unix/Linux based client systems and similar connection software.  Depending on the course being delivered there may be further requirements (such as minimum screen resolution, supported browsers etc).  If there are further requirements, a member of our technical team will advise accordingly once we have a clearer understanding of the systems being provided by the client for the training.

 

The client is responsible for the provision, technical setup, installation, testing and connectivity of the training systems to our servers or individual systems in London prior to the training commencing. Performance will be dependent on a good internet connection from the client’s site. As with all internet access, because the internet is outside of our control we are unable to guarantee response times.

 

VIRTUAL CLASSROOM CONNECTION TEST (ADOBE CONNECT WEB SERVICE)

 

We are responsible for providing the Adobe Connect software and Remote Access to the labs/workshops for the course.  To guarantee the successful delivery of the course, each delegate will need to carry out the required pre-course connectivity tests to both the Adobe Connect server and the labs/workshops server well in advance of the course start date.

 

Before we can fully commit to this training being delivered using Remote Access, it would be necessary to test the connectivity between our servers or individual systems hosted in our London office and the delegate's training systems.  We also need to ensure that the delegates can connect onto the course that they will be attending via the Adobe Connect server.

 

To enable the delegates to carry out the required connectivity tests, our booking procedures will provide connection details for the training prior to the event start date. All connectivity tests will need to be carried out well in advance of the training delivery date.

 

Please note, these tests must be performed on the computer system the delegate will be using on their training course and from the same location where they will be sitting during their course attendance.

 

 

This is to ensure that the delegates have the correct levels of software required on their systems. In the instance where their system may not have the required software, they have the ability to download it onto their system (the delegate may need to discuss this with their technical support if they are attending their course within an office environment).

 

This also confirms if the Adobe Connect web service is able to work through any firewalls the delegates’ company may have in place. Details of any required software is provided as and when the test is run.

 

Note: The delegate's systems will also need a working sound card.

 

To run the Adobe Connect connectivity test from their designated system and location, the delegate should use the following link:

http://admin.adobeconnect.com/common/help/en/support/meeting_test.htm

 

Below is a link to a QuickStart guide that delegates attending courses using Adobe Connect may find useful:

http://seminars.adobe.acrobat.com/vqs-participants/

 

NOTES

 

  • The client will be responsible for all the setups for the delegate's systems including user logins, permissions, etc.

 

  • The client will need to carry out the required Remote Access and Adobe Connect connectivity tests as outlined above. These tests will need to take place well in advance of the training delivery date.

 

  • Training cannot be undertaken using the client’s systems without discussion taking place between our technical team and the client with regard to the systems being provided.

 

  • We strongly recommend that the delegates attending this training are provided with high quality headsets, which have noise cancelling microphone capability. This is to enable them to clearly hear the course delivery and contribute effectively within the class setting, ensuring clear reciprocal communication between lecturer and delegates throughout the course.

 

  • Delegates will be accessing Electronic Course Material throughout the course. To achieve an optimum learning experience, we highly recommend that the delegates have access to a second screen in order to view their course materials separately from their main screen.

 

  • If the client is unable to provide suitable systems for this training course, then pre-configured systems could be provided or the course could be delivered at one of our training centres. Please refer to your account manager for further details.

Exams are not included as part of the course.

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.

Our Customers Include