Percona Live: Open Source Database Performance Conference - Amsterdam 2016 Logo

October 3-5, 2016

Amsterdam, Netherlands

MySQL Performance Schema in action

MySQL Performance Schema in action

 3 October 1:30 PM - 4:30 PM @ Matterhorn 1
Experience level: 
3 hours tutorial
Tools and Techniques


Performance Schema in MySQL is becoming more mature from version to version. In version 5.7 it includes extended lock instrumentation, memory usage statistics, new tables for server variables, first time ever instrumentation for user variables, prepared statements and stored routines. A lot! Amazing! And complicated! In this tutorial we will try all these new instruments out. We will provide test environment and few typical problems which could be hardly solved before MySQL 5.7. Just few examples: "Where are memory going?" , "Why these queries hang?", "How huge overhead is of my stored procedures?", "Why queries are waiting for metadata locks?". You will not only learn how to collect and use this information, but have experience with it. You will also learn how to setup Performance Schema in details. These issues which we are going to describe were pain for customers, consultants and support engineers for years. There are many workarounds for them shared which help to find source of the issue only partially and require much more work than it can be done if Performance Schema is used. In this tutorial we will start from the problem and will show how to diagnose and fix it. We will show which workarounds can be dropped and replaced with queries to Performance Schema.


Sveta Smirnova's picture

Sveta Smirnova

Principal Technical Services Engineer, Percona


Sveta Smirnova works as MySQL Support engineer since year 2006, she is also author of book "MySQL Troubleshooting" and author of JSON UDF functions for MySQL. In years 2006 - 2015 she worked in in Bugs Analysis MySQL Support Group in MySQL AB, then Sun, then Oracle. In March 2015 Sveta joined Support Team in Percona. In years 2012-2015 she worked on bugs priority. She was also Support representative in MySQL Backup Development Team. She works on tricky support issues and MySQL software bugs on a daily basis. Before starting at MySQL in 2006, she worked as web developer on several closed CRM systems. In years 2012-2015 she worked on MySQL Labs project "JSON UDFs for MySQL". She is active participant in the open source community. Her main interests in recent years is solving DBA problems, finding ways to semi-automate this process and effective backup techniques. Sveta is author of the book "MySQL Troubleshooting" (

Share this talk