This was done before Percona XtraDB Cluster (Configuration See linkhttp://hans925.blog.51cto.com/542170/1607157)Now with Haproxy to Percona XtraDB cluster do load balancing, machine or those two machines, (originally do load balancing three machines, but personal notebook run two virtual machine on a bit card, so it used two). The haproxy was installed on the first Percona.HaproxyOs:ubuntu 14.04 Server ip:1
If you encounter mysql-libs-5.1.73-3.el6_5.x86_64 conflicts with 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 to see the situation)http://w
Percona has improved the MySQL database server and has a significant improvement in functionality and performance over MySQL. This release improves the performance of InnoDB in high load situations, provides some very useful performance diagnostic tools for DBAs, and additional parameters and commands to control server behavior.
The Percona server contains only the MySQL server version and does not provide
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
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
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
sudo apt-key adv--keyserver keys.gnupg.net--recv-keys 1c4cbdcdcd2efd2asudo nano/etc/apt/sources.list join:Deb Http://repo.percona.com/apt Trusty MainDEB-SRC http://repo.percona.com/apt Trusty MainOne trusty is the Ubuntu 14.04 code name, 12.04 of the code is precise.sudo apt-get update updates the source for Sources.list to take effect.Apt-cache Search Percona can see all the tools provided by Percona, such
First of all, this article is not a hands-on teaching you to use Percona Xtrabackup, you can refer to my entry level article http://blog.csdn.net/zhu19774279/article/details/41693267, you can also search or read the official manual.
I've been trying to use the Percona xtrabackup compression feature and the ability to send it to a remote host today, but it's always "failed" and it's time to get off work and
Although PXC supports adding cluster nodes online, it has not yet addressed the Wsrep_sst_method=xtrabackup or wsrep_sst_method=mysqldump times error. Therefore, try to manually complete the Xtrabackup backup and restore and add the nodes to the cluster.Scene:There are three clean CentOS 6 servers, IP configured as: 192.168.166.169,192.168.166.170,192.168.166.171, ready to build three nodes of Percona XtraDB Cluster, Currently 192.168.166.169,192.168.
Encapsulate your own DB Class (PHP) and db Class php. Encapsulate your own DB Class (PHP). encapsulate db Class php to encapsulate a DB class for special database operations. any operations on the database in the future will be implemented by
Install and use Xtrabackup from Percona to back up MySQL
Install and use Xtrabackup from Percona to back up MySQL
1. Install XtraBackup
If it is a 32-bit system, just put the content of xtrabackup0.9.zip in the bin directory of mysql.
You can also compile the database together. Take 5.0.88 as an example:First download its source code:Note: It must be compiled with the mysql source code.
# Tar zxvf mysq
Percona uses TokuDB Percona's "Getting to know TokuDB for MySQL" article is designed to promote TokuDB, but in fact, it also shows the history of MySQL...
As mentioned above, even if you do not use the transaction provided by InnoDB, its crash-safe nature is still one of the important factors for many people to choose InnoDB:
Even those that don't really need transactions rejoice in the crash resistance strength of InnoDB.
When I mention Toku
Use the official binary installation directly.Https://www.percona.com/doc/percona-xtradb-cluster/5.6/installation.html#installationInnobackupex:This is actually a Perl script package for the following three tools, which can be backed up MyISAM, InnoDB, xtradb tables.Xtrabackup:A binary file compiled from C that can only back up InnoDB and xtradb data.Xbcrypt:The data used to encrypt or decrypt the backup.Xbstream:A compressed file used to decompress o
Percona-toolkit usage tutorial-Performance Tools
1. pt-index-usage
Function introduction:
Read the plug-in statement from the log file and explain how they use the index. After the analysis is completed, a report about the index that has not been used for query is generated.
Usage:
Pt-index-usage [OPTION...] [FILE...]
You can obtain the SQL directly from the slow query. The SQL format in the FILE must be the same as that in the slow query. If it is no
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.