Checking B+tree leaf nodes list consistency in InnoDB
If we have InnoDB pages there are two ways to learn how many records they contain:PAGE_N_RECS field in the page headerCount records while walking over the list of records from infimum to supremumIn...
View ArticleLet’s talk about Percona Server 5.6: Enterprise Grade MySQL (webinar)
The new Percona Server 5.6 is the most manageable, highest performance, and most scalable version of MySQL available. Percona Server 5.6 is the best open source MySQL choice for enterprise-grade...
View ArticleInnoDB Full-text Search in MySQL 5.6: Part 3, Performance
This is part 3 of a 3 part series covering the new InnoDB full-text search features in MySQL 5.6. To catch up on the previous parts, see part 1 or part 2Some of you may recall a few months ago that I...
View ArticlePercona University at Washington, D.C. – Sept. 12
Following our events earlier this year in Raleigh, Montevideo, Buenos Aires, Toronto and Portland, we bring Percona University to Washington, D.C. on September 12.This free one-day technical education...
View ArticleMySQL Security: Armoring Your Dolphin
My colleague and teammate Ernie Souhrada will be presenting a webinar on Wednesday, August 21, 2013 at 10 a.m. PDT titled “MySQL Security: Armoring Your Dolphin.”This is a popular topic with news...
View ArticleWhy is the ibdata1 file continuously growing in MySQL?
We receive this question about the ibdata1 file in MySQL very often in Percona Support.The panic starts when the monitoring server sends an alert about the storage of the MySQL server – saying that the...
View ArticleMySQL Security Webinar: Follow-up Q&A
Thanks to everyone who attended last week’s webinar on MySQL security; hopefully you’ve all gone out and set SELinux to enforcing mode if you weren’t already running that way. If you weren’t able to...
View ArticleHow InnoDB promotes UNIQUE constraints
The other day I was running pt-duplicate-key-checker on behalf of a customer and noticed some peculiar recommendations on an InnoDB table with an odd structure (no PRIMARY key, but multiple UNIQUE...
View ArticleHow to move the InnoDB log sequence number (LSN) forward
This post focuses on the problem of the InnoDB log sequence number being in the future.Preface: What is an InnoDB log sequence number?The Log sequence number (LSN) is an important database parameter...
View ArticleEnabling crash-safe slaves with MySQL 5.6
Being able to configure slaves to be crash-safe is one of the major improvements of MySQL 5.6 with regards to replication. However we noticed confusion on how to enable this feature correctly, so let’s...
View Article5 reasons why MySQL replication lag is flapping between 0 and XXXXX
Working day to day with Percona Remote DBA customers, we have been facing an issue from time to time when MySQL replication lag is flapping between 0 and XXXXX constantly – i.e. Seconds_Behind_Master...
View ArticleSwitching between versions using yum
One type of question we get very often (even in the form of filed bugs!) is how to switch from stock MySQL to Percona Server or switch from Percona Server 5.5 to Percona XtraDB Cluster using yum, but à...
View ArticlePercona Live London 2013: an insider’s view of the schedule
With the close of call for papers earlier this month, the Percona Live London conference committee was in full swing this past week reviewing all of the many submissions for November’s Percona Live...
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 Articleutf8 data on latin1 tables: converting to utf8 without downtime or double...
Here’s a problem some or most of us have encountered. You have a latin1 table defined like below, and your application is storing utf8 data to the column on a latin1 connection. Obviously, double...
View ArticleInnoDB scalability issues due to tables without primary keys
Each day there is probably work done to improve performance of the InnoDB storage engine and remove bottlenecks and scalability issues. Hence there was another one I wanted to highlight:Scalability...
View ArticleThe power of MySQL’s GROUP_CONCAT
In the very early days of Percona Vadim wrote very nice post about GROUP_CONCAT.But I want to show you a bit more about it.When is GROUP_CONCAT useful? Usually while working with Support customers I...
View ArticleMySQL on Windows: A survival guide for Linux-based DBAs
Next week, on Nov. 6, I will be delivering a webinar about running MySQL on Windows, with a strong focus on Linux-based sysadmins and DBAs – and how not to go crazy in the process.An interesting (and...
View ArticleHow to recover an orphaned .ibd file with MySQL 5.6
A few years ago Yves Trudeau and Aleksandr Kuzminsky wrote posts about different ways for recovering orphaned .ibd files:Connecting orphaned .ibd filesA recovery trivia or how to recover from a lost...
View ArticleHow to Extract All Running Queries (Including the Last Executed Statement)...
This post builds on the How to obtain the “LES” (Last Executed Statement) from an Optimized Core Dump? post written about a year ago.A day after that post was released, Shane Bester wrote an improved...
View Article