Home
There Are 10 Types of People in the World....

Tags in Blog

CentOS Devel Fedora Fun General GNU/Linux MySQL PHP Private Life Python Samba Tips and tricks
more tags














Home

MySQL Swiss Army Knife

Submitted by lefred on Fri, 01/18/2008 - 23:50

In this post I present my MySQL Swiss Army Knife, all the tools that make my life related to MySQL easier :-)

- The first utility is of course the famous maatkit. I'll not describe here all the part of this toolkit, you will find a nice description on the website. but I want to underline the Table Sync that is very useful when you need to create a master/master replication without any downtime.

- The next utility is mysqlreport, that creates complete reports giving a nice overview of statistics for your MySQL server.

- Another very useful tool is querysniffer (and the other two related utilities: querybench and queryparser). The nice thing with this tool is that it allows you to gather the queries from a production server without having to restart it to enable general logging.

- To hunt slow queries, mysqlsla is a nice analyzer.

- mysqlidchck is also a nice tool that helps you to find the indexes that are not used in your datbase if any.

- If you are using InnoDB tablespaces, I also recommend innodb-recovery, it allows you to check and recover datat from damaged tablespaces.

- Dstat is also nice to see some information in realtime. Of course it's not only focused on MySQL, but I wrote some plugins for MySQL5. I'd like to be able to give some signification of the output colors. It's a call to candidates (to Dag, to any Python hacker or to me if I find more time)

- mytop is a top clone for MySQL, a console utility for monitoring the threads of a MySQL server.

- Another "top like" tool especially for innodb is innotop

- To find all the resources used by MySQL, a Perl script: mysqlresources can be used.

- There is a new package of tools but it's still in my "totest" list, but I'll just put a link to its page : MyQ Gadgets

I wanted also to make you share some tools which are part of my back bag :

- DB Designer Fork that runs on GNU/Linux that allows you to visually design your databases.

- MySQL Proxy permits you to monitor, analyze communications between clients and MySQL server that allows you to use it to implement load balancing, failover, query analysis, filtering and modification.

  • Add new comment
Tags:
  • MySQL

4 reponses to "MySQL Swiss Army Knife"

lefred's picture

1. an extra tool I forgot in my list

Submitted by lefred on Mon, 01/21/2008 - 10:40.

I forgot to list mysqlresources from Giuseppe Maxia. This utility shows the CPU and memory consumption of MySQL on a Linux server.

  • reply
Anonymous's picture

2. MySQL Swiss army knife

Submitted by Anonymous on Sat, 01/19/2008 - 22:02.

Thanks for the kind mention of querysniffer and QPP programs. It is good to know that people are getting use of them!!

Keith

  • reply
Anonymous's picture

3. Typo

Submitted by Anonymous on Sat, 01/19/2008 - 11:36.

The link to maatkit is broken

  • reply
lefred's picture

4. Sorry

Submitted by lefred on Mon, 01/21/2008 - 10:50.

Indeed the typo is correct now

  • reply

twitter updates

    Recent comments

    • fedora on mac osx
      1 week 2 days ago
    • Fresh install fc13
      1 week 3 days ago
    • Everything is a Freaking ...
      1 week 6 days ago
    • x32
      4 weeks 2 days ago
    • There is no x32 download url
      4 weeks 2 days ago
    • Help me
      4 weeks 3 days ago
    • binlogs
      6 weeks 2 days ago
    • Replication Master to multi-Master, possible ?
      6 weeks 2 days ago
    • Download
      13 weeks 1 day ago
    • I've read this morning on
      15 weeks 4 days ago

    Locations of visitors to this page

    Fervens Drupal theme by Leow Kah Thong. Designed by Design Disease and brought to you by Smashing Magazine. Modified for my own use.