MySQL databases are great work horses of the internet. They back tons of modern websites, from blogs and checkout carts, to huge sites like Facebook. But these technologies don't run themselves. When you're faced with a system that is slowing down, you'll need the right tools to diagnose and troubleshoot the problem. MySQL has a huge community following and that means scores of great tools for your toolbox. Here are 7 ways to troubleshoot MySQL.
1. Use innotop
Innotop is a great tool for MySQL which despite the name monitors MySQL generally as well as InnoDB usage. It's fairly easy to install, just download the perl script. Be sure to include a [client] section to your local users .my.cnf file (you have one don't you?). Inside that section, place one line with "user=xyz" and one line with "password=abc".
If you're concerned that installing something new is too …[Read more]