Home > Database > SQL > What does database read-write separation mean?

What does database read-write separation mean?

hzc
Release: 2020-06-29 13:24:15
Original
8426 people have browsed it

The separation of database read and write means to ensure the stability of database products. Many databases have dual-machine hot backup functions. That is to say, the first database server is a production server that provides external addition, deletion, and modification services; the second database server mainly performs read operations.

What does database read-write separation mean?

 Read-write separationIn order to ensure the stability of database products, many databases have dual-machine hot backup functions. That is to say, the first database server is a production server that provides external addition, deletion, and modification services; the second database server mainly performs read operations. ·

 Principle:

Let the master database (master) handle transactional add, modify, and delete operations (INSERT, UPDATE, DELETE), and the slave database (slave) Handle SELECT query operations.

Implementation method:

Through RAID technology, RAID is the abbreviation of English Redundant Array of Independent Disks. When translated into Chinese, it means "Redundant Array of Independent Disks". Sometimes Also referred to as Disk Array.

Simply put, RAID is a method of combining multiple independent hard disks (physical hard disks) in different ways to form a hard disk group (logical hard disk), thereby providing higher storage performance and performance than a single hard disk. Provide data backup technology.

The above is the detailed content of What does database read-write separation mean?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template