Post: MySQL Slow query log in the table
… time does not store fractions of the second. Today I’ve got some time to play with table based slow query log in production while tuning one of the systems. It is pretty nice to be able to work…...
View ArticlePost: Get Me Some Query Logs!
…queries, not just those that take more than N seconds. The reason is that some queries are individually quick, and would not be logged…The post Post: Get Me Some Query Logs! appeared first on MySQL...
View ArticlePost: MySQL Replication and Slow Queries
I just filed a bug regarding slow queries executed by replication thread are not being logged to the slow query log. This is not a big deal but it… analyze slow query log to find what queries take up...
View ArticlePost: Does Slow query log logs all slow queries ?
… slow queries to catch problematic queries or for audit purposes. In fact however not all the queries are logged. I already mentioned mysql slave queries are not logged to slow query log… query should...
View ArticlePost: Slow Query Log analyzes tools
… Slow Query Log – Especially after the changes to log all queries slow query log may be growing too rapidly to follow, so we implemented slow query log filter (based on parse_mysql_slow_log… the thing...
View ArticleComment: Rotating MySQL slow logs safely
…logging a high volume of queries to the slow log. Do not use copytruncate Logrotate offers two techniques for log rotation (your log…log rotation. Putting it all together Here is a logrotate...
View ArticlePost: Experiences with the McAfee MySQL Audit Plugin
… challenging. Most data can be obtained from the slow or general log, but this involves a lot… I mentioned had to be extracted due to this Percona Server version not being included in the...
View ArticlePost: Is your MySQL buffer pool warm? Make it sweat!
…not lagging. Unfortunately, that’s often not sufficient for failover during peak traffic. The standby server does not process query… later to get these features. Be aware that playback output is...
View ArticlePost: Enabling/Disabling query log without server restart in MySQL 5.0
…queries logged as slow queries (with times) and as you can change long-query-time online you can effectively enable and disable debug logging… query log – for example connects or queries with syntax...
View ArticlePost: Analyzing Slow Query Table in MySQL 5.6
… best practices for pt-query-digest, the best tool for evaluating where your database response time is being spent. This month we…-based logs versus table-based logs, but one particular feature I was...
View ArticlePost: A (prototype) lower impact slow query log
… your slow query log as an innodb page will not …slow query log. The code for my prototype can be found at lp:~stewart/percona-server/5.6-slow-query…slow query log): 13 seconds MySQL with slow query...
View ArticlePost: Updated msl (microslow) patch, installation walk-through!
…you discovered earlier. Please do not use the below example as it may not be suitable for your environment….query to be logged it must match long_query_time AND min_examined_row_limit AND...
View ArticlePost: Advanced MySQL Query Tuning: Webinar followup Q&A
….1 +: Enable the slow query log with microsecond presision and log the query. To log all queries in the slow query log you can temporary set: long_query_time = 0 MySQL… select a column which is not a...
View ArticleMySQL 4 to MySQL 5 Upgrade performance regressions
This week I already had two serious performance regression cases when upgrading from MySQL 4.0 and 4.1 to MySQL 5.0. By serious I mean several times performance difference not just 5-10% you often see...
View ArticleHow to load large files safely into InnoDB with LOAD DATA INFILE
Recently I had a customer ask me about loading two huge files into InnoDB with LOAD DATA INFILE. The goal was to load this data on many servers without putting it into the binary log. While this is...
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 ArticleImplications of Metadata Locking Changes in MySQL 5.5
While most of the talk recently has mostly been around the new changes in MySQL 5.6 (and that is understandable), I have had lately some very interesting cases to deal with, with respect to the...
View ArticlePERFORMANCE_SCHEMA vs Slow Query Log
A couple of weeks ago, shortly after Vadim wrote about Percona Cloud Tools and using Slow Query Log to capture the data, Mark Leith asked why don’t we just use Performance Schema instead? This is an...
View ArticleHow to identify and cure MySQL replication slave lag
Here on the Percona MySQL Support team, we often see issues where a customer is complaining about replication delays – and many times the problem ends up being tied to MySQL replication slave lag. This...
View ArticleMySQL Replication and Slow Queries
I just filed a bug regarding slow queries executed by replication thread are not being logged to the slow query log.This is not a big deal but it is ugly little gotcha which I think few people know...
View Article