Finally. How to verify if all MySQL records were recovered
After nearly every recovery case the same question arises: How many MySQL records were recovered and how many were lost.Until now there was no way to answer the question without manual investigation....
View ArticleFollow these basics when migrating to Percona XtraDB Cluster for MySQL
Galera/Percona XtraDB Cluster (PXC) for MySQL is a hot thing right now and some users jump right in without enough testing. Consequently, they’re more likely to either suffer failure or issues that...
View ArticleGalera Flow Control in Percona XtraDB Cluster for MySQL
Last week at Percona Live, I delivered a six-hour tutorial about Percona XtraDB Cluster (PXC) for MySQL. I actually had more material than I covered (by design), but one thing I regret we didn’t cover...
View ArticleHow to create a new (or repair a broken) GTID based slave with Percona...
Percona XtraBackup 2.0.7 has been published with support for GTID based replication. As promised, here is the step-by-step guide on how to create a new GTID based slave (or repair a broken one) using...
View ArticleExperiences with the McAfee MySQL Audit Plugin
I recently had to do some customer work involving the McAfee MySQL Audit Plugin and would like to share my experience in this post.Auditing user activity in MySQL has traditionally been challenging....
View ArticleZFS on Linux and MySQL
I am currently working with a large customer and I am involved with servers located in two data centers, one with Solaris servers and the other one with Linux servers. The Solaris side is cleverly...
View ArticleChoosing a MySQL HA Solution – MySQL Webinar: June 5
Selecting the most appropriate solution for a MySQL HA infrastructure is as much a business and philosophical decision as it is a technical one, but often the choice is made without adequately...
View ArticleReplication in MySQL 5.6: GTIDs benefits and limitations – Part 2
The main benefit of using GTIDs is to have much easier failover than with file-based replication. We will see how to change the replication topology when using GTID-based replication. That will show...
View ArticleThe small improvements of MySQL 5.6: Duplicate Index Detection
Here at the MySQL Performance Blog, we’ve been discussing the several new features that MySQL 5.6 brought: GTID-based replication, InnoDB Fulltext, Memcached integration, a more complete performance...
View ArticleImplementing SchemaSpy in your MySQL environment
Lately I have been working with a set of customers on a longer term basis which has given me time to explore new tools using their environments. One tool that I am finding very helpful is called...
View ArticleChoosing a MySQL HA Solution – Post-Webinar Q&A
Thanks to everyone who was in attendance on 05 June 2013 for my “Choosing a MySQL HA Solution” webinar. If you weren’t able to make it but are interested in listening to the presentation, it’s...
View ArticleMigrating between MySQL schemas with Percona Xtrabackup
Recently, I was working with a client that asked about using Percona Xtrabackup to take a snapshot of a particular MySQL schema and then reload it with a different schema name on the same server. It...
View ArticleSetting up MySQL SSL and secure connections
There are different articles on how to setup MySQL with SSL but it’s sometimes difficult to end up with a good simple one. Usually, setting up MySQL SSL is not really a smooth process due to such...
View Articlept-online-schema-change and binlog_format
Statement-based or row-based, or mixed? We’ve all seen this discussed at length so I’m not trying to rehash tired arguments. At a high level, the difference is simple:Statement based replication...
View ArticleLimited disk space? Compact backups with Percona Xtrabackup 2.1
One very interesting feature, “Compact Backup,” is introduced in Percona XtraBackup 2.1. You can run “compact backups” with the –compact option, which is very useful for those who have limited disk...
View ArticleSchema changes – what’s new in MySQL 5.6?
Among many of the improvements you can enjoy in MySQL 5.6, there is one that addresses a huge operational problem that most DBAs and System Administrators encounter in their life: schema changes.While...
View ArticleLVM read performance during snapshots
For the same customer I am exploring ZFS for backups, the twin server is using regular LVM and XFS. On this twin, I have setup mylvmbackup for a more conservative backup approach. I quickly found some...
View ArticleMySQL and Hadoop integration
Dolphin and Elephant: an IntroductionThis post is intended for MySQL DBAs or Sysadmins who need to start using Apache Hadoop and want to integrate those 2 solutions. In this post I will cover some...
View ArticleRecovering temporal types in MySQL 5.6: TIME, TIMESTAMP and DATETIME
MySQL 5.6 introduces a new feature – microseconds resolution in some temporal types. As of 5.6.4 TIME, TIMESTAMP and DATETIME can have a fractional part. To create a field with subseconds you can...
View ArticleWhat kind of queries are bad for MySQL?
In writing a recommendation for our Web development team on how to use MySQL, I came up with the following list, which I want to share: What kind of queries are bad for MySQL?Any query is bad. Send a...
View Article