当前位置:网站首页>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 )
边栏推荐
- Problems encountered in office--
- Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
- xlrd常见操作
- Huawei game multimedia service calls the method of shielding the voice of the specified player, and the error code 3010 is returned
- 资深电感厂家告诉你电感什么情况会有噪音电感噪音是比较常见的一种电感故障情况,如果使用的电感出现了噪音大家也不用着急,只需要准确查找分析出什么何原因,其实还是有具体的方法来解决的。作为一家拥有18年品牌
- 854. String BFS with similarity K
- PIP install beatifulsoup4 installation failed
- Poj3414 extensive search
- Official clarification statement of Jihu company
- Drawing HSV color wheel with MATLAB
猜你喜欢

AD637 usage notes

1.2 download and installation of the help software rstudio
![[Yugong series] go teaching course 003-ide installation and basic use in July 2022](/img/9d/7d01bc1daa61f6545f619b6746f8bb.png)
[Yugong series] go teaching course 003-ide installation and basic use in July 2022

ICMP introduction

Defect detection - Halcon surface scratch detection

从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析

Installation of VMware Workstation

Analysis and test of ModbusRTU communication protocol

K210学习笔记(四) K210同时运行多个模型

Kingbasees v8r3 cluster maintenance case -- online addition of standby database management node
随机推荐
Huawei cloud modelarts text classification - takeout comments
Evolution of large website architecture and knowledge system
Poj3414 extensive search
poj 3237 Tree(樹鏈拆分)
Li Kou ----- the maximum profit of operating Ferris wheel
办公遇到的问题--
NET中小型企业项目开发框架系列(一个)
Codeforces 12D ball tree array simulation 3 sorting elements
【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用
R language learning notes
总结出现2xx、3xx、4xx、5xx状态码的原因
Yolov5 training custom data set (pycharm ultra detailed version)
Shell script, awk uses if, for process control
Getting started with microservices (resttemplate, Eureka, Nacos, feign, gateway)
How to organize an actual attack and defense drill
Matlab | app designer · I used Matlab to make a real-time editor of latex formula
装饰器学习01
怎么利用Tensorflow2进行猫狗分类识别
Efficiency difference between row first and column first traversal of mat data types in opencv
Alibaba cloud award winning experience: build a highly available system with polardb-x