Skip to main content
CF

MySQL Uncovered: Internals, Trace Analysis, and Performance

0h 0m 0s
English
Paid

MySQL Uncovered: Internals, Trace Analysis, and Performance is a self-paced course by Bin Wang. This course is your practical and structured immersion into the inner workings of MySQL, where you will step by step understand how the DBMS receives, optimizes, and executes queries.

Course facts

Lessons
0
Duration
self-paced
Level
All levels
Language
English
Updated
Instructor
Bin Wang
Price
Premium

This course is your practical and structured immersion into the inner workings of MySQL, where you will step by step understand how the DBMS receives, optimizes, and executes queries. You will learn not only the concepts but also the real internal processes that define performance, stability, and scalability of MySQL in production systems.

What you will learn inside MySQL

The course "MySQL Uncovered: Internals, Trace Analysis, and Performance" reveals the key components of the engine and mechanisms that usually remain "behind the scenes." You will see what happens after a query is sent: how the optimizer works, what decisions it makes, how the storage subsystems interact, and what operations become bottlenecks.

Query execution architecture

  • the steps of an SQL query passing through the parser, optimizer, and executor;
  • the optimizer's work: plan selection, join enumeration, cost model;
  • mechanisms like filesort, hash join, window functions, and CTE;
  • why some JOINs are fast and others become bottlenecks.

Internals of storage engines

  • structure of B+Tree indices and their impact on performance;
  • buffer pool, page management, memory, and disk interaction;
  • redo/undo logs, transactions, MVCC, isolation levels, locking;
  • durability, crash recovery, and checkpoint mechanisms.

MySQL optimizer and its limitations

A separate module is dedicated to the work of the optimizer: how cardinality is evaluated, how operation costs are formed, and why the optimizer chooses a particular plan. You will understand the architectural compromises built into MySQL and how they reflect on the performance of real applications.

Practical focus: trace analysis and execution plans

Instead of "in a vacuum" theory, you will learn to work with real trace logs and execution plans. This approach allows you to see MySQL from the inside and accurately understand the reasons for the system's behavior. It is especially useful for diagnosing production problems and optimizing high-load queries.

Why trace analysis is one of the best ways to study MySQL

  • reflects real processes, not abstract models;
  • allows you to see how the optimizer makes decisions;
  • reveals hidden sources of slow operations;
  • combines well with modern AI tools for simplifying the analysis of complex fragments.

Additional important topics

The course also covers architectural features of MySQL, scaling, and comparison with alternative DBMSs.

  • internal structure of storage engines and their differences;
  • high-availability mechanisms and replication;
  • features of MySQL Group Replication;
  • scaling and typical architectural limitations of MySQL;
  • what and why works differently in MySQL and PostgreSQL.

Who the course is for

The course is designed for specialists with an intermediate level of training: a basic understanding of SQL and experience with MySQL is sufficient. Complex topics are explained sequentially, with numerous practical examples and detailed breakdowns of internal mechanisms.

After completing the course, you will be able to

  • analyze MySQL performance on a deep level;
  • read and interpret execution plans;
  • understand the causes of slow queries;
  • design efficient indexes and data schemas;
  • understand why the optimizer makes specific decisions;
  • diagnose production problems and eliminate bottlenecks;
  • consciously compare MySQL and PostgreSQL;
  • deeply understand the architecture of modern relational DBMSs.

Additional

  • This is a text-based course. Please download the archive to get started.

Who teaches MySQL Uncovered: Internals, Trace Analysis, and Performance? Bin Wang

Bin Wang thumbnail

Bin Wang is a database engineer and educator publishing deep technical material on the internals of MySQL and PostgreSQL — the two most-used open-source relational databases in the modern web stack. His material is unusually rigorous for the YouTube tutorial market, going into the actual implementation, on-disk format, and trace-level performance analysis of these systems.

His CourseFlix listing carries two Bin Wang courses: Explore MySQL — A Beginner's Journey into Database Internals and PostgreSQL Uncovered — Internals, Trace Analysis, and Performance. Material is paid and aimed at engineers ready to treat the database as a first-class object of study.

What courses are similar to MySQL Uncovered: Internals, Trace Analysis, and Performance?

More courses by Bin Wang

Frequently asked questions

What prerequisites are needed for this course?
Prospective students should have a basic understanding of database systems and some prior experience with SQL. Familiarity with MySQL would be beneficial, as the course delves into its internal workings, focusing on query optimization, storage engines, and performance tuning.
What specific skills will I gain from this course?
You will gain a detailed understanding of MySQL’s query execution architecture, including how queries pass through the parser, optimizer, and executor. You'll also learn about storage engine internals, B+Tree indices, buffer pool management, redo/undo logs, and transaction handling, which are crucial for optimizing MySQL performance in production environments.
Who is the target audience for this course?
The course is aimed at database administrators, developers, and IT professionals who are responsible for managing MySQL databases and want to deepen their understanding of its internals to enhance performance and scalability.
How does this course compare in depth and scope to other MySQL courses?
This course offers a detailed exploration of MySQL internals, focusing on the behind-the-scenes mechanisms that impact performance. It covers complex topics like the optimizer’s decision-making process, storage subsystems, and bottleneck analysis, which are typically not covered in beginner or intermediate courses.
Are there specific tools or platforms I will learn to use?
The course focuses on MySQL’s built-in tools and features, rather than external platforms. You will learn about its optimizer, storage engines, and memory management systems, providing you with skills to analyze and optimize MySQL performance without needing additional software.
What key topics are not covered in this course?
The course does not cover introductory SQL or database design principles, as it assumes students already have foundational knowledge. It focuses specifically on MySQL internals and performance optimization, rather than general database management or administration.
What is the time commitment for this course?
The course materials suggest a structured immersion into MySQL internals, requiring a significant time investment to master the complex topics covered. While specific duration details aren't provided, expect to dedicate time for both theoretical understanding and practical application exercises.