MySQL has been changing and continues to grow. Therefore, we updated our standard MySQL version, from 5.1 to 5.5, and migrated from the primary MySQL version to percona version. This world-leading database has made another huge step forward in terms of its product features, functions, stability, and especially manageability.
If you are not familiar with percona, log on to www.percona.com. They are world-c
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:
Recently found a very useful MySQL slow query log visualization tools, online can also find a lot of information, here combined with their own actual situation to reorganize.1. Experimental environment 1.1 system environment:操作系统:CentOS 6.5 64位主机地址:10.0.0.26主机名:mysql01mysql版本:mysql-5.6.361.2 Visualization Software Environment:http环境:LAMP可视化软件:Anemometer-master.zip, percona-toolkit-3.0.11-1.el6.x86_64.rpm, perl-TermReadKey-2.30-13.el6.x86_64.rpm2. Comp
Percona XtraDB Cluster cluster Environment establishment and validation guidePercona XtraDB Cluster is a clustering scheme for MySQL database. and compatible with the MySQL server Community version, Percona Server, and MariaDB.First, install Percona XtraDB on Ubuntu ClusterLab Environment:Suppose you have 3 computer devices that have an Ubuntu system installed an
Upgrade _ Oracle graphical upgrade (dbca database creation after upgrade)-upgrade 10.2.0.1.0 to 10.2.0.5.0 and dbca10.2.0.5.0
**************************************** ******************************** **************
Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. Please indicate the
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.