MySQL主从复制、基于SSL的主从复制、主主复制、半同步复制
Jun 07, 2016 pm 05:13 PM主从复制指有一台器做为主服务器,一台或多台服务器做为从服务器。从服务器不写入任何数据,数据的来源是主服务器。复制的目的是
从服务器可以不用关闭二进制日志,也可以不用开户中继日志,因为服务器会自动帮你开户或关闭。不关闭二进制日志,从主服务器复制过来的SQL语句,执行的时候,也不会被记录到二进制日志,只有在本机执行的SQL语句,,才会被记录到二进制日志。中继日志默认存放在数据目录下,文件名为 主机名.relay-00000N。如果想保存到其它位置,可以在配置文件里面进行指定。

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Data backup and failure recovery: Discussion on the importance of MySQL master-slave replication in cluster mode

Decrypting MySQL master-slave replication: revealing its key implementation mechanism in cluster mode

Cope with high concurrency with ease: Analysis of the performance advantages of MySQL master-slave replication as a cluster technology

Optimizing database performance: The best way to use MySQL master-slave replication in cluster technology

Is MySQL master-slave replication a cluster technology or a load balancing technology? Analysis and difference

Detailed explanation of the functions and advantages of MySQL master-slave replication in cluster technology

Understand the cluster features and non-load balancing application scenarios of MySQL master-slave replication

Uncovering the potential of cluster technology in MySQL master-slave replication: Comparative evaluation of open source solutions and commercial solutions
