Discover mysql replication slow catch up, include the articles, news, trends, analysis and practical advice about mysql replication slow catch up on alibabacloud.com
Half-tone data scientists are going to toss data, get a look at the data, 3.6G zip file, unzip to see, 12 g of SQL file in a slot. Okay, I'm going to toss the SQL data again. First thing, it must be a database, import data.Toss over the SQL import
This article mainly introduces the basic tutorial for solving the Slave latency problem in MySQL. The article provides some specific solutions for different situations. For more information, see
I. cause analysisGenerally, slave has a large latency
? Slave_io_stateA copy of the state field of the SHOW processlist output. SHOW processlist is used for slave I/O threads. This statement notifies you if a thread is trying to connect to the primary server, is waiting for the time to come to the host
Basic tutorial on solving the Slave latency problem in MySQL, mysqlslave
I. Cause AnalysisGenerally, slave has a large latency compared to the master. The root cause is that the replication thread on the slave cannot truly achieve concurrency.
Peter Zaitsev Source: www. mysqlperformanceblog. com20060821using-lvm-for-mysql-backup-and-replication-setup Translator: ye Jinrong (Email: IfsomeoneasksmeaboutMySQLBackupadvicemyfirstquestionwouldbeiftheyhaveL
Peter Zaitsev Source:
Select an appropriate backup method for MySQL
Backing up a MySQL database is extremely important. If there is no backup, the system will go crazy in the following situations:UPDATE or DELETE whitout where... Table was DROPPed accidentally... INNODB
Database Backup is extremely important. If there is no backup, you will be crazy in the following situations: UPDATEorDELETEwhitoutwhere & hellip; tablewasDROPPedaccidentally & hellip; INNODBwascorrupt & hellip; entiredatacenterlosespower & helli
Life-long learning, the old boy education to achieve your starting point!Believe that you believe in the old boy!!!old boy -51cto- Open Class - Large web site MySQL Deep Optimization Secrets Part of the arrangement has not followed the sorry?
Directory
One, get the total number of processes under MySQL user
Second, host performance status
Third, CPU utilization
Four, disk IO volume
Five, swap volume [memory]
VI, Database performance status
Seven, QueryLog
What do we need to back up?
In general, the data that we need to back up is divided into the following
Data
Binary log, InnoDB transaction log
Code (stored procedures, stored functions, triggers, event schedulers)
Server
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.