maatkit.3pm

Langue: en

Autres versions - même langue

Version: 2008-10-18 (ubuntu - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

maatkit - Essential command-line utilities for MySQL.

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: 2442 $
 mk-archiver 1.0.11
 mk-audit 0.9.3
 mk-deadlock-logger 1.0.12
 mk-duplicate-key-checker 1.1.8
 mk-find 0.9.13
 mk-heartbeat 1.0.11
 mk-parallel-dump 1.0.10
 mk-parallel-restore 1.0.9
 mk-query-profiler 1.1.12
 mk-show-grants 1.0.12
 mk-slave-delay 1.0.9
 mk-slave-find 1.0.3
 mk-slave-move 0.9.3
 mk-slave-prefetch 1.0.4
 mk-slave-restart 1.0.9
 mk-table-checksum 1.2.0
 mk-table-sync 1.0.10
 mk-visual-explain 1.0.11
 
 
mk-archiver
Archive rows from a MySQL table into another table or a file. See mk-archiver.
mk-audit
Analyze, summarize and report on MySQL config, schema and operation See mk-audit.
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.

SEE ALSO

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

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.

BUGS

If you find bugs, need features, etc please use the bug tracker, forums, and mailing lists at http://code.google.com/p/maatkit/

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.

AUTHOR

See the individual program's documentation for details.

VERSION

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