Directory1. Overview2. Installation of Percona-tooldit Tools3. New User4, Pt-table-checksum use5, Pt-table-sync use6. Personal Summary1. OverviewIf you are an OPS person, if your production environment deploys a MySQL system, and if your online MySQL is based on a master-slave copy of the architecture, then congratulations, it will probably bring you the master-slave data Inconsistent "bad luck."Due to the
Install and configure the proxy tool Kingshard for MySQL,
Environment Description
This document serves only as the minimum lab environment, so master is not used. slave Mode. Use mysql_mutil on a single machine to run two mysql real columnsInitialize data directory
# mysql_install_db --datadir=/var/lib/mysql2/ --user=mysql
Environment description
This article is used only as the minimum experimental environment, and therefore does not use master, slave mode. Use Mysql_mutil to run two MySQL real columns on a single computerInitializing the Data directory
# mysql_install_db--datadir=/var/lib/mysql2/--user=mysql
# mysql_install_db--datadir=/var/lib/mysql3/--user= Mysql
First, Mysqlslap Introduction
Mysqlslap is a MySQL5.1 benchmark benchmarking tool, similar to the Apache Bench load generation tool, which generates schemas, loads data, executes Benckmark and queries data, is simple, flexible, and easy to use. The tool can simulate multiple clients concurrently to issue query updates
Build MySQL-based read-write separation tool Amoeba:The Amoeba tool is a tool to realize the MySQL database read/write separation, if it is based on MySQL master-slave replication;Lab environment (Virtual machine):Host role10.10.1
mysql| data
MySQL data import Export method and tool introduction (3-exporting data)
Methods of exporting data: Methods of exporting data
Translation statement:
This article is part of a book from Sam's Teach yourself MySQL in and by Mark Maslakowski
English original version ownership of the original author, the Chine
FALSE
Also, if you want to query how many slow query records you have, you can use system variables.Log Analysis Tool MysqldumpslowIn a production environment, if you want to manually analyze logs, find and analyze SQL, it is obviously a physical activity, MySQL provides log analysis tool Mysqldumpslow.View Mysqldumpslow's Help information:-S, wh
the account and password you want to define the database login. *************************************************************************************** Access denied for user ' root ' @ ' localhost ' (using Password:yes) Navicat Connection Database, if the above error occurs:
Close the MySQL database you are running now and close the MySQL server;
Enter the CMD command-line window, en
many other diagnostic tools, you can see through what the database is doing, and even know the performance load of any time zone in the last 30 days and what the database is doing.Although there are excellent monitoring tools like "zabbix,pmm" in MySQL, they can only reflect some performance data curves of database history, for example, TPS is high, temporary tables are used more, there are innodb deadlocks, but for
This blog post statement, especially suitable for the first application of the tool of the small white use, the reason to read it clear, OK, start!1, pre-preparation:Because MYSQL-ZRM this backup tool is a tool written in Perl, all you have to do is install some packages to provide the necessary environment for the
MySQL database backup tools are many, but here is a small and easy to use the Mysqldump tool, located in the database directory Bin/mysqldump.exe. These days with phpMyAdmin back up the database when there are garbled, Repeated in the local and remote DreamHost space to test the database, but still export the database will appear garbled, should be the problem of phpMyAdmin, the database itself is not a pro
BKJIA comprehensive report] Sun announced a major version update for the MySQL Enterprise subscription service. Sun has added a Query and analysis tool MySQL Query Analyzer for the MySQL Enterprise Edition to help track and analyze problem codes, solve performance problems and help users significantly increase the spee
As a database, MySQL is synonymous with ease of use. most database-driven web applications choose it as their own database. For this reason, MySQL is applied to many WEB servers. Although MySQL command line tool is indeed useful, it is sometimes time-consuming to complete the task, unless you are familiar with SQL synt
MySQL is a synonym for Easy-to-use databases, and most database-driven Web applications use MySQL as their preferred database, so MySQL is used on many Web servers. Although the MySQL command statement tool is useful, it can take a considerable amount of time to work if you
MySQL database command line tool MySQL includes a server process to manage the database, as well as a series of tools for accessing the database and creating applications: mysql: Execute SQL queries in MySQL, you can also execute SQL commands stored in files; mysqlaccess: Ma
PS: Today, a colleague asked me if I have a reliable mysql stress testing tool. In fact, mysql comes with a stress testing tool called mysqlslap, which is a good simulation. The following is an example. Mysqlslap is a stress testing tool officially provided by
One, the installation of MySQL server1, the MySQL official website downloads the file package; "I am using the version: Mysql_5.7.17"2, decompression zip compression package;3. Install: Command line:d:\soft\mysql-5.7.17-winx64\bin> mysqld Install " Note: Open cmd as Administrator"Add: How do I open cmd with an administrator?Action: 1) Open the following path: C:\
Tags: including verbose no binlog long second getting write betweenSummary: Masterha_master_switch is integrated as a switch tool in the MHA package, Install: After compiling and installing MHA Manager, binary executable program Masterha_master_switch will be generated in/usr/local/bin/. Use: $masterha_master_switch --help
Usage:
# For master failover
masterha_master_switch --master_state=dead
--global_conf=/etc/masterha_default.cnf
-
Use of MySQL Log and mysqlbinlog Tool
View log-related global variables:Mysql> show global variables like '% log %'
Modify related variables:1. For a function, use set global xxx = xxx.2. For file operations, you can only modify the configuration file, add the content to the configuration file, and restart the service to take effect.
Error Log:Record Content:Information generated by server startup and Shutd
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 limite
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.