The slow query log of mysql database is a very important auxiliary log for tuning. However, the log format recorded by mysql by default is not friendly enough to read. This is determined by the mysql Logging rules, capture one log. Although the recorded information is detailed enough, reading slow query logs generated by mysq
strange, because it uses in the MySQL source code on the way to build the installation of the patch.
2. Installation:
wget http://www.percona.com/downloads/XtraBackup/XtraBackup-1.4/Linux/binary/i686/
Tar zxf xtrabackup-1.4.tar.gz
CD xtrabackup-1.4
./configure
Make
When you do this, do not make install, then you will install MySQL, the correct way is:
CD innobase/xtrabackup/
Make
Make install
In
MySQLStudy-MySQL tool mysqlshowmmysqlshow customers can quickly find which databases exist, tables in the database, columns in the table or cable mysqlshow provides a command line interface for some SQL display statements
MySQL Study-MySQL tool mysqlshowMmysqlshow c
-xtrabackup-24 ########################################### [100%] Note: percona-xtrabackup-24 version MySQL5.7 or above percona-xtrabackup-2.1.5 suitable for MySQL5.6 2, actual combat drills192.168.1.242 on-line main library backup data, copy to test environment 192.168.3.86 use a, copy all the data to 3,86b, 3.86 installation MySQL5.6.15, and normal start C, Install Backup tool percona-xtrabackup-2.1.5 version d, delete all databases, import data
Label:MySQL must master the tools Pt-query-digest Ancient Cloud: 工欲善其事, its prerequisite. As a good MySQL DBA also needs to have a few useful MySQL management tools, so I have been sorting and looking for some easy to manage MySQL tool. Over the next period of time, you will spend a large part of your energy searching
Mysqlslap is an official MySQL-provided stress testing tool starting with version 5.1.4. Perform stress testing by simulating multiple concurrent client access to MySQL while providing detailed data performance reports for "High load attack MySQL". And can be a good comparison of multiple storage engine in the same env
MySQL starts with a 5.1.4 release with a stress test tool Mysqlslap, which is very simple to use to simulate multiple concurrent clients accessing MySQL to perform the test. Available options can be obtained through mysqlslap–help, with some of the main parameters listed here, and a more detailed description of the official manual.
Copy Code code as follows
MySQL data export and import tool: mysqldump
MySQL mysqldump is used for export. The basic usage is as follows:
Shell> mysqldump [OPTIONS] database [tables]
If you do not specify any tables, the entire database will be exported.
Run mysqldump -- help to obtain the option table supported by your mysqldump version.
Note: If you run mysqldump without the -- quick
This article from: OHaHa learning experience [ohaha.ks.edu.tw] Author: blue bubble (panda@ks.edu.tw) Preface: The so-called phpMyAdmin is simply a MySQL management tool. Through this program, you can directly manage MySQL from the web without running it on the system. Installation steps: 1. obtain the file ftp: ohaha.ks.edu. twpubsource phpmyadminmysql management
Xtrabackup is an open-source project of percona (mysqlperformanceblog) to implement functions similar to innodb's official Hot Backup Tool InnoDBHotBackup. But in fact, Xtrabackup also provides additional functions (but there are also unimplemented functions ). Xtrabackup contains two tools: xtrabackup
Xtrabackup is an open-source project of percona (mysqlperformanceblog) to implement functions similar to innodb's official Hot Backup
PhpMyAdmin is a PHP-based MySQL database management tool based on the Web-Base architecture on the website host. Allows you to manage the entire MySQL server.
PhpMyAdmin is a PHP-based MySQL database management tool based on the Web-Base architecture on the website host. All
MySQL performance profiling tool (pt-query-digest)
This tool is also from percona-toolkitOther tools in this tool setTroubleshooting of abnormal shutdown of MySQL Slave (pt-slave-restart)Verify MySQL master-slave consistency (pt-t
Label:Innotop is a very powerful MySQL monitoring tool, written in Perl, showing the health of MySQL servers and InnoDB in text mode. Installing Innotop : Https://github.com/innotop/innotop There are two versions available on GitHub, one for the development version (Innotop-master) and one for the stable version (Innotop-gtid). Here, we are using the development
with RFC 1738??? The line code will generate a lot of%, while the% in MySQL is a wildcard character. Here is the PHP code used in the coding process$data = Str_fc ($data); Chinese participle$data = Array_filter (Explode ("", $data)); Delete an array of empty items$data = Array_flip (Array_flip ($data)); Delete duplicate itemsUrlcode encoding of participle resultsforeach ($data as $ss) {if (strlen ($SS) >1)$data _code. = Str_replace ("%", "", UrlEncod
Label:To export the Mysqldump tool to use MySQL, the basic usage is: shell> mysqldump [OPTIONS] database [tables] If you do not give any tables, the entire database will be exported.By executing mysqldump--help, you can get a list of options supported by your mysqldump version.Note that if you run mysqldump without the--quick or--opt option, mysqldump will load the entire result set into memory before expor
original time. However, if you have MySQL Data, you can import a large amount of data into Hive. If you have hundreds of millions of data records plus complex SQL query conditions, it is a headache for MySQL, at this time, it is relatively easy for Hive, but there is no communication bridge between the two.
Alibaba's great cloud computing company cloudera.com is also a powerful supporter of Hadoop. Sqoop
Export the Mysqldump tool that you want to use with MySQL, basic usage: Shell> mysqldump [OPTIONS] database [tables] If you do not give any tables, the entire database will be exported. By executing mysqldump--help, you can get the options table supported by your mysqldump version. Note that if you run mysqldump without--quick or--opt option, mysqldump will load the entire result set into memory before expo
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.