Percona XtraBackup 2.2.4 is now available
Percona is glad to announce the release of Percona XtraBackup 2.2.4 on September 12th 2014. Downloads are available from our download site here and Percona Software Repositories.Percona XtraBackup...
View ArticleSyncing MySQL slave table with pt-online-schema-change
I recently encountered a situation in which after running Percona Toolkit’s pt-table-checksum on a customer system, 95% of the table on the MySQL master was different on the MySQL slave. Although this...
View ArticleMySQL upgrade best practices
MySQL upgrades are necessary tasks and we field a variety of questions here at Percona Support regarding MySQL upgrade best practices. This post highlights recommended ways to upgrade MySQL in...
View ArticleMySQL Replication: ‘Got fatal error 1236′ causes and cures
MySQL replication is a core process for maintaining multiple copies of data – and replication is a very important aspect in database administration. In order to synchronize data between master and...
View ArticleMySQL compression: Compressed and Uncompressed data size
MySQL has information_schema.tables that contain information such as “data_length” or “avg_row_length.” Documentation on this table however is quite poor, making an assumption that those fields are...
View ArticleHow to avoid hash collisions when using MySQL’s CRC32 function
Percona Toolkit’s pt-table-checksum performs an online replication consistency check by executing checksum queries on the master, which produces different results on replicas that are inconsistent...
View ArticleInnodb transaction history often hides dangerous ‘debt’
In many write-intensive workloads Innodb/XtraDB storage engines you may see hidden and dangerous “debt” being accumulated – unpurged transaction “history” which if not kept in check over time will...
View ArticleHow to deal with MySQL deadlocks
A deadlock in MySQL happens when two or more transactions mutually hold and request for locks, creating a cycle of dependencies. In a transaction system, deadlocks are a fact of life and not completely...
View ArticleOptimizing MySQL for Zabbix
This blog post was inspired by my visit at the annual Zabbix Conference in Riga, Latvia this year, where I gave a couple of talks on MySQL and beyond.It was a two day single-track event with some 200...
View ArticleMySQL’s INNODB_METRICS table: How much is the overhead?
Starting with MySQL 5.6 there is an INNODB_METRICS table available in INFORMATION_SCHEMA which contains some additional information than provided in the SHOW GLOBAL STATUS output – yet might be more...
View ArticleSys Schema for MySQL 5.6 and MySQL 5.7
Performance Schema (P_S) has been available since MySQL 5.5, more than 4 years ago. It is still difficult to see production servers with P_S enabled, even with MySQL 5.6 where the feature is enabled by...
View ArticleTips from the trenches for over-extended MySQL DBAs
This post is a follow-up to my November 19 webinar, “Tips from the Trenches: A Guide to Preventing Downtime for the Over-Extended DBA,” during which I described some of the most common reasons DBAs...
View ArticleStreamlined Percona XtraDB Cluster (or anything) testing with Consul and Vagrant
Introducing ConsulI’m always interested in what Mitchell Hashimoto and Hashicorp are up to, I typically find their projects valuable. If you’ve heard of Vagrant, you know their work.I recently became...
View ArticleMySQL 5.6 Transportable Tablespaces best practices
In MySQL 5.6 Oracle introduced a Transportable Tablespace feature (copying tablespaces to another server) and Percona Server adopted it for partial backups which means you can now take individual...
View ArticleTesting backup locks during Xtrabackup SST on Percona XtraDB Cluster
Background on Backup LocksI was very excited to see Backup locks support in release notes for the latest Percona XtraDB Cluster 5.6.21 release. For those who are not aware, backup locks offer an...
View ArticleInnoDB crash recovery speed in MySQL 5.6
It has been a while since I have looked at InnoDB crash recovery. A lot has change in the last few years – we have serious crash recovery performance improvements in MySQL 5.5 and MySQL 5.6, we have...
View ArticleHow small changes impact complex systems – MySQL example
If you’ve been studying complex systems you know what minor changes might cause consequences of much greater proportions, sometimes causing some effects that are not easily explained at first. I...
View ArticlePercona XtraBackup 2.2.8 is now available
Percona is glad to announce the release of Percona XtraBackup 2.2.8 on January 14, 2015. Downloads are available from our download site or Percona Software Repositories.Percona XtraBackup enables...
View ArticleLooking deeper into InnoDB’s problem with many row versions
A few days ago I wrote about MySQL performance implications of InnoDB isolation modes and I touched briefly upon the bizarre performance regression I found with InnoDB handling a large amount of...
View ArticleHow to setup a PXC cluster with GTIDs (and have async slaves replicating from...
This past week was marked by a series of personal findings related to the use of Global Transaction IDs (GTIDs) on Galera-based clusters such as Percona XtraDB Cluster (PXC). The main one being the...
View Article