Archive for August, 2009

InnoDB Deadlock Count Patch

InnoDB Deadlock Count Patch
Deadlocks are a common occurrence in relational databases. They usually aren’t a problem until they start happening too frequently. Innodb can provide you with information about the latest deadlock in SHOW ENGINE INNODB STATUS. This can be useful for debugging but it’s almost impossible to get the rate at which deadlocks are [...]

August 27, 2009 • Posted in: Geek, MySQL • 5 Comments

Default log file name changes and replication breakage.

In a Great Magnet moment Trent Lloyd posted an excellent write-up on how to recover from relay log name changes on the same day I was going to write up a procedure to send to a client who had a similar issue. Thanks Trent! The problem goes a bit deeper than server hostname changes because [...]

August 25, 2009 • Posted in: Geek, MySQL • No Comments