This class was great, and the ability to take it from home was the cherry on the sundae. It was int... More Testimonials »

MySQL Optimization Training

Delivery Options

Upcoming Live eLearning Classes

There are currently no upcoming Live eLearning classes. Please contact us if you would like us to schedule a class.

Class Description

Class Overview

The MySQL Optimization Training course is aimed for both Database Developers and Administrators, and anyone involved in monitoring and optimizing MySQL. This course will provide students with the skills and tools for monitoring, analyzing and optimizing database performance.

Class Goals

  • Develop a tuning strategy.
  • Display knowledge of MySQL architecture.
  • Display knowledge and ability to use diagnostic tools.
  • Display knowledge and ability to use tuning tools.
  • Write queries against the INFORMATION_SCHEMA database and be able to decipher the metadata obtained.
  • Understand the relational database model and both the positive and negative implications on performance.
  • Display, decipher and edit server configuration variables to improve performance of your applications.
  • Display and analyze status variables to ensure that their applications are utilizing the settings in the most effective manner.
  • Write queries that take advantage of the MySQL 5.0 performance enhancements dealing with queries and indexing.
  • Decide which of the storage engines could be used in their specific application needs.
  • Evaluate the application architecture for efficient design, structure, caching, number of connections and other factors affecting performance.
  • Evaluate hardware and OS for effects on performance.
  • Evaluate techniques for loading data into the database and effects on performance.
  • Optimize at various levels - Installation, Databases and statements.
  • Configure MySQL to optimize.

Class Outline

  1. Optimizing Databases and Their Objects
    1. Optimizing Databases
    2. Improving Application Design
    3. Precomputing Queries
    4. Materialized Views
    5. Transactions
    6. Indexing
      1. Types Of Indexes
      2. Indexes are not used when ...
      3. Client-Server Interactions
    7. MyISAM Index Collecting Statistics
  2. Optimizing and Tuning Queries
    1. Query Execution Plan
    2. Analyzing the output from EXPLAIN Statement
      1. Explain Table
    3. Join Optimization
      1. Cartesian Product
      2. Match Elimination: Filtering Joins
      3. Using Joins in Aggregation
      4. Optimizing Joins
      5. Driving Tables
    4. When to Index
      1. Index Types
    5. SQL Queries: Other Optimizations
      1. Optimizing Data Retrieval
      2. Cardinality of a Table
      3. Using the OPTIMIZE TABLE Statement
    6. The Slow Query Log
  3. Tuning MySQL for Performance
    1. System Characteristics
      1. Disk I/O Speed
      2. Memory
      3. How MySQL Uses Memory
      4. Processor Speed
      5. Network Bandwidth
    2. Tuning Server Parameters
    3. MySQL Query Cache
    4. The MyISAM Key Cache
    5. Examining Thread Information
  4. MySQL Table Types
    1. MySQL Table Types (Storage Engines)
    2. Setting/Changing Engine
    3. MyISAM Tables
      1. Full-Text Search on MyISAM Tables
      2. Creating a Full-Text Index
      3. Using Full-Text Search
    4. InnoDB Tables
      1. InnoDB - Limitations and Drawbacks
      2. InnoDB Disk Management
      3. Preventing Problems
      4. Moving Files
    5. FOREIGN KEY Constraints in InnoDB
      1. Checking Foreign Keys
    6. Choosing - MyISAM or InnoDB?
    7. HEAP or MEMORY Tables
    8. Temporary Tables
    9. MERGE Tables
    10. Other Table Types
      1. ARCHIVE or Compressed Tables (since MySQL 4.1)
      2. CSV Type Tables(since MySQL 4.1)
      3. NDB or Cluster Tables (since MySQL 4.1)
      4. FEDERATED or External Tables (since MySQL 5.0)
      5. BDB Tables
    11. Table Files Storage

Class Materials

All students receive a course manual or book and all the class examples.

Students in private onsite classes will also receive:

Class Prerequisites

Experience in the following areas is required:

  • General RDBMS and SQL knowledge and principles
  • Understanding of DDL objects - tables, Indexes, constraints and others
  • Understanding of database installation and deployment
  • Basic knowledge hardware and OS

Experience in the following areas would be beneficial:

  • Understands different methodologies for modeling database structures
  • Understanding of database installation and deployment
  • Basic knowledge hardware and OS

Technical Requirements

Our computer technical requirements and setup process is easy, with support just a click away.


  • MySQL TM and all MySQL-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the U.S. and other countries.
Client Success
  1. Independent Survey
  2. Client List
  3. Testimonials
Join The Team
  1. Learn how you can become a Webucator Trainer
  2. Career Opportunities
Training Classes
Locations
Live eLearning

Like a class you would go to, but you don't have to go anywhere. More...

Customized Onsite Training

The trainer comes to you and delivers a class customized for your team. More...

Self-Paced eLearning

Our least expensive option. You proceed through the course entirely at your own pace. More...

Reference Library
Partner Programs
© Webucator, Inc. All rights reserved. | Toll Free: 877-932-8228 | UK: 0808-101-3484 | From outside the USA: 315-849-2724| Fax: 315-849-2723