当前位置:网站首页>database mirroring
database mirroring
2022-07-05 21:58:00 【Short section senior】
Medium fault is one of the most serious faults affecting the system , Seriously affect the availability of the database
Media failure recovery is time-consuming
To prevent media failure , The database administrator must dump the database periodically
Solutions to improve database availability
database mirroring (Mirror)
database mirroring
The database management system automatically copies the whole database or the key data in it to another disk
The database management system automatically ensures the consistency between the mirrored data and the master data whenever the master database is updated , The database management system automatically copies the updated data
In case of media failure
It can be used by the mirror disk
At the same time, the database management system automatically uses the mirrored disk data to restore the database
There is no need to shut down the system and reinstall the database copy
When there is no fault
Can be used for concurrent operations
A user adds an exclusive lock to the data and modifies the data , Other users can read the data on the mirror database , Instead of waiting for the user to release the lock
Copying data frequently will naturally reduce the system operation efficiency
In practical applications, users often only choose to mirror key data and log files
Instead of mirroring the entire database
Summary of database recovery technology
Concept and nature of transactions
A transaction is the logical unit of work of a database
The database management system ensures the atomicity of all transactions in the system 、 Uniformity 、 Isolation and continuity , This ensures that transactions are in a consistent state
Type of fault
Transaction failure
System failure
Media failure
The most frequently used technology in recovery
Database dump
Register log files
The fundamentals of recovery
Use the backup copy stored in 、 Log files and redundant data in the database image to rebuild the database
Business
It is not only the basic unit of recovery
It is also the basic unit of concurrency control
Welcome to join me for wechat exchange and discussion ( Please note csdn Add )
边栏推荐
- How to use tensorflow2 for cat and dog classification and recognition
- Create a virtual machine on VMware (system not installed)
- 如何向mongoDB中添加新的字段附代码(全)
- Shell script, awk uses if, for process control
- HDU 4391 Paint The Wall 段树(水
- 使用Aspect制作全局异常处理类
- Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
- 递归查询多级菜单数据
- HYSBZ 2243 染色 (树链拆分)
- Oracle checkpoint queue - Analysis of the principle of instance crash recovery
猜你喜欢
Yolov5 training custom data set (pycharm ultra detailed version)
Parker driver maintenance COMPAX controller maintenance cpx0200h
DBeaver同时执行多条insert into报错处理
Create a virtual machine on VMware (system not installed)
Alibaba cloud award winning experience: build a highly available system with polardb-x
Reptile practice
MySQL disconnection reports an error MySQL ldb_ exceptions. OperationalError 4031, The client was disconnected by the server
Decorator learning 01
Dbeaver executes multiple insert into error processing at the same time
EBS Oracle 11g 克隆步骤(单节点)
随机推荐
Interview questions for basic software testing
从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
1.2 download and installation of the help software rstudio
How can Huawei online match improve the success rate of player matching
SecureCRT使用提示
Ad637 notes d'utilisation
ESP32
让开发效率提升的跨端方案
The real situation of programmers
EL与JSTL注意事项汇总
Exercise 1 simple training of R language drawing
Cold violence -- another perspective of objective function setting
854. String BFS with similarity K
Experienced inductance manufacturers tell you what makes the inductance noisy. Inductance noise is a common inductance fault. If the used inductance makes noise, you don't have to worry. You just need
Xlrd common operations
Dbeaver executes multiple insert into error processing at the same time
递归查询多级菜单数据
PIP install beatifulsoup4 installation failed
Analysis and test of ModbusRTU communication protocol
MMAP