QA: Advanced Option Combinatorics (Pairwise Testing): Combinatorial mysqld...
How do we ensure that, when we have 35+ testable option combinations for mysqld, we test each and every combination of them? For example: will a different innodb_log_file_size combined with more...
View ArticleHow Percona tested Percona Server 5.6: A world premiere in advanced testing
8PM. One of the servers found a critical bug. Hop online and discuss, log bug. 10PM. Patch ready. 10:30PM. New build ready. 10:45PM. New RQG run initiated. This was by no means an uncommon sight during...
View ArticleMySQL & Sphinx: Register now for Nov. 20 Webinar
Sphinx is a free, open-source search server that integrates nicely with MySQL. It provides a fast, scalable, and pluggable search framework. The Sphinx engine possesses a variety of tools enabling you...
View ArticleMySQL encryption performance, revisited
This is part two on a two-part series on the performance implications of in-flight data encryption with MySQL. In the first part, I focused specifically on the impact of using MySQL’s built-in SSL...
View ArticleIntegrating pt-online-schema-change with a Scripted Deployment
Recently, I helped a client that was having issues with deployments causing locking in their production databases. At a high level, the two key components used in the environment were:Capistrano...
View ArticleMySQL Error: Too many connections
We have always received quite few questions here at Percona Support on how to avoid the dreaded “Too many connections” error, as well as what is the recommended value for max_connections. So, in this...
View Articleinnodb_stats_on_metadata and slow queries on INFORMATION_SCHEMA
INFORMATION_SCHEMA is usually the place to go when you want to get facts about a system (how many tables do we have? what are the 10 largest tables? What is data size and index size for table t?, etc)....
View ArticleMulti-Data Center MySQL with Continuent Tungsten: Dec. 11 webinar
I’m looking forward to next week’s MySQL webinar with Robert Hodges, CEO of Continuent. We’ll be speaking on the topic “Multi-Data Center MySQL with Continuent Tungsten.”You’re not alone if you’ve been...
View ArticleOne more InnoDB gap lock to avoid
While troubleshooting deadlocks for a customer, I came around an interesting situation involving InnoDB gap locks. For a non-INSERT write operation where the WHERE clause does not match any row, I...
View ArticleSeconds_Behind_Master fluctuating wildly? Check for events caught in a loop
Recently I was working with a customer where we noticed that Seconds_Behind_Master fluctuating from an expected value of 0 seconds behind to a fairly high six figure value. The servers were configured...
View ArticleRenaming database schema in MySQL
One of the routine tasks for a DBA is renaming database schemas, and as such MySQL added a command to carry out that purpose called “RENAME DATABASE <database_name>”. However this command just...
View Article2 cases for MySQL server overload
Your MySQL server is overloaded. You see hundreds of running queries in the SHOW PROCESSLIST taking many seconds to run, or can’t connect at all because all connections slots are busy. If you have...
View Article[ERROR] mysqld: Sort aborted: Server shutdown in progress
Recently, one of our support customers faced this: “[ERROR] mysqld: Sort aborted: Server shutdown in progress.” At first it would appear this occurred because of a mysql restart (i.e. the MySQL server...
View ArticleHow to recover table structure from .frm files with MySQL Utilities
Table structures are stored in .frm files and in the InnoDB Data Dictionary. Sometimes, usually in data recovery issues, we need to recover those structures to be able to find the lost data or just to...
View ArticleMultiple column index vs multiple indexes with MySQL 5.6
A question often comes when talking about indexing: should we use multiple column indexes or multiple indexes on single columns? Peter Zaitsev wrote about it back in 2008 and the conclusion then was...
View ArticleThe ARCHIVE Storage Engine – does it do what you expect?
Sometimes there is a need for keeping large amounts of old, rarely used data without investing too much on expensive storage. Very often such data doesn’t need to be updated anymore, or the intent is...
View ArticlePercona Cloud Tools: Making MySQL performance easy
One of our primary focuses at Percona is performance. Let me make some statements on what is “performance.”In doing so I will refer to two pieces of content:Carry Millsap’s talk “Performance...
View ArticleWebinars: Common (but deadly) MySQL mistakes
On January 22 I’ll be presenting the first of a series of two new webinars focusing on avoiding common MySQL mistakes:How to Avoid Common (but Deadly) MySQL Operations Mistakes.“Don’t bother me with...
View ArticleBeware of MySQL 5.6 server UUID when cloning slaves
The other day I was working on an issue where one of the slaves was showing unexpected lag. Interestingly with only the IO thread running the slave was doing significantly more IO as compared to the...
View ArticleMySQL server memory usage troubleshooting tips
There are many blog posts already written on topics related to “MySQL server memory usage,” but nevertheless there are some who still get confused when troubleshooting issues associated with memory...
View Article