MySQL Slow query log in the table
As of MySQL 5.1 get MySQL slow query log logged in mysql.slow_log table instead of the file as you had in previous versions. We rarely would use this feature as it is incompatible with our slow query...
View ArticleUltimate MySQL variable and status reference list
I am constantly referring to the amazing MySQL manual, especially the option and variable reference table. But just as frequently, I want to look up blog posts on variables, or look for content in the...
View ArticleIdentifying the load with the help of pt-query-digest and Percona Server
OverviewProfiling, analyzing and then fixing queries is likely the most oft-repeated part of a job of a DBA and one that keeps evolving, as new features are added to the application new queries pop up...
View ArticleAnalyzing Slow Query Table in MySQL 5.6
Analyzing SQL Queries with Percona Toolkit, Feb. 25-28, 9-11 a.m. PSTNext week I’m teaching an online Percona Training class, called Analyzing SQL Queries with Percona Toolkit. This is a guided tour...
View ArticleRotating MySQL slow logs safely
This blog post is part two of two. Like part one, published Wednesday, this is a cross-post from Groupon’s engineering blog. Thanks again to Kyle Oppenheim at Groupon. And one more reminder that I’ll...
View ArticleInnoDB performance optimization basics (redux)
I recently stumbled upon a post that Peter Zaitsev published back in 2007 titled “Innodb Performance Optimization Basics.” It’s a great post and reading it inspired me to examine what’s changed in the...
View ArticleInnotop: A real-time, advanced investigation tool for MySQL
GUI monitoring tools for MySQL are not always suitable for all our needs or situations. Most of them are designed to provide historical views into what happens to our database over time rather then...
View ArticleA closer look at the MySQL ibdata1 disk space issue and big tables
A recurring and very common customer issue seen here at the Percona Support team involves how to make the ibdata1 file “shrink” within MySQL. I can only imagine there’s a degree of regret by some of...
View Article