To build the Innodb-tools tool, you need to rely on the C compiler, make tool, and so on.
1, download decompression innodb-tools tool Source:
wget https://launchpad.net/percona-data-recovery-tool-for-innodb/trunk/release-0.5/+download/ percona-data-recovery-tool-for-innodb-0.5.tar.gz
TAR-ZXVF percona-data-recovery-tool-for-innodb-0.5.tar.gz
2, into the decompr
1. Foreword
Reference Http://www.oschina.net/p/haproxyHAProxy,HAProxy provides high availability, load balancing. and proxies based on TCP and HTTP applications to support virtual hosts, which is a free, fast, and reliable solution. Haproxy is especially useful for Web sites that are heavily loaded, which typically require session maintenance or seven-tier processing. Haproxy is running on the current hardware and can support tens of thousands of concurrent connections altogether. and its opera
Check if MySQL Server is installed:Rpm-qa | grep MySQLRpm-qa | grep mariadbDelete method:RPM-E MySQL #普通删除模式Rpm-e--nodeps MySQL #强行删除模式, if you use the above command to delete, prompted to have other dependent files, then use this command can be forcibly deleted.Yum Remove mariadb-libs-5.5.41-2.el7_0.x86_64Note that mariadb also cannot exist, some words to delete the tune, delete when there are dependencies, direct yum uninstall before installing MySQL need to install Perl, and need to data:dump
Tags: mysql optimizer 5.5 5.6First, briefis a free open source database server developed by a company founded by the original MySQL author Michael Widenius. MARIADB, the transaction-based Maria Storage engine, replaces the MySQL MyISAM storage engine, which uses the variant of the Percona Xtradb,innodb. This version also includes the PrimeBase XT (PBXT) and Federatedx storage engines. (Excerpt from: http://baike.baidu.com/view/2521908.htm)Simply put:
PXC Installation
1, PXC installation environment:
Cluster Name: Pxc-sky
node1:192.168.246.18
node2:192.168.246.19
node3:192.168.246.20
2, shut down the firewall and SELinux
#chkconfig iptables off
#vi/etc/selinux/config
Selinux=disabled
#reboot
3. Create MySQL users and Groups
All 3 nodes to do
[Root@localhost ~]# Groupadd MySQL
[Root@localhost ~]# useradd–g mysql–s/sbin/nologin MySQL
4, the main software installation
All 3 nodes to do
The storage location of the software under/opt/mysql/
Firs
http://blog.itpub.net/28916011/viewspace-1971933/Percona Several graphical explanations for monitoring MySQLRecently, I examined the meaning of several diagrams of Percona monitoring MySQL.COM_XXX indicates the number of times each XXX statement executes as follows:Com_select the number of times a select operation is performed, only one query is cumulative plus 1Com_update number of update operations perfor
First, installation
Download https://www.percona.com/downloads/XtraBackup/First download the percona-xtrabackup-24-2.4.4-1.el5.x86_64.rpm, installation report libcurl.so.3 and libev.so.4 can't find, libev.so.3 can pass yum install Libev solve, But libcurl.so.3 by making a soft link (cd/usr/lib64 ln-s libcurl.so.4 libcurl.so.3) or copying a copy from another system cannot be resolved, give up
Download perc
MySQL's online table structure is modified because of inefficient and blocking read and write. has been criticized. As for the principle of alter TABLE, see my previous article. MySQL modifies the large table structure online. After reading, found that the problem is still locked, and for the online update of this block is not very good processing, so can only be understood theoretically, applied to the online library or there is a problem. The latest data is not guaranteed.Today we see the same
As a rule, the deployment of Percona server is automatically installed through a binary package, resulting in a gigantic pit, warning when compiling tpcc-mysql10:49:36 [Email protected]:~/tpcc-mysql/src$ makeCC LOAD.O SUPPORT.O ' mysql_config--libs_r '-lrt-l/usr/local/mysql/lib/-O. /tpcc_load/usr/bin/ld:warning:libssl.so.6, needed by/usr/local/mysql/lib//libperconaserverclient.so, may conflict with libssl.so.10/usr/bin/ld:warning:libcrypto.so.6, neede
Percona utility-Introduction to pt-kill, perconapt-kill
Pt-kill is an excellent tool for kill MySQL connection and is part of percona toolkit, when the maximum number of connections is exceeded due to a large number of idle connections and a problematic SQL statement causes a high mysql load, you must kill some connections. This tool is mainly used for this purpose.
This tool is highly practical at work to
This article mainly introduces the summary of practical commands for using percona-toolkit to operate MySQL. percona-toolkit is a powerful MySQL auxiliary tool. For more information, see
1.pt-archiverFunction introduction:
Archive the records of tables in the mysql database to another table or file
Usage:
Pt-archiver [OPTION...] -- source DSN -- where WHERE
This tool only archives old data and does not sign
Tags: des http io ar sp for on Div 2014Percona Toolkit 2.2.12 Released, Percona Toolkit is a set of advanced command-line tools for managing MySQL and system tasks.Improved content includes:New Features:
Pt-stalk now gathers output from up to dmesg seconds before the triggering event.
Bugs Fixed:
Fixed bug 1376561:pt-archiver was wasn't able to archive all the rows when a table had a hash partition. Fixed by implementing support for
If you encounter mysql-libs-5.1.73-3.el6_5.x86_64 conflicts with a file from the package Percona-server-server error, there are two situations that cause this problem:1) Uninstall the Mysql-libs package preinstalled by the operating systemRpm-qa | Grep-i Libs | Grep-i MySQLRpm-e Mysql-libs2) Install PERCONA-SERVER-SHARED-COMPAT-5.5.33-REL31.1.566.RHEL6.X86_64.RPM package (version number to see the situation
A good tool for connecting to killMySQL is part of perconatoolkit. when there are many idle connections, the maximum number of connections is exceeded, and a problematic SQL statement causes high mysql load, you need to kill some connections. This tool is mainly used for pt-kill. it is an excellent tool for kill MySQL connections and is part of percona toolkit, when the maximum number of connections is exceeded due to a large number of idle connection
Percona-toolkit-System Tools
1. pt-diskstats
Function introduction:
Is an interactive monitoring tool for GUN/LINUX.
Usage:
Pt-diskstats [OPTION...] [FILES]
Print disk io statistics for GUN/LINUX, which is a bit like iostat, but this tool is interactive and more detailed than iostat. Data collected from remote machines can be analyzed.
Example:
Example 1: view the status of all disks on the local machine:
Pt-diskstats
Example 2: only view the status o
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.