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
PXC (Percona xtradb Cluster) Single machine multi-instance and multi-cluster installation configuration
PXC principle:
After the node receives the SQL request, the WSREPAPI calls the Galera library for cluster broadcast before the commit, and all other nodes commit the transaction after the success, and vice versa rollback. PXC ensures strong consistency across all data in the cluster to meet the CAP theory: consistency and availability
In the process
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
:6600,192.168.1.210:6602 ': -110 (Connection timed out)Tip I can't join PXC this cluster, view my.cnf configuration file Changes wsrep_cluster_address= ' gcomm://192.168.1.210:6630,192.168.1.210:6632 'The address of this cluster to fill the address of the PXC node to communicate with each other, can not fill in the MySQL service address, the default address is the listening address is 4567
Error Two:
How to resolve can ' t connect to local MySQL server through socket '/var/lib/mysql/mys
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
that has changed since the last full backup 1.2 Creating a backup User
1 2
mysql>grantreload,locktables,replicationclienton*.*to‘bak‘@‘localhost‘ identifiedby‘bak2015‘; mysql>flushprivileges;
1.3 Mounting method CentOS: # RPM-IVH http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm # yum Install
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:
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
Backup scheme for MySQL database using the Percona-xtrabackup toolNeed to back up the MySQL host 172.16.155.23Host 172.16.155.22 for backup MySQLPurpose: The MySQL database on the 155.23 host is backed up on a daily basis and synchronized to the remote host1. Install the Backup toolYum localinstall-y percona-xtrabackup-2.2. 9-5067. el6.x86_64.rpm2. Write the BACKUP database script:Vim/data/scripts/backdb.SH
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: mysql xtrabackup backup######################################################################### # # Install MySQL or mariadb local also installed MySQL or mariadb related packages # #########################################################################Slightly######################################## # # # of Xtrabackup installation # # ########################################[email protected] ~]# Yum install http://www.percona.com/downloads/percona
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.