This article describes how to query logs and slow query logs in MySQL. It also describes how to use the Mysqldumpslow log analysis tool that comes with MySQL. For more information, see
I. query logs
Query all the queries in MySQL by using "-- log [=
MySQL parameter binlog-do-db affects binlogs writing, mysqlbinlogdodb1. Environment Description
Objective: When binlog-do-db is set in the database, the impact on binlog write under different binlog_format = statement | row | mixed may be poor in
1. Environmental descriptionPurpose: When BINLOG-DO-DB is set in the database, it is in a different binlog_format=statement | Row | Mixed under the binlog of the write effect, this in the master-slave replication will have some pits, because the
Impact of MySQL parameter binlog-do-db on binlogs writing1. Environment Description
Objective: When binlog-do-db is set in the database, the impact on binlog write under different binlog_format = statement | row | mixed may be poor in master-slave
A basic tutorial on querying logs and slow query logs in MySQL,
I. query logs
Query all the queries in MySQL by using "-- log [= file_name. Because all the queries, including all the select statements, are recorded, and the size is relatively large,
1. purpose of environment description: when binlog-do-db is set in the database, the impact of binlog_formatstatement | row | mixed on binlog writing is different, this may cause some pitfalls in master-slave replication. because the binlog write is
Implementation principle of DB database horizontal segmentation-Database Sharding, table sharding, master/slave, cluster, and server load balancer bitsCN.com
Chapter 2 Introduction
With the popularization of Internet applications, the storage and
As an embedded database system with a long history, berkeleydb is mainly used in Unix/Linux operating systems. Its design philosophy is simple, compact, reliable, and high-performance. This article is an entry-level guide for DB development. It
Role of the master and slave:
1. It can be used as a backup method.
2. read/write splitting to relieve the pressure on a database
MySQL master-slave backup principle:
Mysql master-slave replication requires at least two Mysql services. Of course,
Install various services in Linux (III)-MySQLMySQL master-slave backup bitsCN.com
!! Assume that all installation packages are in the/share Directory. the installation directory is/opt !!
$ Ll/share-Rw-r -- 1 root 129041873 Nov 29 mysql-5.1.54-linux-
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:
and provide relevant evidence. A staff member will contact you within 5 working days.