Home Database Mysql Tutorial MySQL主从复制、基于SSL的主从复制、主主复制、半同步复制

MySQL主从复制、基于SSL的主从复制、主主复制、半同步复制

Jun 07, 2016 pm 05:13 PM
mysql master-slave replication

主从复制指有一台器做为主服务器,一台或多台服务器做为从服务器。从服务器不写入任何数据,数据的来源是主服务器。复制的目的是

从服务器可以不用关闭二进制日志,也可以不用开户中继日志,因为服务器会自动帮你开户或关闭。不关闭二进制日志,从主服务器复制过来的SQL语句,执行的时候,也不会被记录到二进制日志,只有在本机执行的SQL语句,,才会被记录到二进制日志。中继日志默认存放在数据目录下,文件名为 主机名.relay-00000N。如果想保存到其它位置,可以在配置文件里面进行指定。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Data backup and failure recovery: Discussion on the importance of MySQL master-slave replication in cluster mode Data backup and failure recovery: Discussion on the importance of MySQL master-slave replication in cluster mode Sep 08, 2023 am 09:03 AM

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 Decrypting MySQL master-slave replication: revealing its key implementation mechanism in cluster mode Sep 10, 2023 am 09:28 AM

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 Cope with high concurrency with ease: Analysis of the performance advantages of MySQL master-slave replication as a cluster technology Sep 10, 2023 pm 03:48 PM

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 Optimizing database performance: The best way to use MySQL master-slave replication in cluster technology Sep 10, 2023 am 08:24 AM

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 Is MySQL master-slave replication a cluster technology or a load balancing technology? Analysis and difference Sep 10, 2023 am 08:40 AM

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 Detailed explanation of the functions and advantages of MySQL master-slave replication in cluster technology Sep 09, 2023 am 09:03 AM

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 Understand the cluster features and non-load balancing application scenarios of MySQL master-slave replication Sep 11, 2023 am 11:04 AM

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 Uncovering the potential of cluster technology in MySQL master-slave replication: Comparative evaluation of open source solutions and commercial solutions Sep 08, 2023 pm 07:16 PM

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

See all articles