MySQL for Database Administrators

Duration 5 Days

About this Course
  • Is your MySQL database secure? Do your users have the correct privileges and access rights?
  • Is your MySQL database operating at optimal efficiency? Do you want to increase the performance of your database and make sure it scales?
  • Do you want to save time using features like Stored Procedures, Triggers and Views?
  • Do you want to utilize the new enterprise features of MySQL 5.0?

Then MySQL for DBAs is the class for you! An Authorized MySQL instructor will teach you how to properly install MySQL, create and execute Backup Strategies, create secure Stored Procedures to update and access data and more!
This instructor led, hands-on class will teach you how to secure users privileges, set resource limitations, and access controls. In addition, you will learn multiple new 5.0 features such as creating and using Stored Procedures, Triggers and Views.

Audience Profile

DBAs and developers who want to administer MySQL

At course completion

After completing this course, you should be able to:

  • Describe the MySQL Architecture, general operational characteristics and resources utilized for running it.
  • Perform the most common Database Administration (DBA) tasks utilizing the various programs contained within the MySQL application
  • Utilize the MySQL Administrator Graphical User Interface (GUI) to manage a MySQL server
  • Use the INFORMATION_SCHEMA database to access metadata
  • Install and Upgrade MySQL 5.0 for the most common operating systems
  • Perform the MySQL start and shutdown operations
  • Configure MySQL server options at runtime
  • Activate and manage numerous server logs
  • Evaluate data types and character sets for performance issues
  • Understand data locking concepts and the different levels of locking in MySQL
  • Differentiate between the multiple storage engines available in MySQL
  • Create, Maintain and Manage MySQL tables
  • Perform backup and restore operations utilizing multiple MySQL tools
  • Manage user maintenance and access to a MySQL Server
  • Maintain integrity of a MySQL installation utilizing security protocols
  • Use stored routines and triggers for administration tasks
  • Manage, apply and understand the reason for using views
  • Improve performance through query optimization
  • Optimize Schemas (Databases) utilizing multiple techniques
  • Utilize MySQL monitoring tools to improve server performance
  • Compare multiple environment options to improve server performance
  • Scale MySQL operations up

Prerequisites

Having attended the MySQL 5.0 for Beginners course or some experience with Relational Databases and SQL.

Course Outline

Chapter 1: Introduction

  • An overview of MySQL
  • MySQL Products
  • MySQL Services
  • Community vs. Enterprise
  • MySQL Partners
  • Supported Operating Services
  • MySQL Certification Program
  • Training Curriculum Paths
  • MySQL Website
  • Installing MySQL
  • Installing the 'world' Database

Chapter 2: MySQL Architecture

  • Client/Server Architecture
  • MySQL Architecture Overview
  • How MySQL Uses Disk Space
  • How MySQL Uses Memory
  • The MySQL Plug-In Interface

Chapter 3: The MySQL Server

  • Types of MySQL Distributions
  • Starting and Stopping MySQL on Windows
  • Starting and Stopping MySQL on Linux
  • Upgrading MySQL

Chapter 4: Configuring the MySQL Server

  • MySQL Configuration
  • Dynamic Server Variables
  • Server SQL Modes
  • Log and Status Files
  • Binary Logging

Chapter 5: MySQL Clients

  • Overview of Administrative Clients
  • Invoking MySQL Client Programs
  • Using the mysql Client
  • The mysqladmin Client
  • MySQL Connectors
  • Third-Party APIs

Chapter 6: Overview of Data Types

  • Data Types
  • Numeric Data Types
  • Character String Data Types
  • Binary String Data Types
  • Temporal Data Types
  • NULLs
  • Column Attributes

Chapter 7: Meta data

  • Metadata Access Methods
  • The INFORMATION_SCHEMA Database/Schema
  • Using SHOW and DESCRIBE
  • The mysqlshow Command

Chapter 8: Storage Engines

  • Storage Engine Overview
  • MyISAM Storage Engine
  • InnoDB Storage Engine
  • MEMORY Storage Engine
  • Other Storage Engines
  • Choosing Appropriate Storage Engines
  • Using Multiple Storage Engines
  • Storage Engine Comparison Chart

Chapter 9: Partitioning

  • Overview of Partitioning
  • Reasons for Using Partitioning
  • Creating a Partitioned Table
  • Obtaining Partition Information
  • Modifying Partitions
  • Removing Partitions
  • Partition Modification Performance Effects
  • Partition Pruning
  • Storage Engine Partition Information
  • Partitioning and Locking
  • Partitioning Limitations

Chapter 10: Transactions and Locking

  • Transactions
  • Transaction Control statements
  • Isolation Levels
  • LockingTransactions
  • Transaction Control statements
  • Isolation Levels
  • Locking

Chapter 11: Security and User Management

  • Security Risks
  • Security Measures
  • Privileges
  • Access Level 1 - User Accounts
  • Access Level 2 - Databases
  • Access Level 3 - Tables
  • Access Level 4 - Columns
  • Access Level 5 - Stored Routines
  • User Account Maintenance
  • Client Access Control
  • Using Secure Connections

Chapter 12: Table Maintenance

  • Table Maintenance
  • SQL Statements for maintenance operations
  • Client and Utility Programs for table maintenance
  • Table Maintenance per Storage Engine

Chapter 13: Exporting and Importing Data

  • Exporting and Importing Data
  • Exporting and Importing Data Using SQL
  • Import Data with the SQL scripts

Chapter 14: Programming with MySQL

  • Defining Stored Routines
  • Execute Stored Routines
  • Examine Stored Routines
  • Stored Routines and Execution Security
  • Defining Triggers
  • Creating Triggers
  • Delete Triggers
  • Trigger Restrictions
  • Trigger Privileges
  • Defining Events
  • Schedule Events
  • DBA's Use of MySQL Programming
  • Backup Stored Routines

Chapter 15: Backup and Recovery

  • Reasons to Backup MySQL Data
  • Planning for Recovery Backup
  • Introduction to MySQL Backup Types
  • Backup Tools Overview
  • Making Raw Backups
  • Making Logical (Text) Backups
  • Backup Log and Status Files
  • Replication as an Aid to Backup
  • Backup Method Comparison
  • Data Recovery

Chapter 16: Views

  • What is a view?
  • Creating Views
  • Updatable Views
  • Managing Views

Chapter 17: Query Performance

  • Query Optimization
  • Using Indexes for Optimization
  • Identifying Candidates for Query Analysis
  • Using EXPLAIN to Analyze Queries

Chapter 18: Optimizing Databases

  • General Table Optimizations
  • MyISAM-Specific Optimizations
  • InnoDB-Specific Optimizations
  • MEMORY-Specific Optimizations

Chapter 19: Server Optimization

  • Setting and Interpreting MySQL Server Variables
  • Measuring Server Load
  • Tuning Memory Parameters
  • Using the Query Cache

Chapter 20: Managing Multiple Servers

  • Using Multiple Servers
  • MySQL Replication
  • MySQL Cluster Replication

Chapter 21: Conclusion

  • Course Overview
  • Training and Certification Website
  • Course Evaluation
  • Thank You!
  • Q&A Session

Certification Test

  • Hands-On certification delivered at end of class