newer* Bash v3 or newer* Core Perl modules like Time: HiRes# Perl -- version | head-2 # Check the perl version# Bash -- version # Check the bash version
Quick installation steps (the process is omitted by default in the/usr/local/bin path)# Tar zxvf percona-toolkit-# Cd percona-toolkit-# Perl Makefile. PL (install perl Makefile. pl prefix =$ {HOME} in a non-default directory })# Make# Make test# Make insta
Now, you must be excited to see these good things come together and we will show you how to install and do basic configuration on Percona server.
2. Back up your database
Next, use the SQL command at the command line to create a mydatabases.sql file to rebuild or restore the SalesDB and Employeedb databases, replace the database name according to your settings, and skip this step if MySQL is not install
these good things integrated, we will show you how to install and make basic configuration for PerconaServer.
2. Back up your database
Next, use the SQL command on the command line to create a mydatabases. SQL file to recreate or restore the salesdb and employeedb databases. Replace the database name according to your settings. skip this step if MySQL is not installed:
Mysqldump-uroot-p -- databasesemploy
how to install and do basic configuration on Percona server.2. Back up your databaseNext, use the SQL command at the command line to create a mydatabases.sql file to rebuild or restore the SalesDB and Employeedb databases, replace the database name based on your settings, and skip this step if no MySQL is installed:Mysqldump-u root-p--databases employeedb salesdb > Mydatabases.sqlCopy the current profile a
how to install and do basic configuration on Percona server.2. Back up your databaseNext, use the SQL command at the command line to create a mydatabases.sql file to rebuild or restore the SalesDB and Employeedb databases, replace the database name based on your settings, and skip this step if no MySQL is installed:Mysqldump-u root-p--databases employeedb salesdb > Mydatabases.sqlCopy the current profile a
install and do basic configuration for Percona Server.2. Back up your databaseNext, use the SQL command on the command line to create a mydatabases. SQL file to recreate or restore the salesdb and employeedb databases. Replace the database name according to your settings. Skip this step if MySQL is not installed:Mysqldump-u root-p -- databases employeedb salesdb
' to clear the current input statement.mysql> show database; Error 1064 (42000): You have a error in your SQL syntax; Check the manual-corresponds to your MySQL server version for the right syntax-use near ' database ' at line 1mysql Gt show databases; +--------------------+| Database |+--------------------+| Information_schema | | Dexdb | | MySQL | | Performance_schema | | Test |+--------------------+5 rows in Set (0.01 sec) mysql> use dexdbreading
-f parameters are the same as Page_parser;-D: The meaning of this parameter is to restore the deleted data pageAs you can see from the SQL file, the tool has bugs and is not supported for datetime field types above mysql5.6 and requires modifications to the tool. For specific reference: https://bugs.launchpad.net/percona-data-recovery-tool-for-innodb/+bug/1190976, the S
Introduction of Percona-toolkitPercona-toolkit is a collection of advanced command-line tools for performing various MySQL and system tasks that are complex and cumbersome to perform by hand, including:
Check the consistency of master and slave data
Effectively archive records
Look for Duplicate indexes
Summarizing Server information
Analyze queries from logs and tcpdump
Collect important system information when something goes wr
://dev.mysql.com/doc/refman/5.6/en/replication-options-binary-log.htmlMySQL function Limit Http://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_log_bin_trust_function_creatorsMySQL Create method Error: This function has none of deterministic, NO SQL http://blog.sina.com.cn/s/blog_4cb400450100ntu6.htmlTag:mysql Database Master-slave configuration, Innobackupex Backup recovery database, xtrabackup Backup recovery database, Innoback
-ioprofile
Querying the process IO and printing an IO activity table
PT 2.2 New command
Practical class
Pt-archiver
Archive table data to another table or file
Pt-find
Find tables and Execute commands
Pt-kill
Kill the Eligible SQL
Common commands
Pt-align
Aligning the output of other tools
PT 2.2 New command
Pt-fingerprint
Install Percona Server in rpm package
Percona XtraDBIt is an enhanced version of the InnoDB Storage engine and is designed to better use and update the performance of computer hardware systems. It also contains some new features in high-performance environments. The XtraDB storage engine is completely backward compatible, so you can use XtraDB to replace the InnoDB Storage engine.
"Error:Rm:cannot remove '/tmp/localhost-mysql_cacti_stats.txt ': Operation not permittedWorkaround:Perform the following actions on the monitored server szlinux01[Email protected] ~]# rm-rf/tmp/localhost-mysql_cacti_stats.txt
[[email protected] ~]# touch/tmp/ Localhost-mysql_cacti_stats.txt
[[email protected] ~]# chown-r zabbix:zabbix/tmp/localhost-mysql_cacti_ Stats.txtThen test the fetch data on the Zabbix:[Email protected] ~]# zabbix_get-s 192.168.137.3-p 10050-k "mysql.max-connections"
[[ema
newer* Core Perl modules like Time: HiRes# Perl -- version | head-2 # Check the perl version# Bash -- version # Check the bash version
Quick installation steps (the process is omitted by default in the/usr/local/bin path)# Tar zxvf percona-toolkit-# Cd percona-toolkit-# Perl Makefile. PL (install perl Makefile. pl prefix =$ {HOME} in a non-default directory })# Make# Make test# Make install
3. Introductio
Salve
Pt-table-checksum
Verifying master-Slave Replication consistency
Pt-table-sync
Efficient synchronization of table data
System class
Pt-diskstats
View system disk Status
Pt-fifo-split
Simulate cutting files and outputting
Pt-summary
Collection and display System overview
Pt-stalk
Collect diagnostic data when a problem occurs
First, PMM Introduction
Second, PMM architecture analysis
Iii. Install and run PMM Server
Iv. installation and Operation PMM Client
Five, add MySQL monitoring
Vi. view monitoring and management platform
Seven, add MongoDB monitoring
Eight, instrument panel setup
Nine, frequently asked questions. First, PMM introduction
Percona Monitoring and Management (PMM) is an open source platform for managing and monitoring MySQL and MongoDB performance, with Thi
Tags: zabbix percona mysql linux monitoring Zabbix configurationSoftware version:Redhat6.9zabbix-3.4.7Percona mysql-5.7.20Preparatory work:Shut down the firewall, or add the appropriate port.Turn off SELinux———— (Install the following Zabbix dependency package) ————# # # #这里的包是我网上找的, please reply if necessary. #####RPM-IVH *.rpmfping-3.5-3.el6.x86_64.rpmiksemel-1.4-2_2.el6.x86_64.rpmiksemel-devel-1.4-2_2.el6.x86_64.rpmlibevent-devel-1.4.13-4.el6.x86_6
Install Percona Server using a binary tar package
Install Percona Server using a binary tar package
InstallingPercona ServerFrom a Binary Tarball1. Download the binary tar package
Take version 5.6 as an example. Go to the official website https://www.percona.com/downloads/percona-server-5.6/latest/and you can see the following:
# Select a specific
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.