MySQL Performance Tuning
- CMDBID 106253
- Course Code OCMYSQLPT
- Duration 4 Days
MySQL Course
course overview
download outline
Select Country and City to View dates & book now
Overview
Audience
Who will the Course Benefit? Who will the Course Benefit?
Anyone who wishes to monitor and tune MySQL performance for MySQL 5.6, 5.7 and 8 databases.
Skills Gained
The delegate will learn and acquire skills as follows:
- Developing a monitoring and tuning plan
- Using monitoring and diagnostic tools
- Using the Information Schema and Show commands to collect data for tuning
- Understanding normalization and de-normalization and their effect on performance
- Performance tuning tools
- Using load generation, stress testing and benchmarking tools
- Using server configuration and status variables
- Understanding the output from the Explain command
- Identifying and improving problem queries
- Making efficient use of indexes
- Monitoring and sizing memory caches
- Monitoring locks
- Tuning the InnoDB storage engine
- Tuning other standard storage engines
- Comparing and tuning dump and load performance
- Evaluating the use of partitioning for performance
Evaluating the use of partitioning for performance Course Objectives Course Objectives
To provide the skills necessary to monitor and tune MySQL performance.
Prerequisites
Outline
View Course Contents - DAY 1 MySQL Performance & Tuning Training Course
Course Introduction
- Administration and Course Materials
- Course Structure and Agenda
- Delegate and Trainer Introductions
Session 1: INTRODUCTION TO PERFORMANCE TUNING
- Tuning Overview
- Tuning Levels
- Resolving Performance Issues
- Recommended Approach to Tuning
- Items to Evaluate
- Where to look
- Planning a Monitoring Routine
- Building a New Database for Performance
- Tuning an Existing Database
- Setting Suitable Goals
Session 2: MYSQL PERFORMANCE TUNING TOOLS
- Administration Tools
- The Information Schema
- MySQL 8 Information Schema Changes
- Performance-related SHOW Commands
- Benchmarking Tools
- The MySQL Performance Schema
- MonYog
- Exercises: Obtaining Performance Information
Session 3: SCHEMA DESIGN
- Normalisation
- De-normalisation
- Naming Conventions
- Load Generation, Stress Testing and Benchmarking Tools
- Selecting Data Types
- Data Types
- Character Sets
- Choosing Storage Engines
- Exercises: Effects of Design on Performance
Session 4: STATEMENT TUNING
- Overview of Statement Tuning
- Identifying Problem Queries
- The Optimizer
- Explain
- Exercises: Identifying Problem Queries and Using Explain
Session 5: INDEXES
- Index Overview
- Index Size
- Types of Index
- Index Tuning
- Indexes and Joins
- Descending Indexes
- Invisible Indexes
- InnoDB Cached Indexes Information
- Exercises: Indexes and Performance
View Course Contents - DAY 2
MySQL Performance & Tuning Training Course
Session 6: SERVER CONFIGURATION AND MONITORING
- Server Configuration Variables
- Server Status Variables
- Table Cache
- Multi-Threading
- Connection Issues
- Query Cache
- Exercises: Setting and Interpreting Server Variables and Caching
Session 7: LOCKING
- Types of Locking
- Locking and Storage Engines
- Effects of Locking on Performance
- Monitoring InnoDB Locks in MySQL 5,7 and 8
- MySQL 8 Disable Deadlock Detection
- Exercises: Locking and Performance
Session 8: THE INNODB ENGINE
- Transactions
- Crash Recovery
- Locking
- Monitoring InnoDB
- Caches and Buffers
- Configuring Data Files
- Configuring the Log Files
- Exercises: InnoDB Configuration and Performance
View Course Contents - DAY 3
Session 9: OTHER STORAGE ENGINES
- MyISAM Engine
- Merge Engine
- Archive Engine
- Memory Engine
- Blackhole Engine
- CSV Engine
- The Spider Engine
- The ColumnStore Engine
- The MyRocks Engine
- Mixing Storage Engines
- Exercises: Storage Engine Performance
Session 10: OVERVIEW OF CLUSTERING AND PERFORMANCE
- Advantages Performance Advantages of Clustering
- Performance Issues and Clustering
- The NDBCluster Engine
- The Galera Cluster
- The Percona XtraDB Cluster
- MySQL InnoDB Cluster
- The Federated Engine
- The FederatedX Engine
- Overview of Other High Availability Techniques
- NOSQL and Mencached Overview
Session 11: DUMPING AND LOADING DATA
- SQL statements versus delimited data
- Parameters affecting dump performance
- Parameters affecting load performance
- Exercises: Dump and load performance
Session 12: PARTITIONED TABLES
- Partitioned tables concepts
- Range partitioning
- Hash partitioning
- Key partitioning
- List partitioning
- Composite partitioning or subpartitioning
- Partition Pruning
- MySQL 8 Partitioning new features
- Exercises: Partitioned Table Performance
Certification
Examinations Examinations
There are currently no official certification examinations for MySQL Performance and Tuning.
Course Contents
View Course Contents - DAY 1
...moreMySQL Performance & Tuning Training Course
Course Introduction
- Administration and Course Materials
- Course Structure and Agenda
- Delegate and Trainer Introductions
Session 1: INTRODUCTION TO PERFORMANCE TUNING
- Tuning Overview
- Tuning Levels
- Resolving Performance Issues
- Recommended Approach to Tuning
- Items to Evaluate
- Where to look
- Planning a Monitoring Routine
- Building a New Database for Performance
- Tuning an Existing Database
- Setting Suitable Goals
Session 2: MYSQL PERFORMANCE TUNING TOOLS
- Administration Tools
- The Information Schema
- MySQL 8 Information Schema Changes
- Performance-related SHOW Commands
- Benchmarking Tools
- The MySQL Performance Schema
- MonYog
- Exercises: Obtaining Performance Information
Session 3: SCHEMA DESIGN
- Normalisation
- De-normalisation
- Naming Conventions
- Load Generation, Stress Testing and Benchmarking Tools
- Selecting Data Types
- Data Types
- Character Sets
- Choosing Storage Engines
- Exercises: Effects of Design on Performance
Session 4: STATEMENT TUNING
- Overview of Statement Tuning
- Identifying Problem Queries
- The Optimizer
- Explain
- Exercises: Identifying Problem Queries and Using Explain
Session 5: INDEXES
- Index Overview
- Index Size
- Types of Index
- Index Tuning
- Indexes and Joins
- Descending Indexes
- Invisible Indexes
- InnoDB Cached Indexes Information
- Exercises: Indexes and Performance
View Course Contents - DAY 2
Session 6: SERVER CONFIGURATION AND MONITORING
- Server Configuration Variables
- Server Status Variables
- Table Cache
- Multi-Threading
- Connection Issues
- Query Cache
- Exercises: Setting and Interpreting Server Variables and Caching
Session 7: LOCKING
- Types of Locking
- Locking and Storage Engines
- Effects of Locking on Performance
- Monitoring InnoDB Locks in MySQL 5,7 and 8
- MySQL 8 Disable Deadlock Detection
- Exercises: Locking and Performance
Session 8: THE INNODB ENGINE
- Transactions
- Crash Recovery
- Locking
- Monitoring InnoDB
- Caches and Buffers
- Configuring Data Files
- Configuring the Log Files
- Exercises: InnoDB Configuration and Performance
View Course Contents - DAY 3
Session 9: OTHER STORAGE ENGINES
- MyISAM Engine
- Merge Engine
- Archive Engine
- Memory Engine
- Blackhole Engine
- CSV Engine
- The Spider Engine
- The ColumnStore Engine
- The MyRocks Engine
- Mixing Storage Engines
- Exercises: Storage Engine Performance
Session 10: OVERVIEW OF CLUSTERING AND PERFORMANCE
- Advantages Performance Advantages of Clustering
- Performance Issues and Clustering
- The NDBCluster Engine
- The Galera Cluster
- The Percona XtraDB Cluster
- MySQL InnoDB Cluster
- The Federated Engine
- The FederatedX Engine
- Overview of Other High Availability Techniques
- NOSQL and Mencached Overview
Session 11: DUMPING AND LOADING DATA
- SQL statements versus delimited data
- Parameters affecting dump performance
- Parameters affecting load performance
- Exercises: Dump and load performance
Session 12: PARTITIONED TABLES
- Partitioned tables concepts
- Range partitioning
- Hash partitioning
- Key partitioning
- List partitioning
- Composite partitioning or subpartitioning
- Partition Pruning
- MySQL 8 Partitioning new features
- Exercises: Partitioned Table Performance
Course Contents View Course Contents - DAY 1
...more MySQL Performance & Tuning Training Course
MySQL Performance & Tuning Training Course MySQL Performance & Tuning Training Course
Exercises: Indexes and Performance View Course Contents - DAY 2
Exercises: InnoDB Configuration and Performance View Course Contents - DAY 3
What is the MySQL Performance and Tuning course about?
Who should attend the MySQL Performance and Tuning training course?
Does the MySQL Performance and Tuning course include certification or an exam?
How can I enrol in the MySQL Performance and Tuning course?
Talk to an expert
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. Its a cost effective option. One on one training can be delivered too, at reasonable rates.
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.
All $ prices are in USD unless it’s a NZ or AU date
SPVC = Self Paced Virtual Class
LVC = Live Virtual Class
Please Note: All courses are availaible as Live Virtual Classes
Trusted by over 1/2 million students in 15 countries
Our clients have included prestigious national organisations such as Oxford University Press, multi-national private corporations such as JP Morgan and HSBC, as well as public sector institutions such as the Department of Defence and the Department of Health.