MySQL backup tool-mysqlhotcopy
Mysqlhotcopy uses lock tables, flush tables and cp or scp to quickly back up the database. it is the fastest way to back up a database or a single table. It is a physical backup, but it can only be used to back up the MyISAM storage engine and run on the machine where the database directory is located. different from mysqldump backup, mysqldump is a logical backup that runs SQ
Use the mysql-utilities tool to experience bitsCN.com
Mysql-utilities tool experience
I mainly tried several REPLICATION tools.
Let's talk about my environment:
MASTER: 192.168.1.131
SLAVE: 192.168.1.132, 192.168.1.133
ALL three databases have ALL external users.
The configuration files are as follows,
[SQL]
[Root
MySQL itself provides command line export tool mysqldump and MySQL source Import command for SQL data import and export work, through the MySQL command line export tool mysqldump command to export
queries) (as long as you interact with MySQL, regardless of the query table, or the query server status is recorded once)Slow queries: Is the number of slow queriesOpens: Number of database tables that have been openedFlush Tables:mysql The number of flush Tables,refresh and reload commands that have been executedNote: Fflush table: Refresh tables (Clear Cache)Reload: Overloaded Authorization tableRefresh: Erase all tables and close and open log file
Tools for batch monitoring of the MySQLdb layer in Linux are relatively scarce, and SSISDIY is used. use the SSIS package to read the configuration table information to monitor MySQL. Then, send an email to DBA1 to sort out a global information table, including ip addresses and monitoring dimensions. the table creation statement is as follows: CREAT monitoring tool mysq
Tags: mysqlMySQL Study--mysql management tool SQLyogSQLyog is an easy-to-use, fast and concise tool for graphically managing MySQL databases, and it is able to manage your database efficiently from any location!The SQLyog Database Synchronization Wizard will guide you through the d
Tags: mysqlMySQL Study--mysql Stress test tool Mysqlslap I. Introduction of MYSQLSLAP NBSP;NBSP;MYSQLSLAP is a benchmark benchmark tool that comes with MySQL5.1, similar to Apache bench load generation tools, generates schemas, loads data, executes Benckmark and queries data
During PHP website development, Mysql database backup or database migration is often encountered. At this time, it is critical to import and export data from the database, mysql provides the command line export tool Mysqldump and Mysql Source import commands for SQL
Use the mysqlbinlog tool to recover data based on location or time point.
Use mysqlbinlog to restore data based on location or time pointMySQL backup generally uses full backup and log backup. For example, a full backup is performed every day and a binary log backup is performed every hour. In this way, you can use full backup and log backup to recover
input statement.mysql> show databases;+--------------------+| Database |+--------------------+| Information_schema || MySQL || Performance_schema || Test |+--------------------+4 rows in Set (0.00 sec)[[email protected] ~]# cp-arp/opt/tong/var/lib/mysql/--Move the backed up data to the MySQL
This script is a tool that uses Perl to generate excelxls files. Depending on some modules, you can use it in linux to generate xls files. The command line + parameter is used. Very convenient. #! Usrbinperl # mysqltoexcel # lastmodifyat2005-1-5 # copyrightbyhoowa # mysql management tools
This script uses Perl to generate excel xls files. Depending on some modules, you can use it in linux to generate xls fi
Tags: mysql, data recovery, deletefirst of all, Please note the scope of this tool:1) The recovery tool for this application is only available with the InnoDB storage engine, MyISAM does not support2) Truncate Tabe cannot be restored3) Drop table, don't even think about it.Recovery principle:For the InnoDB storage engi
Detailed description of MySQL Benchmark Test and sysbench tool, Benchmark Test sysbenchPreface
As a background developer, it is necessary to benchmark the database to understand the database performance. This article introduces the basic concepts of MySQL benchmark and detailed methods for using sysbench to benchmark MySQL
Data dictionary generation tool journey (1): helpful for Generating tools
Recently, we found a very low efficiency when doing our company's demand. When creating a table, we need to use our own modeling tools to create a table, copying and pasting a field is unacceptable. So I developed a tool to solve this inefficien
MySQL stress testing tool bitsCN.com
MySQL stress testing tool mysqlslap -- create-schema = example -- query = "SELECT * FROM group_message force index (group_message_author_subject) WHERE author = '3' subject LIKE 'weiurazs % '"-- iterations = 10000 the Test table needs to be generated during the test process and the
assumption that the average value is the best predictor can be avoided, and the simple linear model can be assured that the data is well matched. (For more information on calculating the probability of T statistics, see part 1th.) )
Go back and discuss the statistical decision-making process. It tells you when not to take an invalid hypothesis, but does not tell you whether to accept the optional hypothesis. In the research environment, it is necess
成一个时间文件夹, if this is 2012-7-20_15-57-44.Then, Xtrabackup does an incremental backup:
INNOBACKUPEX-1.5.1--DEFAULTS-FILE=/ETC/MY.CNF--incremental--incremental-basedir=/www/backup/full/2012-7-20_ 15-57-44//WWW/BACKUP/INC/1
Recovery:First stop the database, back up the binary log (if any), and then delete all the database files under the database directory.Cd/www/mysqldataRM-RF * # Delete all files in the data directoryRestore full-scale bac
/8493658Tcpdump: Grab Bag toolReference: http://www.cnblogs.com/ggjucheng/archive/2012/01/14/2322659.htmlPerf: Starting from the 2.6.31 kernel, the Linux kernel has its own performance analysis tool perf, which can be used for the function-level and instruction-level hotspot lookup for software performance analysis.Pt-stalk: Collect MySQL data for diagnostics whe
MySQL's first backup tool mysqldump, we have talked to you in the last article, if you still have doubts, please click MysqldumpMySQL's second backup tool LVM snapshot, so today we'll talk about it. LVM Snapshot Volume Win BeiMysqldump is able to implement hot standby for InnoDB storage engine, but it can't implement hot standby for MyISAM engine;And today we're going to introduce LVM to achieve almost hot
| NULL | Select A.* from article as a INNER join (select A.aid from article as a INNER join (select CID from || 3226 | Root | % | T_girl | Query | 0 | NULL | Select A.* from article as a INNER join (select A.aid from article as a INNER join (select CID from |+------+------+--------------------+--------------------+---------+-------+--------------------+--------------- ---------------------------------------------------------------------------------------+Rows in Set (0.00 sec)
The test stateme
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.