SourceForge.net Logo


Top


NAME

maatkit - Essential command-line utilities for MySQL.

Top


DESCRIPTION

maatkit, formerly MySQL Toolkit, is a collection of command-line utilities that provide missing functionality for MySQL. Some of the tools implement lacking server functionality, such as online consistency checks for master/slave replication; others are client-side utilities such as a query profiler.

The following tools are included:

   $Revision: 1972 $
mk-archiver 1.0.9
mk-deadlock-logger 1.0.10
mk-duplicate-key-checker 1.1.6
mk-find 0.9.11
mk-heartbeat 1.0.9
mk-parallel-dump 1.0.8
mk-parallel-restore 1.0.7
mk-query-profiler 1.1.10
mk-show-grants 1.0.10
mk-slave-delay 1.0.7
mk-slave-find 1.0.1
mk-slave-move 0.9.1
mk-slave-prefetch 1.0.2
mk-slave-restart 1.0.7
mk-table-checksum 1.1.27
mk-table-sync 1.0.7
mk-visual-explain 1.0.8
mk-archiver

Archive rows from a MySQL table into another table or a file. See the mk-archiver manpage.

mk-checksum-filter

Filter checksums from mk-table-checksum. See the mk-checksum-filter manpage.

mk-deadlock-logger

Extract and log MySQL deadlock information. See the mk-deadlock-logger manpage.

mk-duplicate-key-checker

Find possible duplicate indexes and foreign keys on MySQL tables. See the mk-duplicate-key-checker manpage.

mk-find

Find MySQL tables and execute actions, like GNU find. See the mk-find manpage.

mk-heartbeat

Monitor MySQL replication delay. See the mk-heartbeat manpage.

mk-parallel-dump

Dump sets of MySQL tables in parallel. See the mk-parallel-dump manpage.

mk-parallel-restore

Load files into MySQL in parallel. See the mk-parallel-restore manpage.

mk-profile-compact

Compact the output from mk-query-profiler. See the mk-profile-compact manpage.

mk-query-profiler

Execute SQL statements and print statistics, or measure activity caused by other processes. See the mk-query-profiler manpage.

mk-show-grants

Canonicalize and print MySQL grants so you can effectively replicate, compare and version-control them. See the mk-show-grants manpage.

mk-slave-delay

Make a MySQL slave server lag behind its master. See the mk-slave-delay manpage.

mk-slave-find

Find MySQL replication slaves and execute commands on them. See the mk-slave-find manpage.

mk-slave-move

Move a MySQL slave around in the replication hierarchy. See the mk-slave-move manpage.

mk-slave-prefetch

Pipeline relay logs on a MySQL slave to pre-warm caches. See the mk-slave-prefetch manpage.

mk-slave-restart

Watch and restart MySQL replication after errors. See the mk-slave-restart manpage.

mk-table-checksum

Perform an online replication consistency check, or checksum MySQL tables efficiently on one or many servers. See the mk-table-checksum manpage.

mk-table-sync

Synchronize MySQL tables efficiently. See the mk-table-sync manpage.

mk-visual-explain

Format EXPLAIN output as a tree. See the mk-visual-explain manpage.

Top


SEE ALSO

See also the the maatkitdsn manpage documentation, which explains how to use DSNs to connect to MySQL.

Top


INSTALLATION

Strictly speaking these tools require no installation; you should be able to run them stand-alone. However, on UNIX-ish systems you can use the standard Perl installation sequence:

   cd <package directory>
   perl Makefile.PL
   make install

Top


SYSTEM REQUIREMENTS

You need Perl, DBI, DBD::mysql, and some core packages that ought to be installed in any reasonably new version of Perl.

Top


BUGS

If you find bugs, need features, etc please use the bug tracker, forums, and mailing lists at http://sourceforge.net/projects/maatkit.

Top


COPYRIGHT, LICENSE AND WARRANTY

This program is copyright (c) 2007 Baron Schwartz and others. Feedback and improvements are welcome.

THIS PROGRAM IS PROVIDED "AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2; OR the Perl Artistic License. On UNIX and similar systems, you can issue 'man perlgpl' or 'man perlartistic' to read these licenses.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

Top


AUTHOR

See the individual program's documentation for details.

Top


VERSION

This manual page documents Distrib 1972 $Revision: 534 $.

Top

SourceForge.net Logo