maatkit(3pm)

maatkit3pm

Essential command-line utilities for mysql.

Overview

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: 1877 $
mk-archiver 1.0.8
mk-deadlock-logger 1.0.9
mk-duplicate-key-checker 1.1.5
mk-find 0.9.10
mk-heartbeat 1.0.8
mk-parallel-dump 1.0.7
mk-parallel-restore 1.0.6
mk-query-profiler 1.1.9
mk-show-grants 1.0.9
mk-slave-delay 1.0.6
mk-slave-find 1.0.0
mk-slave-move 0.9.0
mk-slave-prefetch 1.0.1
mk-slave-restart 1.0.6
mk-table-checksum 1.1.26
mk-table-sync 1.0.6
mk-visual-explain 1.0.7
mk-archiver

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

mk-checksum-filter

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

mk-deadlock-logger

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

mk-duplicate-key-checker

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

mk-find

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

mk-heartbeat

Monitor MySQL replication delay. See mk-heartbeat.

mk-parallel-dump

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

mk-parallel-restore

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

mk-profile-compact

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

mk-query-profiler

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

mk-show-grants

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

mk-slave-delay

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

mk-slave-find

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

mk-slave-move

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

mk-slave-prefetch

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

mk-slave-restart

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

mk-table-checksum

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

mk-table-sync

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

mk-visual-explain

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

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

System requirements

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

Version

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

Bugs

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

Author

See the individual program's documentation for details.

From maatkit 1877-1 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.