BANGALORE, INDIA: MySQL comes packaged with some command-line utilities that help manage a MySQL environment. Also, there are some additional MySQL GUI tools that help you do the same. But the functionalities of these tools are limited and you can't do everything to monitor the MySQL database.
For instance, if you want to ensure that the data in tables that are being replicated between master and slave servers is consistent, then checksum is an easy way, which MySQL lacks. Before firing a query one would like to know the exact implications of its execution. A query profiler can tell you how much load your query is going to cost to the database server. Such utilities if present in MySQL, can really be handy for MySQL users.
About Maatkit Maatkit, formerly MySQL Toolkit, makes MySQL easier to manage, and is supported on both Linux as well as Windows. With tools that are missing in MySQL, Maatkit lets you check replication, perform query profiling, have a visual representation of EXPLAIN output, and much more. Maatkit commands are Perl scripts, thus making installation of Perl a prerequisite.
You can download the tools package of Maatkit from Google Code at http://bit.ly/zlorb and find documentation for its commands at Maatkit.org. The commands documentation can also be viewed by using PerlDoc command. Let's get started with Maatkit by installing it for MySQL on a Windows platform.
Through Perl Package Manager, install the database driver for MySQL. It can be found in 'All Packages List' and then the driver can be marked for installation.
Alternatively, you can install the DBD-mysql driver through this command:
C:\Perl\bin>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/DBD-mysql.ppd
Now you are set for Maatkit installation. Maatkit is available as a zipped file for download. Download and extract it, and you are ready to use it. All you need is to run the Makefile script before using Maatkit commands. Go to the base folder of Maatkit directory and execute Makefile script as follows:
C:\maatkit-4334> perl Makefile.PL
Get most out of your technology infrastructure investments with Dell
About CIOL | Media Kit | Site Map | Contact Us | Help | Write to us | Jobs@CyberMedia | Privacy Policy
Copyright © CyberMedia India Online Ltd. All rights reserved. Usage of content from web site is subject to Terms and Conditions.