MYSQL PERFORMANCE & TUNING TRAINING COURSE DESCRIPTION
This MySQL Performance & Tuning course is designed for Database Administrators,
Application Developers and Technical Consultants who need to monitor and tune
the performance of MySQL servers and databases. The course provides practical
experience in monitoring and tuning MySQL servers and databases.
Note:
This MySQL Performance & Tuning course does not cover clustering (other than at
overview level), replication or non-standard storage engines such as Falcon and
PBXT.
WHAT WILL YOU LEARN
* Develop a monitoring and tuning plan
* Use server configuration and status variables.
* Identify and improve problem queries.
* Make efficient use of indexes.
* Monitor and size memory caches and locks.
* Tune the MyISAM and InnoDB storage engine.
* Evaluate the use of partitioning for performance.
MYSQL PERFORMANCE & TUNING TRAINING COURSE DETAILS
* Who will benefit:
Anyone who wishes to monitor and tune MySQL performance.
* Prerequisites:
Delegates must have a working knowledge of MySQL Database Administration
* Duration
3 days
MYSQL PERFORMANCE & TUNING TRAINING COURSE CONTENTS
* Introduction to performance tuning
Tuning overview, 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.
* MySQL performance tuning tools
Administration tools, the information schema, performance-related SHOW
commands, benchmarking tools, the MySQL performance schema, MonYog.
Hands on Obtaining performance information.
* Schema design
Normalisation, de-normalisation, naming conventions, load generation, stress
testing and benchmarking tools, selecting data types, data types, character
sets, choosing storage engines.
Hands on effects of design on performance.
* Statement tuning
Overview of statement tuning, identifying problem queries, the optimizer,
explain, explain extended.
Hands on identifying problem queries and using explain.
* Indexes
Index overview, Types of index, Index tuning, Indexes and joins.
Hands on Indexes and performance.
* Server configuration and monitoring
Server configuration variables, server status variables, table cache,
multi-threading, connection issues, query cache.
Hands on setting and interpreting server variables and caching.
* Locking
Types of locking, locking and storage engines, effects of locking on
performance.
Hands on locking and performance.
* The InnoDB engine
Transactions, crash recovery, locking, monitoring InnoDB, caches and buffers,
configuring data files, configuring the log files.
Hands on InnoDB configuration and performance.
* 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 sorage engines.
Hands on storage engine performance.
* Overview of clustering and performance
Advantages of 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.
* Dumping and loading data
SQL statements versus delimited data, parameters affecting dump performance,
parameters affecting load performance.
Hands on dump and load performance.
* Partitioned tables
Partitioned tables concepts, range partitioning, hash partitioning, key
partitioning, list partitioning, composite partitioning or subpartitioning,
partition pruning.
Hands on partitioned table performance.