Installation of Linux Percona-toolkit

Source: Internet
Author: User
Tags percona

Percona-toolkit is a set of tools under Linux, and we need to use the pt-query-digest to analyze the MySQL slow log query.

1. Download

Http://www.percona.com/doc/percona-toolkit/2.1/

Download percona-toolkit-2.2.11-1.noarch.rpm

2. Pre-installation

Need to install a MySQL package

As follows:

perl-dbd-mysql-4.013-3.el6.x86_64.rpm

perl-termreadkey-2.30-13.el6.x86_64.rpm

mysql-shared-5.6.21-1.el6.x86_64.rpm

mysql-devel-5.6.21-1.el6.x86_64.rpm

mysql-client-5.6.21-1.el6.x86_64.rpm

3. Performing the installation

RPM-IVH percona-toolkit-2.2.11-1.noarch.rpm

4. After installation, you can use the tool

pt-query-digest do MySQL slow query analysis.

Installation of Linux Percona-toolkit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.