Speak to our team now +44 (0)1737 821590

MySQL Performance & Tuning

A 3 day
HANDS ON
training course

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.

Key outcomes from this course

By the end of the course delegates will be able to:
  • 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

Training approach

This structured course uses Instructor Led Training to provide the best possible learning experience. Small class sizes ensure students benefit from our engaging and interactive style of teaching with delegates encouraged to ask questions throughout the course. Quizzes follow each major section allowing checking of learning. Hands on sessions are used throughout to allow delegates to consolidate their new skills.

Overall ratings:

Course review


"Hard concepts were explained very simply."
J. S. Framestore CFC
"Excellent presentation - very good course structure."
B. M. London Internet Exchange

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.
Exercises: 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.
Exercises: identifying problem queries and using explain.

Indexes
Index overview, Types of index, Index tuning, Indexes and joins.
Exercises: 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.

Why Choose Us

SNT trainers score an average of over 90% on the three main areas of:
  • Ability to teach
  • Technical knowledge
  • Answering questions
“Excellently presented by a very knowledgeable and enthusiastic trainer.” P.D. General Dynamics

We limit our maximum class size to 8 delegates; often we have less than this. This ensures optimal interactivity between delegates and instructor.
"Excellent course. The small class size was a great benefit…" M.B. IBM

We write our own courses; courseware does not just consist of slides and our slides are diagrams not bullet point text. A typical chapter provides clearly defined objectives with a chapter overview, slides with text underneath, a quiz at the end to check the learning of the students. Hands on exercises are at the end and are used to reinforce the theory.

See Dates & Prices for this course

To enquire about this course

To reserve this course online