1. percona-toolkit Introduction
Percona-toolkit is a set of advanced command line tools used to execute various complicated and troublesome mysql and system tasks by hand, including:
Check master and slave Data Consistency
Effectively archive records
Searching duplicate Indexes
Summarize Server Information
Analyze queries from logs and tcpdump
Collect important system information when a system problem occur
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
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
Original: 79656771Brief introductionBefore primarily using Nagios to monitor MySQL, this article mainly introduces the use of percona-monitoring-plugins monitoring Mysql,percona monitoring plug-in is PHP development, so to install PHP environment in the agent.Configure the installationI. zabbix-agent-side operation1. Install software dependenciesyum install php php-mysql -y
1
2. Installing the
invisible to mysql5.1.
So how can we support this software? First, we have set it to the default installation and use my. CNF, our world-class best practice, for configuration. Secondly, we have updated the monitoring system and can use the new 5.5 and special percona extension functions. Once again, we integrate the tips, graphics, and practical experience recommended by the company, and apply these to
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: centos7 PXC linux MySQLOperating system Centos7.4,mysql installed under/data/mysql, MySQL belongs to MySQL user1. Download the source packageDownload pxc-5.7.19Mkdir-p/home/sunx/toolsHttps://www.percona.com/downloads/Percona-XtraDB-Cluster-57/Percona-XtraDB-Cluster-5.7.19-29.22/source/tarball /percona-xtradb-cluster-5.7.19-29.22.tar.gzDownload boostMkdir-p/
Tags: style blog http io ar color OS using SPAt the 2014Oracle database carnival, the author was fortunate enough to hear about the Web-based PXC high-availability architecture design theme for MySQL database.MySQL and Oracle are two different kinds of databases, Oracle is more than management, and MySQL is more important than architecture design. The author of MySQL and new technology is full of curiosity, simply come back to build a test environment.Operating system: CentOS 6.6Software version
[MySQL tool] use percona-toolkit (1) source code to install bitsCN.com
[MySQL tool] percona-toolkit (1) source code installation
1. percona-toolkit introduction
Percona-toolkit is a set of advanced command line tools used to execute various complicated and troublesome mysql and system tasks by hand, including:
L chec
mysql/mariadb/Percona Database Upgrade script intercepts upgrade_db.sh in Oneinstack, it is generally not recommended to upgrade the database version, this script is specifically provided to you version control. To prevent compatibility issues between large versions, scripts only support upgrades between the same large version by default, such as: MySQL-5.6.25 upgrade to MySQL-5.6.26, MySQL-5.5.44 upgrade t
Tags: OpenSSL 2.4 process database passwd adb body lower caseFirst, the environmentCentOS release 6.9Percona-XtraDB-Cluster-5.7.19-29.22.tar.gzboost_1_59_0.tar.gzpercona-xtrabackup-24-2.4.7-1.el6.x86_64.rpm
node
MySQL Service port
Gmcast.listen Port
node01:192.168.1.210:6600
6600
6630
node02:192.168.1.210:6602
6602
6632
Node03:gardb
No
5567
Second, download the dependency packa
Tags: water client awk 40 cal success Title init milZabbix with plugin Percona monitor MySQL dataIn the sense of Zabbix the MySQL plugin to monitor the MySQL database, but you will find that the MySQL monitoring items are very few, can not meet the needs of the company.Because its own template is too simple, so need to do more detailed monitoring, and Percona provides this detailed monitoring template and s
Reprinted from: http://www.cnblogs.com/cevin/archive/2012/05/12/2496859.html
Http://www.percona.com/
Percona has improved the MySQL database server and significantly improved its functions and performance compared with MySQL.
This version improves the performance of InnoDB under high loads and provides DBA with some useful performance diagnostic tools. In addition, more parameters and commands are available to control server behavior.
If the data in the MySQL production database on the line is mistakenly deleted, and the DBA goes to recover the data, it is discovered that the database is not backed up, Binlog, or open. Is there any other means to try to recover the data? Percona Company provides an unconventional repair tool that can be used to repair table data. Of course, this tool is limited:1, only for the InnoDB engine table 2, the table Row_format must be redundant or compact
you need to pay attention to configuring libmysqlclient18, otherwise it will cause the manual installation of the Percona-xtrabackup run times error, saying that some running files could not be found.Refer to:# Set MySQL library
ln-s/usr/local/mysql/lib/libmysqlclient.so.18.0.0/usr/lib64/libmysqlclient.so.18.0.0
ln-s/usr/local/mysql/lib/libmysqlclient.so.18.0.0/usr/lib64/libmysqlclient.so.18
ln-s/usr/local/mysql/lib/libmysqlclient.so.18.0.0/usr/l
Label:The Percona XtraDB cluster is a high availability and extensibility solution for MySQL users, based on Percona Server. It includes the Write Set replication patch, which uses the Galera 2.0 library, which is a synchronous multi-host replication plug-in for transactional applications. Percona XtraDB Cluster Features: (1) Synchronous replication, the transact
mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz-c/usr/localCd/usr/localLN-SV mysql-5.6.36-linux-glibc2.5-x86_64 MySQLCD MySQLChown-r root.mysql./*Mkdir/app/data/mydata-pChown-r Mysql.mysql/app/data/mydataMkdir/app/data/binlogsChown-r Mysql.mysql/app/data/binlogsCd/usr/local/mysqlscripts/mysql_install_db--datadir=/app/data/mydata--user=mysqlCopy the service script to the startup itemCP Support-files/mysql.server/etc/rc.d/init.d/mysqldChkconfig--add mysqldCh
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.