MySQL Performance Tuning

מק"ט: #61820 | משך קורס: 32 שעות אק'

In this class, you'll learn practical, safe, highly efficient ways to optimize performance for the MySQL Server. This course will prepare each student with the skills needed to utilize tools for monitoring, evaluating and tuning. Students will evaluate the architecture, learn to use the tools, configure the database for performance, tune application and SQL code, tune the server, examine the storage engines, assess the application architecture, and learn general tuning concepts.

הקורס פעיל לקבוצות מטעם ארגונים בלבד, ניתן לשלוח פנייה רק אם מדובר בקבוצה
*שדות חובה

מטרות הקורס

By the end of this course participants will be able to:

  • Understand the basics of performance tuning
  • Use performance tuning tools
  • Tune the MySQL Server instance to improve performance
  • Improve performance of tables based on the storage engine being used
  • Implement proper Schema Design to improve performance
  • Improve the performance of MySQL Queries
  • Describe additional items related to performance tuning 


קהל היעד

Experienced MySQL DB Administrators

תנאי קדם

  • Experience in maintaining a MySQL database server 
  • Can use MySQL tools to connect to the MySQL Server
  • Have knowledge of general SQL statement structure and basic SQL tuning principles
  • Working knowledge of Linux operating systems
  • Experience with a MySQL Server instance and MySQL tools - recommended
  • Experience writing SQL retrieve, insert, modify and delete - recommended



Module 1: Introduction

  • MySQL Overview, Products and Tools
  • MySQL Services and Support
  • MySQL Web Pages
  • MySQL Documentation


Module 2: Performance Tuning Basics

  • Thinking About Performance
  • Areas to Tune
  • Performance Tuning Terminology
  • Benchmark Planning, Benchmark Errors
  • Tuning Steps and General Tuning Session
  • Deploying MySQL and Benchmarking


Module 3: Performance Tuning Tools

  • MySQL Monitoring Tools
  • Open Source Community Monitoring Tools
  • Benchmark Tools
  • Stress Tools


Module 4: MySQL Server Tuning

  • Major Components of the MySQL Server
  • MySQL Thread Handling and Memory Usage
  • Simultaneous Connections in MySQL
  • Reusing Threads
  • Effects of Thread Caching
  • Reusing Tables
  • Setting table_open_cache


Module 5: MySQL Query Cache

  • MySQL Query Cache
  • When to Use (and NOT to use) the MySQL Query Cache
  • MySQL Query Cache Settings and Status Variables
  • Improve Query Cache Results


Module 6: InnoDB

  • InnoDB Storage Engine
  • Using the InnoDB Storage Engine
  • InnoDB Log Files and Buffers
  • Committing Transactions
  • InnoDB Table Design
  • InnoDB Monitors and Settings


Module 7: MyISAM

  • MyISAM Storage Engine Uses
  • MyISAM Table Design
  • Optimizing MyISAM
  • MyISAM Table Locks
  • MyISAM Settings
  • MyISAM Key Cache
  • MyISAM Full-Text Search

Module 8: Other MySQL Storage Engines and Issues

  • Large Objects
  • MEMORY Storage Engine Uses
  • MEMORY Storage Engine Performance
  • Multiple Storage Engine Advantages
  • Single Storage Engine Advantages



Module 9: Schema Design and Performance

  • Schema Design Considerations
  • Normalization and Performance
  • Schema Design
  • Data Types
  • Indexes
  • Partitioning


Module 10: MySQL Query Performance

  • General SQL Tuning Best Practices
  • MySQL Optimizer
  • Finding Problematic Queries
  • Improve Query Executions
  • Locate and Correct Problematic Queries


Module 11: Performance Tuning Extras

  • Configuring Hardware
  • Considering Operating Systems
  • Operating Systems Configurations
  • Logging
  • Backup and Recovery


לפי יצרן: