MySQL Database Administration

Duration: 
5 days
Codes: 
MYSDBA
Versions: 
NULL

Overview

This course is designed to give administrators the knowledge and skills needed to maintain successful and efficient operations of MySQL databases and services. Administrators will gain practical experience in setting up, administering and troubleshooting the database.

On completion of the course, delegates will understand how to:

  • Start, Stop and Configure MySQL
  • Security-Related Configuration
  • Create Databases
  • Use Client Programs for DBA Work
  • Set up Character Set Support
  • Locking
  • Use Storage Engines
  • Table Maintenance
  • Obtain Data from the Information_Schema Database
  • Backup and Recovery
  • Use Stored Procedures for Database Administration Tasks
  • User Management
  • Secure the Server
  • Upgrade-Related Security Issues
  • Optimise Queries and Schemas
  • Optimise the Server - The Event Scheduler
  • Partitioned Tables
  • Interprete Error Messages
  • Optimise the Environment
  • Scale MySQL

Audience

This course is ideal for delegates who needs to administer, monitor and support MySQL databases and services.

Skills Gained

Not available. Please contact.

Prerequisites

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 can be gained by at

Course Outline

  • Introduction
  • Course Intro
  • Client Program Limitations
  • mysql
  • MySQL Admin
  • The Information_Schema Database
  • What is Metadata?
  • The mysqlshow Utility
  • The SHOW and DESCRIBE Commands
  • MySQL Administrator
  • Installation
  • Connecting
  • Server Information
  • Service Control
  • User Administration
  • Privileges
  • Health
  • Backup and Restore
  • Catalogs
  • Interpreting Error and Diagnostic Information
  • MySQL Error Messages
  • The SHOW Statement
  • SQL Modes
  • The PERROR Utility
  • The Log
  • The Error Log
  • The Slow Query Log
  • MySQL Architecture
  • Client/Server Overview
  • Communication Protocols
  • The SQL Parser and Storage Engine Tiers
  • MySQL Disk Space Use
  • MYSQL Memory Use
  • Installing, Configuring, Starting and Stopping
  • MySQL Distributions
  • Installing on Windows, Linux and UNIX
  • Starting and Stopping on Windows, UNIX & Linux
  • Configuration
  • Log and Status Files
  • The Default SQL Mode
  • Time Zone Tables
  • Some Security Issues
  • Upgrading
  • Tables, Data Types and Character Set Support
  • Table Properties
  • Creating Tables
  • Altering Tables
  • Dropping Tables
  • Emptying Tables
  • Obtaining Table Metadata
  • Column Attributes
  • Bit Data Type
  • Numeric Data Types
  • Character String Data Types
  • Binary String Data Types
  • Enum and Set Data Types
  • Temporal Data Types
  • Auto_Increment
  • Handling Missing or Invalid Data Values
  • Performance Issues with Character sets
  • Choosing Data Types for Character Columns
  • Locking
  • Locking Concepts
  • Explicit Table Locking
  • Advisory Locking
  • Preventing Locking Problems
  • Storage Engines
  • The MYISAM Engine
  • Locking with MYISAM Tables
  • The Merge Engine
  • Other Engines
  • The Innodb Engine
  • Features of Innodb
  • Transactions
  • Referential Integrity
  • Physical Characteristics of Innodb Tables
  • Tablespace Configuration
  • Log File and Buffer Configuration
  • Innodb Status
  • Table Maintenance
  • Table Maintenance Operations
  • Check Table
  • Repair Table
  • Analyze Table
  • Optimize Table
  • MySQL Check
  • MYISAMCHK
  • Repairing Innodb Tables
  • Enabling MYISAM AutoRepair
  • Backup and Recovery
  • Planning and Implementing a Backup and Recovery Strategy
  • Defining a Disaster Recovery Plan
  • Testing a Backup and Recovery Plan
  • The Advantages and Disadvantages of Different Methods
  • Binary Backups of MYISAM Tables
  • Binary Backups of Innodb Tables
  • Recovery
  • Import and Export Operations
  • Exporting and Importing Using SQL
  • Exporting and Importing from the Command Line
  • User Management
  • User Accounts
  • Creating Users
  • Renaming Users
  • Changing Passwords
  • Dropping Users
  • Granting Privileges
  • The User Table
  • Connection Validation
  • Types of Privileges
  • Revoking Privileges
  • Resource Limits
  • The MySQL Database
  • The Show Grants Command
  • User Variables and Prepared Statements
  • User Variables
  • Prepared Statements
  • Stored Routines for Administration
  • Types of Stored Routines
  • Benefits of Stored Routines
  • Stored Routines Features
  • Stored Routine Maintenance
  • Stored Routine Privileges and Execution Security
  • Triggers
  • DML Triggers
  • The Create Trigger Statement
  • Managing Triggers
  • Securing the Server
  • Security Issues
  • Operating System Security
  • Filesystem Security
  • Log Files and Security
  • Network Security
  • Upgrade-related Security Issues
  • Upgrading the Privilege Tables
  • Security-Related SQL_Mode Values
  • Optimizing Queries
  • Optimization Overview
  • Optimization Process
  • Planning a Routine Monitoring Regime
  • Setting Suitable Goals
  • Identifying Candidates for Query Analysis
  • Using Explain to Analyze Queries
  • Meaning of Explain Output
  • Using Explain Extended
  • Optimization and Indexes
  • Indexes for Performance
  • Creating and Dropping Indexes
  • Obtaining Index Metadata
  • Indexing Principles
  • Indexing and Joins
  • MyIsam Index Caching
  • Optimising Schemas
  • Normalisation
  • General Table Optimizations
  • Myisam Specific Optimizations
  • Innodb Specific Optimizations
  • Other Engine Specific Optimizations
  • Optimising the Server
  • Measuring Server Load
  • System Factors
  • Server Parameters
  • Query Optimizer Performance
  • The Query Cache
  • Optimising the Environment
  • Choosing the Platform
  • Hardware Configurations
  • Disk Issues on Linux
  • Symbolic Links
  • Optimising the Operating System
  • The Event Scheduler
  • Event scheduler concepts
  • Event scheduler configuration
  • Creating, altering and dropping events
  • Monitoring
  • Events and privileges
  • Partitioned tables
  • Partitioned tables concepts
  • Range partitioning
  • Hash partitioning
  • Key partitioning
  • List partitioning
  • Composite partitioning or subpartitioning
  • Maintenance of partitioned tables
  • Scaling MySQL
  • Using Multiple Servers
  • Replication

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. It's a cost effective option.

Submit an enquiry from any page on this site, and let us know you are interested in the requirements box, or simply mention it when we contact you.

Upcoming Dates

  • GREEN This class is Guaranteed To Run.
  • SPVC - Self-Paced Virtual Class.
  • Click a Date to Enroll.
Course Location Days Cost Date
Onsite
Onsite5 2500 £2500 2019-01-20
London
London3 1195 £1195 2019-01-30
London
London5 1495 £1495 2019-02-11
London
London3 1195 £1195 2019-03-25
London
London5 1495 £1495 2019-04-08